Installing ruby with cucumber on a mac machine

From Test Automation Wiki
Revision as of 14:37, 28 July 2016 by Wilco (talk | contribs)
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 uninstall ffi
gem install ffi --platform ruby
gem install rspec --no-ri --no-rdoc
gem install win32console --no-ri --no-rdoc
gem install selenium-webdriver --no-ri --no-rdoc
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