[rspec-users] rspec 1.3.2, Rails 2.3.14 - plugins not loading
jcfischer at gmail.com
Tue Oct 18 10:02:03 EDT 2011
I have a weird situation. I have inherited a project in Rails 1.2.3
that has been upgraded to Rails 2.3.14 (and is running). I have
installed Cucumber and Rspec to start to write features/tests for the
new code that needs to be written. In my Gemfile, these Gems are
group :test do
gem 'rspec-rails', '~> 1.3.4', :require => 'spec/rails'
gem 'rspec', '~> 1.3.2', :require => 'spec'
gem "capybara", "0.3.9"
gem "cucumber", "0.9.4"
gem "cucumber-rails", "0.3.2"
When I run the specs (bundle exec spec spec), I get error messages
because the plugins of the application aren't loaded.
Indeed, if I bundle the gems in "group :test, :development do ", then
script/server and script/console fail to start as well because the
plugins aren't loaded.
Anyone seen this problem or can give me a hint of why the plugins
suddenly aren't loaded (and where I should poke to find the cause)?
More information about the rspec-users