Ruby on Rails
RailsOnSolaris (Version #4)

This is how I install Ruby and Rails from the scratch on a Solaris X on x86 platform.

First download last Ruby archive, for example from : RubyForge

Gunzip and untar the archive
Then launch configure, using the—prefix directive if you need it:
NOTE: I had to use gmake because the command make doesn’t exist.


./configure—prefix=installpath_
gmake
gmake test
gmake install

Then installation of RubyGems

You can download the last archive from RubyForge

Gunzip, untar.
One advice : you should use a proper directory for Gems. So that when Ruby version change, you don’t have to reinstall gems also.

Then install Gems using :

ruby setup.rb

Now install Rails using Gems

gem update
gem install rails

Answer Y to all dependencies question : all packages will be well install. Or use the —include-dependencies directive to allow Gems to automatically install all dependent packages.

This is how I install Ruby and Rails from the scratch on a Solaris X on x86 platform.

First download last Ruby archive, for example from : RubyForge

Gunzip and untar the archive
Then launch configure, using the—prefix directive if you need it:
NOTE: I had to use gmake because the command make doesn’t exist.


./configure—prefix=installpath_
gmake
gmake test
gmake install

Then installation of RubyGems

You can download the last archive from RubyForge

Gunzip, untar.
One advice : you should use a proper directory for Gems. So that when Ruby version change, you don’t have to reinstall gems also.

Then install Gems using :

ruby setup.rb

Now install Rails using Gems

gem update
gem install rails

Answer Y to all dependencies question : all packages will be well install. Or use the —include-dependencies directive to allow Gems to automatically install all dependent packages.