Uncaught exception: cannot load such file -- rails_helper
<p>Here is the error when debugging (Aptana 3.6.1) a rspec (v3.4.1) case. </p>

<pre><code>Fast Debugger (ruby-debug-ide 0.6.0, debase 0.2.1, file filtering is supported) listens on 127.0.0.1:54432
Uncaught exception: cannot load such file -- rails_helper
    C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
    C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
    C:/D/code/rails_proj/engines/simple_orderx/spec/controllers/simple_orderx/orders_controller_spec.rb:1:in `&lt;top (required)&gt;'
    C:/Ruby22-x64/bin/rdebug-ide:23:in `load'
    C:/Ruby22-x64/bin/rdebug-ide:23:in `&lt;main&gt;'
</code></pre>

<p>The error is caused by the line in the spec file:</p>

<pre><code>require "rails_helper"
</code></pre>

<p>If changed to <code>require "spec_helper"</code>, then the error becomes <code>can not load spec_helper</code>. </p>

<p>The #121 line of code in <code>kernel_require.rb</code> is</p>

<pre><code>return gem_original_require(path)
</code></pre>

<p>Here the <code>path</code> returns "rails_helper". It seems that it does not know where is the root of the app. Tried to use "spec/rails_helper" and the error is the same. But there is no error when running <code>bundle exec rspec spec</code> under app's root. The rspec version is 3.4.1, rails 4.2 and ruby  2.2.3. IDE is Aptana 3.6.1.</p>