Sergio Ruiz wrote in post #995322: > for some reason, i cannot get the rspec generators to work. i am getting > the following: > > $ rails generate rspec_controller > Could not find generator rspec_controller. > > the rest of the parts of rspec (that i am familiar with) seem to be > doing just fine. > > i am running: > > * rails (3.0.5) > * rspec (2.6.0.rc2) > * rspec-core (2.6.0.rc2) > * rspec-expectations (2.6.0.rc2) > * rspec-mocks (2.6.0.rc2) > * rspec-rails (2.6.0.rc2)
You don't have to prepend the generators with rspec anymore with Rails 3. Just use rails generate controller. -- Posted via http://www.ruby-forum.com/. -- 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.

