Log in

No account? Create an account
Previous Entry Share Next Entry
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.)

  • 1
very useful mini-howto. thank you

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

  • 1