Most of the time this is the result of apple s xcode not being installed on your system or if it is not being the current version.
Install ruby 2 1 mac.
Homebrew macos ruby versions 2 0 and above are included by default in macos releases since at least el capitan 10 11.
Brew install ruby.
Ruby on rails 2 1 installation.
Rails installation on windows.
This is a self contained windows based installer that includes the ruby language an execution environment important documentation and more.
It provides the biggest number of compatible gems and installs msys2 devkit alongside ruby so that gems with c extensions can be compiled immediately.
Ways of installing ruby.
To install a fresh copy of ruby the unix instructions that follow should help.
If you don t know what version to install and you re getting started with ruby we recommend you use ruby devkit 2 6 x x64 installer.
Otherwise we ll do a fresh installation for ruby.
This should install the latest stable ruby version.
We have several tools on each major platform to install ruby.
This should install the latest.
Newer versions of ruby are available and the mac s version will change if you install updates.
On macos machines you can use third party tools rbenv and rvm.
Rubyinstaller 2 7 1 1 2 6 6 1 2 5 8 1 and 2 4 10 1 released.
Ruby version ruby 2 0 0p481 2014 05 08 revision 45883 universal x86 64 darwin14 in this example the version of ruby is 2 0 0 and the number following the letter p is the current patch or build number.
Mac os x and linux.
The easy way to install ruby on windows.
Sudo pacman s ruby.
Next you have to install rubygems.
Instantly publish your gems and then install them use the api to find out more about available gems.
Ruby 2 1 0 install for mac osx.
From my experiences the biggest gotcha is when you try to install a new version of ruby with rvm and you re met with a handful of confusing errors.
Installing ruby using homebrew is easy.
Homebrew is a commonly used package manager on macos.