Monday, June 21, 2010

Installing RubyGems on a Mac

What is RubyGems ?

RubyGems is a utility for managing the additions to the Ruby programming language that other people have developed and made available as free downloads.

Try following commands to install rubygems :

$ curl -L \

http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz \

| tar xz

$ cd rubygems-0.9.0

$ sudo ruby setup.rb

$ cd ..

===================================================================

Now we have installed rubygems to check whether it is working, have
following command :

$ gem -v

The output should identify the version of RubyGems that you installed.

~ Good luck ~

No comments:

Post a Comment