Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Full Rails plugin (Engine with dummy app) doesn't load Railties from gems in the spec #8229
Even if you add a railtie gem as a development dependency in the gemspec of a Rails plugin with "full" specified, it doesn't get set up properly in the dummy app that is used for things like rake.
For example, if you add rspec-rails, the spec tasks don't show in
Fortunately, I believe the appropriate fix is easy: change line 15 of lib/rails/generators/rails/plugin_new/templates/rails/application.rb from: