How to Install Ruby and Rails

I want to install Ruby 1.8.7 and Rails 2.8.3,i am using ubuntu 11. Thank you

Run following command in terminal

sudo gem install rails -v 2.8.3 sudo apt-get install ruby1.8-dev

Mandeep Kaur wrote in post #1090909:

Nirav Bhatu wrote in post #1090910:

Mandeep Kaur wrote in post #1090909:

I want to install Ruby 1.8.7 and Rails 2.8.3,i am using ubuntu 11. Thank you

Run following command in terminal

sudo gem install rails -v 2.8.3 sudo apt-get install ruby1.8-dev

-- Mandeep Kaur http://mandeepsimak.wordpress.com/

Dude how to install ruby gems?

Don't use Rails 2.8 unless you need to maintain an old app. Use rails 3 and install using rvm.

Colin

Or Chruby. But either one I agree with because Debian Ruby will turn into a pain sooner than later because dependencies can lag quite a bit and sometimes they even get broken easily inside of experimental (that is if you wanted to try and stay semi-semi up-to-date.) I mean I know some people don't update their apps very often but damn :frowning:

If you want to install Rails 3 using RVM then follow link

Mandeep Kaur wrote in post #1090909:

Mandeep Kaur wrote in post #1090915: