InstallRuby
Back to InstallingAboutUsOnLinux
Ruby
cd /www/source/ wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p22.tar.bz2 tar jxvf ./ruby-1.8.7-p22.tar.bz2 cd ruby-1.8.7-p22/ ./configure --prefix=/www make make install-all
- installing 32 bit on 64 bit platform
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p173.tar.gz ./configure --host=i686-pc-linux-gnu --prefix=/www --enable-pthread make make install-all
Ruby Gems
wget --no-check-certificate https://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgz tar xvfz ./rubygems-1.0.1.tgz cd rubygems-1.0.1 ruby setup.rb echo "export PATH=/www/bin:$PATH" >>~/.bashrc gem install rake gem install rails gem install rcov gem install hpricot gem install memcache-client gem install json gem install flexmock gem install amatch gem install mechanize gem install net-ssh gem install ZenTest gem install mongrel gem install diff-lcs gem install image_science gem install gd2
