thank you!

On Sep 1, 10:34 am, Pascal Friederich <[email protected]> wrote:
> rails tries to require 'rspec' and 'rspec-rails'. but the rspec
> library is 'spec' and the rspec-rails is 'spec/rails'. :lib =>
> 'spec' / :lib => 'spec/rails' would work too,
> but since you only want to load the rspec/rails libs when you are
> actually running specs, and you usually require 'spec/rails' in your
> spec_helper.rb anyway, you can use :lib => false so rails doesn't
> require the rspec libs at all.
>
> On 1 Sep., 18:11, Oren Golan <[email protected]> wrote:
>
> > thank you, it works!
> > what is the reason for this error?
>
> > On Tue, Sep 1, 2009 at 1:51 AM, Pascal Friederich 
> > <[email protected]>wrote:
>
> > > change the config.gem lines for rspec/rspec-rails in your test.rb
> > > to:
>
> > > config.gem "rspec", :lib => false
> > > config.gem "rspec-rails", :lib => false
>
> > > that should solve your problem
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to