Setting rubygems under ubuntu hardy


/ Published in: Bash
Save to your folder(s)

A bash script which installs rubygems under ubuntu hardy.


Copy this code and paste it in your HTML
  1. sudo apt-get install ruby ruby1.8-examples rdoc ri libruby-extras rubygems
  2.  
  3. sudo ruby -i.bak \
  4. -lne 'print "require \047rubygems/gem_runner\047" \
  5. if /^require /; print' /usr/bin/gem
  6.  
  7. sudo gem update --system

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.