btaif.blogg.se

Rubymine cannot find ruby sdk
Rubymine cannot find ruby sdk







rubymine cannot find ruby sdk

In RubyMine, you can also check in the Settings page under "Ruby SDK and Gems" > click a different ruby version and check the gem list on the right to check if watir-webdriver is installed. You can check the installed gems with the command "gem list" at the command prompt and switching between the different ruby versions. The gems are installed for specific versions of ruby, so if you switch the version you need to reinstall the gems. The error message says that it can't find the gem in ruby 2.1.1. I'm not sure why it's asking you for that if you don't have a cucumber project.Īs for your first issue, when you installed the watir-webdriver gem, it looks like you were using ruby 2.1.5. Create a file with that name (and no extension) in the root directory for your project. The error message "Could not locate Gemfile" is an easy one to correct. Testgen is useful to create cucumber project spaces, so it includes everything you need to get started. The exercises in chapter 3 are all ruby and watir/webdriver. Up until that point you don't need cucumber. The cucumber gem is installed at the start of Chapter 4 when you install testgen.

rubymine cannot find ruby sdk

The first question below: when do you install cucumber in the book? You ask a few different questions so if you are still interested, here are some thoughts. Hi Lisa, I just joined this group today and saw your message. Help please! I feel like a complete ninny! When I run from the command line, it does pop up a Firefox window, then just hangs. I've installed the gem, pls see screenshot, so I don't know why it can't find it. Users/pivotal/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file - watir-webdriver (LoadError)įrom /Users/pivotal/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'įrom /Users/pivotal/workspace/learn_watir/first_script.rb:2:in `' Users/pivotal/.rvm/rubies/ruby-2.1.1/bin/ruby -e $stdout.sync=true $stderr.sync=true load($0=ARGV.shift) /Users/pivotal/workspace/learn_watir/first_script.rb When I try to run it in RubyMine, I get an error: I wrote and maintained Ruby / Watir scripts from 2006 - 2011, and wrote WebDriver scripts in Robot Framework using Page Object for a few months in 2012, so I thought at least the first few scripts in Cucumber and Cheese would be a breeze! Unfortunately I failed at the very first one.









Rubymine cannot find ruby sdk