Installation

In this chapter we'll setup a Vagrant box for Rails development (windows, OS X, Linux).

Please follow instructions at https://github.com/jollygoodcode/rails-carrier.

If you found any problem, please open an issue at here:

https://github.com/jollygoodcode/rails-carrier/issues/new

Install on OS X

Install Homebrew

homebrew is the third-party package manager for OS X.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then you can install stuff you need that Apple doesn't provide by default, for example, install a tool called wget:

brew install wget

Install Ruby

There are many options to install Ruby, the programming language.

We are going to use a third-party tool called ruby-install.

brew install ruby-install
ruby-install ruby

For more options to install Ruby, please refer to https://www.ruby-lang.org/en/downloads/.

Install Rails

Ruby come with a tool called RubyGems. RubyGems provides a command called gem, allow you to install other people's open source library. In Ruby world, a library is called a (Ruby)Gem.

Install rails gem:

gem install rails

That's it! You are good to go.