We will be setting up a ruby on rails development environment on mac os x 10 11 el capitan.
Install ruby on rails mac.
Rails v rails 6 0 2 2.
It comes with the latest improvements from apple and it s completely free.
Installing ruby on rails is simple but unless you have an old mac machine a pre 08 model you should seriously consider upgrading your system to os x mavericks 10 9.
Brew version if homebrew was installed already you can see the result below.
And now we can verify rails is installed.
This will take about 30 minutes.
A number of tools exist to help you quickly install ruby and ruby on rails on your system.
Gem install rails v 6 0 2 2.
Rails is now installed but in order for us to use the rails executable we need to tell rbenv to see it.
This is an article from the railsapps project.
Execute the command below to check homebrew installed on mac.
We will use mac pacakge manger homebrew to install rails on mac.
Install ruby on rails 6 0 macos by daniel kehoe.
Windows users can use rails installer while mac os x users can use tokaido.
They allow easy or even automatic.
Older versions of os x are mostly compatible so follow along as far as you can and then google search for any problems you run into.
If you are installing ruby in order to use ruby on rails you can use the following installer.
Last updated 16 may 2020.
Many rubyists use ruby managers to manage multiple rubies.
A step by step guide for installing ruby on rails.
It supports macos linux windows virtual machines and cloud images.