Posted By

narkisr on 05/27/08


Tagged

Bash ubuntu hardy


Versions (?)

Setting rubygems under ubuntu hardy


 / Published in: Bash
 

A bash script which installs rubygems under ubuntu hardy.

  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  

You need to login to post a comment.