-
Notifications
You must be signed in to change notification settings - Fork 369
Ruby on MacOS
recommended => ruby 2.0
minimum => ruby 1.8.7
We plan on dropping ruby 1.8.7 support in the near future (as of Q1 of 2014).
Mavericks ships with ruby 2.0 pre-installed.
These versions of MacOS ship with ruby 1.8.7 pre-installed.
If you want to upgrade your ruby version there are a couple of alternatives.
rbenv is a system for managing ruby versions.
You can also install rbenv with homebrew.
rvm is another ruby management system.
There are many users who use rvm with success, but we have had some users report problems using rvm + calabash-ios.
If you are using ruby manager (rbenv or rvm), you should not install gems with sudo
.
This tip might help you.
$ gem source -r http://gems.rubyonrails.org
http://gems.rubyonrails.org removed from sources
Bundler maintains a consistent environment for ruby applications. It tracks an application's code and the rubygems it needs to run, so that an application will always have the exact gems (and versions) that it needs to run.