[rspec-users] RSpec 0.8.2 pain, missing spec/rails?

David Chelimsky dchelimsky at gmail.com
Wed May 2 11:40:05 EDT 2007


Since you're upgrading, why don't you upgrade to 0.9.1? That's the
latest and greatest.

David

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
> svn://rubyforge.org/var/svn/rspec/tags/REL_0_8_2/rspec
>
> 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.
>
> Morten
>
> white:~/svn/novalis morten$ rake spec
> (in /Users/morten/svn/novalis)
> /opt/local/bin/ruby
> -I"/opt/local/lib/ruby/gems/1.8/gems/rspec-0.8.2/lib"
> "/opt/local/lib/ruby/gems/1.8/gems/rspec-0.8.2/bin/spec"
> "spec/controllers/account_controller_spec.rb"
> "spec/controllers/admin_controller_spec.rb"
> "spec/controllers/auhtenticate_controller_spec.rb"
> "spec/controllers/bar_controller_spec.rb"
> "spec/controllers/calendar_test_controller_spec.rb"
> "spec/controllers/manager_controller_spec.rb"
> "spec/controllers/reports_controller_spec.rb"
> "spec/controllers/stress_profiles_controller_spec.rb"
> "spec/controllers/therapist_controller_spec.rb" --options
> "/Users/morten/svn/novalis/config/../spec/spec.opts"
> /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require': no such file to load -- spec/rails
> (MissingSourceFile)
>          from
> /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in
> `require'
>          from
> /Users/morten/svn/novalis/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in
> `require'
>          from
> /Users/morten/svn/novalis/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in
> `new_constants_in'
>          from
> /Users/morten/svn/novalis/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in
> `require'
>          from ./spec/controllers/../spec_helper.rb:5
>          from ./spec/controllers/account_controller_spec.rb:1
>
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list