We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
script/generate desert_plugin blog create vendor/plugins/blog create vendor/plugins/blog/app create vendor/plugins/blog/app/controllers create vendor/plugins/blog/app/helpers create vendor/plugins/blog/app/models create vendor/plugins/blog/app/views create vendor/plugins/blog/config create vendor/plugins/blog/config/routes.rb No such file or directory - /Library/Ruby/Gems/1.8/gems/desert-0.5.0/generators/desert_plugin/templates/routes.rb
The text was updated successfully, but these errors were encountered:
And the patch is here :)
diff --git a/generators/desert_plugin/desert_plugin_generator.rb b/generators/desert_plugin/desert_plugin_generator.rb index 73122ce..0ef4066 100644 --- a/generators/desert_plugin/desert_plugin_generator.rb +++ b/generators/desert_plugin/desert_plugin_generator.rb @@ -13,7 +13,7 @@ class DesertPluginGenerator < Rails::Generator::NamedBase m.directory "vendor/plugins/#{file_name}/app/views"
m.directory "vendor/plugins/#{file_name}/config"
m.template "routes.rb", "vendor/plugins/#{file_name}/config/routes.rb"
m.template "desert_routes.rb", "vendor/plugins/#{file_name}/config/desert_routes.rb"
m.map_route_from_plugin
m.directory "vendor/plugins/#{file_name}/db"
Sorry, something went wrong.
No branches or pull requests
script/generate desert_plugin blog
create vendor/plugins/blog
create vendor/plugins/blog/app
create vendor/plugins/blog/app/controllers
create vendor/plugins/blog/app/helpers
create vendor/plugins/blog/app/models
create vendor/plugins/blog/app/views
create vendor/plugins/blog/config
create vendor/plugins/blog/config/routes.rb
No such file or directory - /Library/Ruby/Gems/1.8/gems/desert-0.5.0/generators/desert_plugin/templates/routes.rb
The text was updated successfully, but these errors were encountered: