Skip to content

Instantly share code, notes, and snippets.

@krishnakummar
Created October 31, 2013 09:10
Show Gist options
  • Save krishnakummar/7246580 to your computer and use it in GitHub Desktop.
Save krishnakummar/7246580 to your computer and use it in GitHub Desktop.
ruby 2.0 and rails 4.0 installation
wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
tar -xzvf ruby-2.0.0-p247.tar.gz
cd ruby-2.0.0-p247
autoconf
./configure --program-suffix=19 --enable-shared --with-readline-dir=/usr/local
make
sudo make install
ruby -v
wget http://rubyforge.org/frs/download.php/76729/rubygems-1.8.25.tgz
tar -xzvf rubygems-1.8.25.tgz
sudo ruby setup.rb
sudo gem install rails --version 4.0.0 --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment