appX

szm's notes/repo/blog on learning Salesforce CRM/dev, objective-C, and anything else.

Getting fancyBox to Play Nice With Octopress

fancyBox working in an Octopress-powered blog:

This can be used as a general guide to installing any javascript/jQuery plugin for use with Octopress. There are a few key steps in getting any of these to work:

  • First, install all plugin files into appropriate director(ies). Create a test.html in the root and test that the script functions.

Site Is Up!

Used Jekyll and Octopress (an easy-to-use blogging framework for Jekyll) with RVM Ruby 1.9.2 on Fedora 16 virtual machine (VirtualBox) as my static site-generating engine. Once generated, I just uploaded it to Amazon S3 (used DragonDisk, but many other freeware S3 browsers are available).

Octopress has excellent documentation on how to install it (followed the RVM method), but I ran into an issue when I tried to run gem installer bundler. I got

1
2
ERROR: Loading command: install (LoadError) no such file to load -- zlib 
ERROR: While executing gem ... (NameError)

as well as the same error about openssl when I tried to do rake preview. The fix for both of these issues was to do