sudo apt-get install ruby build-essential libopenssl-ruby ruby1.8-dev sudo apt-get install rubygems libsqlite3-dev
then Rails -
sudo gem install rails sudo gem install sqlite3-ruby
and put the path in bash...
pico .bashrc
at the end of my .bashrc file
export PATH=/var/lib/gems/1.8/bin:$PATH
then update Gems and check the versions -
sudo gem update --system gem list --local
The output:
*** LOCAL GEMS ***
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
sqlite3-ruby (1.2.5)
No comments:
Post a Comment