[Rails] Re: "Missing these required gems: rspec-rails" in ruby 1.9

2009-09-01 Thread oren
thank you! On Sep 1, 10:34 am, Pascal Friederich 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 y

[Rails] Re: "Missing these required gems: rspec-rails" in ruby 1.9

2009-09-01 Thread Pascal Friederich
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

[Rails] Re: "Missing these required gems: rspec-rails" in ruby 1.9

2009-09-01 Thread Oren Golan
thank you, it works! what is the reason for this error? On Tue, Sep 1, 2009 at 1:51 AM, Pascal Friederich 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 p

[Rails] Re: "Missing these required gems: rspec-rails" in ruby 1.9

2009-09-01 Thread Pascal Friederich
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

[Rails] Re: "Missing these required gems: rspec-rails" in ruby 1.9

2009-09-01 Thread oren
i already have it installed! actionmailer (2.3.2) actionpack (2.3.2) activerecord (2.3.2) activeresource (2.3.2) activesupport (2.3.2) builder (2.1.2) cucumber (0.3.98) diff-lcs (1.1.2) hoe (2.3.3) nokogiri (1.3.3) polyglot (0.2.8) rack (1.0.0) rails (2.3.2) rake (0.8.7) rspec (1.2.8) rspec-rails

[Rails] Re: "Missing these required gems: rspec-rails" in ruby 1.9

2009-08-31 Thread oren
i already have it installed! actionmailer (2.3.2) actionpack (2.3.2) activerecord (2.3.2) activeresource (2.3.2) activesupport (2.3.2) builder (2.1.2) cucumber (0.3.98) diff-lcs (1.1.2) hoe (2.3.3) nokogiri (1.3.3) polyglot (0.2.8) rack (1.0.0) rails (2.3.2) rake (0.8.7) rspec (1.2.8) rspec-rails

[Rails] Re: "Missing these required gems: rspec-rails" in ruby 1.9

2009-08-31 Thread s.ross
It's exactly what it says. Do: gem install rspec-rails (or if you're on a Mac, sudo gem install rspec-rails). On Aug 31, 2009, at 10:31 AM, oren wrote: > > i get the above error when running rake. > I tried switching rails 2.3.3 with 2.3.2 but it didn't help. > > here are my gems: > actionmai