I have just installed Ruby 1.9.3 on my Windows 7 PC. Now I am looking for some automation script to write. But for that I have to install the below, but how do I install them?
- Selenium
- NokoGiri
- Capybara
My Ruby version is installed in the directory- C:\Ruby193. To run the Ruby command from the command prompt, should I need to add anything to the PATH variable?
Error
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\peter>cd..
C:\Users>cd..
C:\>cd C:\Ruby193
C:\Ruby193>ruby
'ruby' is not recognized as an internal or external command,
operable program or batch file.
C:\Ruby193>gem install nokogiri
'gem' is not recognized as an internal or external command,
operable program or batch file.
C:\Ruby193>
You can do the same with the other gems.