Installing ruby with cucumber on a mac machine

From Test Automation Wiki
Jump to: navigation, search

TODO: proper formatting

steps:

  • press apple+spacebar to open spotlight
  • type terminal and open terminal
  • type "brew install ruby"
  • verify ruby install with ruby -v
  • Copy the code written below and paste it in the terminal (right click, paste)
gem update --system
gem install watir-webdriver --no-ri --no-rdoc
gem install lapis_lazuli --no-ri --no-rdoc
gem install cucumber --no-ri --no-rdoc
ruby -v