title: Rails: Selenium::WebDriver::Error::WebDriverError: not executable: 'chromedriver-helper'
body: <p>I've setup Rails environment two days ago and I thought things were going fine but then when I ran <code>rake test</code> command it got aborted due to this load error:</p>
  
  <pre><code>Bundler::GemRequireError: There was an error while trying to load the gem 'chromedriver-helper'`
  `Caused by: Selenium::WebDriver::Error::WebDriverError: not executable: "C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/chromedriver-helper-2.1.0/bin/chromedriver-helper"
  </code></pre>
  
  <p>I tried a few things but nothing worked. I reinstalled the gem and updated it. Then I tried to install an older version of it. I also tried to add
  <code>gem "selenium-webdriver"</code> and  <code>gem "chromedriver-helper"</code> to the <code>Gemfile</code></p>
  
  <p>and in <code>spec_helper.rb</code> this:</p>
  
  <pre><code>Capybara.register_driver :selenium do |app|
    Capybara::Selenium::Driver.new(app, browser: :chrome)
  end
  </code></pre>
  
  <p>as mentioned on <a href="https://github.com/flavorjones/chromedriver-helper" rel="nofollow noreferrer">github</a> but not sure what should I try next. </p>
  
  <p>Could someone help me with this, please? Thank you.</p>