tobyaw: (Default)
Toby Atkin-Wright ([personal profile] tobyaw) wrote2007-08-24 05:36 pm

Installing ruby, gem, rails, mongrel on Solaris 10

Install the Sun developer tools, and install curl. Then to install ruby:
$ curl -O ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6.tar.gz
$ gunzip ruby-1.8.6.tar.gz
$ tar -xf ruby-1.8.6.tar
$ cd ruby-1.8.6
$ ./configure --without-gcc
$ make
$ su
# PATH=$PATH:/usr/ccs/bin
# export PATH
# make install
# make install-doc


To install gem:
$ curl -O http://rubyforge.rubyuser.de/rubygems/rubygems-0.9.4.tgz
$ gunzip rubygems-0.9.4.tgz
$ tar -xf rubygems-0.9.4.tar
$ cd rubygems-0.9.4
$ su
# PATH=$PATH:/usr/local/bin
# export PATH
# ruby setup.rb


Then to install rails, mongrel etc.:
# gem install rails
# gem install mongrel


(If a gem complains about being unable to build a native extension, try doing PATH=$PATH:/usr/local/bin; export PATH first.)

useful

[identity profile] jackciabatta.livejournal.com 2007-09-13 08:13 am (UTC)(link)
very useful mini-howto. thank you

[identity profile] virgie hudgins (from livejournal.com) 2016-06-10 01:08 am (UTC)(link)
I totally agree with the all questions you raised. I need help with this too! Filling out forms is super easy with PDFfiller. Try it on your own here NY JA-1 and you'll make sure how it's simple. http://pdf.ac/25lV7u