I just installed rspec-rails 2.3.1 gem into a new Rails 3.0.3 app, ran
the rspec:install generator, but the system doesn't see any other
RSpec generators (like rspec_controller), and the server will no
longer start.
Both report this error:
/.rvm/gems/ruby-1.9.2...@rails3/gems/rspec-rails-2.3.1/lib/rspec-
rails.rb:3:in `<module:Rails>': uninitialized constant Rails
(NameError)
Here's a clip of the file referenced by the error:
module RSpec
module Rails
class Railtie < ::Rails::Railtie
I've used RSpec 2.0 and 2.1 with Rails 3 before without problems. Any
suggestions greatly appreciated..
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users