Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Yak Shaving for Running Jekyll on CentOS 5.7
yum install rdoc ri zlib zlib-devel
yum install ruby-devel
tar -zxvf rubygems-1.3.5.tgz
cd rubygems-1.3.5
ruby setup.rb
gem install jekyll
Results in:
ERROR: Error installing jekyll:
liquid requires RubyGems version >= 1.3.7
gem update --system
Results in:
Updating RubyGems
Updating rubygems-update
ERROR: Error installing rubygems-update:
rubygems-update requires Ruby version >= 1.8.7
ERROR: While executing gem ... (NoMethodError)
undefined method `version' for nil:NilClass
Suggestion: install Ruby 1.8.7
Results in:
Ruby installed in /usr/bin/ruby and /usr/local/bin/ruby
cd /usr/bin
mv ruby ruby-1.8.5
ln /usr/local/bin/ruby .
gem update --system
gem install jekyll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.