Ay mate! I recently decided to start blogging about code with octopress as my blogging engine. This blog will focus on documenting my coding ventures. I’ve encountered other file based cms(content management systems) such as kirby and stacey (which run on PHP as opposed to Ruby), but ultimately decided to work with octopress because this framework is designed for Jekyll, the blog aware static site generator that powers Github Pages (so this site can be hosted on github). As an added bonus working with octopress provides beginners a good opportunity to tinker around in a Ruby environment.
Installing octopress on my local machine Ubuntu 11.10 (Oneiric Ocelot) was met with some setbacks which I resolved as describe below:
At the time of installing octopress,a prerequistie for installation was Ruby 1.9.3. I used rvm(Ruby Version Manager) as a utility to download the ruby binary. Unfortunately my installiation failed when running rvm install 1.9.3, so I re-ran the installation command in debug mode to print out additional output to locate the source of this issue.
1 2 3 4 5 6 7 8
It turned out the public release 392(p392) binary file for 32-bit Ubuntu 11.10 could not be located from the various urls referenced by rvm and I couldn’t locate the binaries via a Google search either.
After browsing around I also tried a solution that uses ruby-rvm, but also discovered that Ubuntu warps ruby-rvm.
I ended install the head of ruby-1.9.3 and also ruby-2.0.0. So far I have been running octopress on ruby-2.0.0 and have not encountered any issues.
After downloading the 1.9.3-head and 2.0.0 binaries, I had issues running bundle install (which installs dependencies specified in my Gemfile). The error reported the bundler itself not being installed even though I installed it in the previous command. It turned out that my bundler was installed to a specific gemset and once I installed the bundler to the global gemset, bundle install could be executed.
1 2 3 4 5