1

I'm trying to learn Ruby on Rails for last 4 month. But Problem is whenever i got time my all time got waste to try to install it in my Mac Machine. It's easy to install in window only by a single installer. But in mac i try many combination of Ruby and Rails versions. But not able to run it. Always getting different types of errors like 'Could not find gem sqlite3-ruby (>= 0) ruby' or Bundle installer, etc.

I know this types of problem is discussed in many forms. I follow many of them but problem is still there. Can someone please give me a permanent solution of my problem.

Tarun
  • 1,758
  • 3
  • 16
  • 27

2 Answers2

5

RVM is your friend :)

Just one command to install Ruby, Rails both :)

 curl -L https://get.rvm.io | bash -s stable --rails

Optional other things:

You may want to see JewelryBox

Mohit Jain
  • 40,277
  • 53
  • 161
  • 272
  • @Tarun to be on safe side, I will suggest yes. Remove the previous rvm etc. Here is the quick and perfect way to do it :) http://stackoverflow.com/a/3558763/179855 – Mohit Jain Sep 24 '12 at 10:57
  • Thanks. My problem is almost solved only for two small commands rvm implode and curl -L https://get.rvm.io | bash -s stable --rails as you said. Now only have a small problems is Whenever I'm creating a new project it'll take some time to install bundle. Also when i start server it's take lot of time :( – Tarun Sep 26 '12 at 17:53
0

I wrote an article on this a few months back. Everything should still be relevant. http://matthalliday.ca/weblog/entry/setting-up-a-ruby-on-rails-environment