sudo apt-get install build-essential
sudo apt-get install ruby rdoc libopenssl-ruby ruby1.8-dev irb
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
tar zxvf rubygems-1.3.7.tgz
cd rubygems-1.3.7
sudo ln -s /usr/bin/gem1.8 /usr/local/bin/gem
Check gem version
gem -v
to get newest gem version, type following command
sudo gem update --system
then install rails
sudo gem install rails -v=2.3.9
sudo apt-get install sqlite3
sudo apt-get install libsqlite3-dev
sudo gem install sqlite3-ruby
No comments:
Post a Comment