Difference between revisions of "Installing ruby with cucumber on a mac machine"

From Test Automation Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 14: Line 14:
 
<source>
 
<source>
 
gem update --system
 
gem update --system
gem uninstall ffi
+
gem install watir-webdriver --no-document
gem install ffi --platform ruby
+
gem install lapis_lazuli --no-document
gem install rspec --no-ri --no-rdoc
+
gem install cucumber --no-document
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
 
ruby -v
 
</source>
 
</source>

Latest revision as of 17:13, 27 March 2019

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-document
gem install lapis_lazuli --no-document
gem install cucumber --no-document
ruby -v