Ruby on Rails and rubygems install on CentOS
Ruby on Rails install on CentOS
Once you have the development tools package installed. You can go ahead and install Ruby on Rails. The main ruby packages and dependencies will be installed using the ‘yum’ package manager, but rubygems will be installed from source. Rubygems is not readily available through the repositories in yum.
Install ruby.
Main Ruby on Rails packages can be installed using the below method.
Once done, we can have a look at the Ruby version.
ruby 1.8.8dev (2010-02-11) [i686-linux]
Installing rubygems for Rails installation.
Download from: http://rubyforge.org/projects/rubygems/
Now unpack it and move into the newly created folder.
Now we can go through the simple process of compiling it:
Once done, we can check the gem version with a:
1.3.7
NOTE:
http://rubygems.org is now the default source for downloading gems.
* `gem install` and `gem fetch` now report alternate platforms when a matching one couldn’t be found.
One Response to “Ruby on Rails and rubygems install on CentOS”
Leave a Reply
You must be logged in to post a comment.
3instances…
…