My setup: Mac OS X snow leopard with REE 1.8.7 and bundler installed.
Trying to run rspecs from RubyMine, getting the following error:
/opt/ruby-enterprise-1.8.7-2011.03/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/msherman/.gem/ruby/1.8/bin/rspec /Users/msherman/Projects/buzzhubs/daily_buzz/spec/requests/home_spec.rb --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter
Testing started at 10:29 AM ...
/opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:143:in `gem': rspec-core is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
from -e:1:in `load'
I am using bundler, so I need to run "bundle exec" rspec.
I've checked the "Run in the script in the context of the bundle" checkbox in the config, but it doesn't seem to be working.
Any advice would be greatly appreciated!