无法运行rspec与Firefox的测试
问题描述:
任何想法与以下错误?我无法在Firefox上运行我的rspec测试。无法运行rspec与Firefox的测试
Selenium :: WebDriver :: Error :: WebDriverError: 找不到Firefox二进制文件(os = macosx)。确保已安装Firefox或硒:: webdriver的手动设置路径::火狐:: Binary.path =
Gemfile gem "capybara", :git => "git://github.com/jnicklas/capybara.git" gem "capybara-firebug"
capybara.rb require 'capybara/firebug' Selenium::WebDriver::Firefox::Profile.firebug_version = '1.8.4'
spec_helper.rb Capybara.current_driver = :selenium_with_firebug if example.metadata[:firebug]
我发现了一个错误gist并没有帮助我很多工作来解决这个错误
答
愚蠢的错误,我没有重新加载终端后,这种配置。