29

I read a lot of articles regarding installing Ruby 1.9 and Ruby on Rails 3.2.3 on Ubuntu 12. And I've installed them previously. But it took much time, about 5 days. I made many mistakes and I was very tired of that.

Now I need to do it again. Obviously I want it to be effortless and correct. Like in Windows using Rails installer and Ruby installer.

Can anyone give me a link about how to install them correctly(!)? Or maybe you know the right way?

Alexandre
  • 13,030
  • 35
  • 114
  • 173

3 Answers3

41

Follow this and enjoy

Install Ruby and Rails completely with chruby

Ryan Bigg
  • 106,965
  • 23
  • 235
  • 261
Kashiftufail
  • 10,815
  • 11
  • 45
  • 79
4

I would use RVM. I found it super easy to install and it maintains different per-user (or system-wide if you wish) gemsets for different projects.

Omar Awile
  • 140
  • 1
  • 6
1

I always prefer rvm for installation of ruby and rails.

Here some very useful articles which guide you how to install ruby, rails using rvm.

1) http://coding.smashingmagazine.com/2011/06/21/set-up-an-ubuntu-local-development-machine-for-ruby-on-rails/

2) http://hivelogic.com/articles/setup-guide-rails-stack-with-passenger-rvm-bundler-apache-and-mysql-on-ubun/

GBD
  • 15,847
  • 2
  • 46
  • 50