title: Rails Rspec `require': cannot load such file -- rails_helper (LoadError)
body: <p>I am trying to use Rspec for my test. When I run</p>
  
  <pre><code>$ rspec mytest_spec.rb
  </code></pre>
  
  <p>I get the following error due to the </p>
  
  <pre><code>/home/bastien/.merbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- rails_helper (LoadError)
  </code></pre>
  
  <p>I have tried many things and somehow if I run </p>
  
  <pre><code>rspec spec
  </code></pre>
  
  <p>or </p>
  
  <pre><code>bundle exec rspec
  </code></pre>
  
  <p>from the folder where my .rspec file is I do not get any error. I have created an app just to dry test this issue (I created a new rail app, added rspec in my Gemfile, run the bundle install command and the rspec:install command, generated a scaffold and run the tests. Could anyone explain to me why I get this issue and how I can get rid of it? Do I do something wrong when I try to run only one single spec? Thanks.</p>