Reputation: 1898
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.
Upvotes: 3
Views: 288
Reputation: 330
Rails New is your new friend ;)
It comes default with rbenv and other dependencies, and is the fastest way to setup rails on MAC.
/bin/bash -c "$(curl -fsSL https://rails.new/✨)"
Upvotes: 2
Reputation: 68
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
Upvotes: 0
Reputation: 43939
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
Upvotes: 5