Install xcode this will install ruby
xcode-select --install
Install brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
install ruby version manager
brew install rbenv ruby-build
install rails
gem install rails
install cucumber
gem install cucumber
install json_spec to enable web service tests
gem install json_spec
install capybara to help us write clean reusable tests

gem install capybara