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

On Thu, Jan 3, 2013 at 3:12 PM, Nirav B. [email protected]
wrote:

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 K.

Mandeep K. wrote in post #1090909:

On Thu, Jan 3, 2013 at 3:12 PM, Nirav B. [email protected]
wrote:

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 K.
http://mandeepsimak.wordpress.com/

ruby1.8-dev is ruby 1.8.7?

On 3 January 2013 09:42, Nirav B. [email protected] wrote:

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

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

Colin

Nirav B. wrote in post #1090910:

Mandeep K. wrote in post #1090909:

On Thu, Jan 3, 2013 at 3:12 PM, Nirav B. [email protected]
wrote:

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 K.
http://mandeepsimak.wordpress.com/

Dude how to install ruby gems?

Mandeep K. wrote in post #1090909:

On Thu, Jan 3, 2013 at 3:12 PM, Nirav B. [email protected]
wrote:

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 K.
http://mandeepsimak.wordpress.com/

i have tried sudo gem install rails -v 2.8.3 command but it shows
following:

sudo gem install rails -v 2.8.3
ERROR: Could not find a valid gem ‘rails’ (= 2.8.3) in any repository
ERROR: Possible alternatives: rails

i have gem version 1.7.2.Now how can i install rails 2.8.3??

On Thu, Jan 3, 2013 at 4:05 AM, Colin L. [email protected]
wrote:

On 3 January 2013 09:42, Nirav B. [email protected] wrote:

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

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

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:

On Thu, Jan 3, 2013 at 3:35 PM, Colin L. [email protected]
wrote:

On 3 January 2013 09:42, Nirav B. [email protected] wrote:

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

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

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


Mandeep K.

Mandeep K. wrote in post #1090915:

On Thu, Jan 3, 2013 at 3:35 PM, Colin L. [email protected]
wrote:

On 3 January 2013 09:42, Nirav B. [email protected] wrote:

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

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

I have to install rails 2.3.8 without rvm :frowning: