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) any ideas? thanks! -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Robert Walker
2011-Apr-27 14:27 UTC
Re: rspec -> Could not find generator rspec_controller
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
perfect! thanks! -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Seemingly Similar Threads
- DEPRECATION WARNING: Passing a template handler in the template name is deprecated. (rspec + haml)
- [PLUGIN] rspec_resource_generator - RESTful scaffold generator with RSpec specifications
- rspec_on_rails (MissingSourceFile)
- rspec_resource error
- Coding standards and whitespace