Skip to content

Ruby Tests not using bundle #223

LeakyBucket opened this Issue Jan 10, 2014 · 2 comments

3 participants


I have the following in my user settings:

"check-for-rbenv": true,
"check-for-bundler": true

However Ruby Tests does not appear to be using bundle when running my tests. I get the following output:

/Users/leakybucket/.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- simplecov (LoadError)
from /Users/leakybucket/.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
from /Users/leakybucket/git/easygive/test/test_helper.rb:1:in <top (required)>'
from /Users/leakybucket/.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
from /Users/leakybucket/.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require'
from test/functional/api_signups_controller_test.rb:1:in

[Finished in 0.1s with exit code 1]

Which makes sense as simplecov isn't installed in my Ruby. Any idea how I can get it to use bundle when running my tests? How do I make sure it thinks my project root is what I think it is?


I have the same issue as you do and I have a multi project repo meaning there are multiple Gemfiles and RubyTest should probably just traverse back until it finds the first directory with a gemfile starting from the spec file to make this work for me.

Argorate commented Nov 5, 2014

same problem here, I don't understand solution @mhenrixon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.