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

From Test Automation Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  
 
steps:
 
steps:
press apple+spacebar to open spotlight
+
* press apple+spacebar to open spotlight
type terminal and open terminal
+
* type terminal and open terminal
type "brew install ruby"
+
* type "brew install ruby"
verify ruby install with ruby -v
+
* verify ruby install with ruby -v
  
Copy the code written below and paste it in the terminal (right click, paste)
+
* Copy the code written below and paste it in the terminal (right click, paste)
 
<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