在我安装了RVM(我正在同时处理的另一个项目的要求)后,我再也无法对SauceLabs运行我的黄瓜测试。我有使用系统ruby(1.8.7 p374)的RVM,并且我所需的所有宝石都已正确安装。
我会在底部附上宝石列表
因此,当我运行以下命令时,在我的包含tests和saucelabs.rb文件的文件夹中./sauce_labs.rb很多,我收到以下错误:
Logging to Windows XP-iehta-8.html ...
Logging to Windows 7-iehta-9.html ...
Logging to Windows 7-iehta-10.html ...
Logging to Windows 8.1-iehta-11.html ...
Logging to Windows 7-firefox-latest.html ...
Logging to Mac 10.8-safari-6.html ...
Logging to Windows 7-googlechrome-latest.html ...
no such file to load -- rake (LoadError)
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4:in `require'
/Users/donovan.greef/.rvmno such file to load -- rake (LoadError)
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33:in `require'
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load_code_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:180:in `load_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:83:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `each'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:182:in `load_step_definitions'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:41:in `run!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:43:in `execute!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:20:in `execute'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/cucumber:14
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/ruby_executable_hooks:15
no such file to load -- rake (LoadError)
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33:in `require'
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load_code_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:180:in `load_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:83:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `each'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:182:in `load_step_definitions'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:41:in `run!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:43:in `execute!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:20:in `execute'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/cucumber:14
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/ruby_executable_hooks:15
no such file to load -- rake (LoadError)
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33:in `require'
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load_code_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:180:in `load_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:83:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `each'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cno such file to load -- rake (LoadError)
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4:in `require'
/Users/donovan.greef/.rvmucumber-1.2.3/bin/../lib/cucumber/runtime.rb:182:in `load_step_definitions'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:41:in `run!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:43:in `execute!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:20:in `execute'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/cucumber:14
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/ruby_executable_hooks:15
/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33:in `require'
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load_code_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:180:in `load_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:83:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `each'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:182:in `load_step_definitions'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:41:in `run!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:43:in `execute!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:20:in `execute'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/cucumber:14
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/ruby_executable_hooks:15
/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33:in `require'
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load_code_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:180:in `load_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:83:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `each'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:182:in `load_step_definitions'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:41:in `run!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:43:in `execute!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:20:in `execute'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/cucumber:14
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/ruby_executable_hooks:15
no such file to load -- rake (LoadError)
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33:in `require'
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load_code_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:180:in `load_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:83:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `each'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:182:in `load_step_definitions'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:41:in `run!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:43:in `execute!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:20:in `execute'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/cucumber:14
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/ruby_executable_hooks:15
no such file to load -- rake (LoadError)
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/rake/server_task.rb:2
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.31.0/lib/selenium/client.rb:21
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/selenium.rb:1
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-2.3.2/lib/sauce/capybara.rb:4
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4:in `require'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/sauce-cucumber-2.3.1/lib/sauce/cucumber.rb:4
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33:in `require'
/Users/donovan.greef/Sites/announcements/tests/features/support/env.rb:33
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/rb_support/rb_language.rb:137:in `load_code_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:180:in `load_file'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:83:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `each'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:182:in `load_step_definitions'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/runtime.rb:41:in `run!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:43:in `execute!'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/../lib/cucumber/cli/main.rb:20:in `execute'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/gems/cucumber-1.2.3/bin/cucumber:14
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23:in `load'
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/cucumber:23
/Users/donovan.greef/.rvm/gems/ruby-1.8.7-p374/bin/ruby_executable_hooks:15
我已尝试以下方法解决此问题:
任何帮助都会受到赞赏,因为我现在对这些想法很感兴趣。
提前谢谢你。
宝石清单:
答案 0 :(得分:2)
您有Gemfile
cucumber
,这使得gem rubygems-bundler
检测到它并自动加载Bundler.setup
,这会将宝石限制为{{1}中定义的宝石不幸的是,Gemfile
使用selenium-webdriver
gem,但没有将它定义为依赖项(http://code.google.com/p/selenium/source/browse/rb/build.desc#25)。
有两种方法可以解决它:
将rake
添加到rake
和Gemfile
这应解决中级问题 - 同时报告bundle install
缺少的依赖项=>的错误http://code.google.com/p/selenium/issues/list
禁用selenium-webdriver
gem以使用无限制的gem列表
rubygems-bundler
(将加载最高版本而不是Gemfile和依赖项中指定的版本。)