[rspec-users] RSpec 0.8.2 pain, missing spec/rails?
lists at kikobu.com
Wed May 2 11:40:52 EDT 2007
aslak hellesoy wrote:
> On 5/2/07, Morten <lists at kikobu.com> wrote:
>> Hi. I'm upgrading a project from an 0.8.0 pre-release gem to 0.8.2.
>> I've installed the 0.8.2 gem, and the rspec_on_rails 0.8.2 plugin:
>> ruby script/plugin install
>> When I try to run my specs though, I get the below error. It's as if the
>> spec_helper cannot find "spec/rails". I've noticed that "spec/rails" is
>> part of the rspec plugin, but I'm using the gem and cannot find
>> spec/rails.rb (it's required in spec_helper.rb). I'm stuck and banging
>> my head against the walls. Things fall out.
>> Any tips much appreciated.
> Did you rerun script/generate rspec after upgrading?
> Could you try to upgrade to RSpec 0.9.1?
Hmm.. I tried that path but it changed a lot of specs to non-working.
>> white:~/svn/novalis morten$ rake spec
>> (in /Users/morten/svn/novalis)
>> "spec/controllers/therapist_controller_spec.rb" --options
>> `gem_original_require': no such file to load -- spec/rails
>> from ./spec/controllers/../spec_helper.rb:5
>> from ./spec/controllers/account_controller_spec.rb:1
>> rspec-users mailing list
>> rspec-users at rubyforge.org
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users