diff options
author | Jack Dempsey <jack.dempsey@gmail.com> | 2011-03-13 08:59:20 +0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-03-14 02:54:44 +0800 |
commit | dfa9e2811320d44ff140f115a4f7a3abb41bda16 (patch) | |
tree | 68ebf34fdde24e8654f5a0049a211d78f96d8241 | |
parent | 88d8ca2ef976ea802657c92a3d27e2737247ee5c (diff) | |
download | rails-dfa9e2811320d44ff140f115a4f7a3abb41bda16.tar.gz rails-dfa9e2811320d44ff140f115a4f7a3abb41bda16.tar.bz2 rails-dfa9e2811320d44ff140f115a4f7a3abb41bda16.zip |
silence @dummy_path not defined warnings
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb index 5b4687ce64..c373ca5e67 100644 --- a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +++ b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb @@ -145,6 +145,7 @@ task :default => :test def initialize(*args) raise Error, "Options should be given after the plugin name. For details run: rails plugin --help" if args[0].blank? + @dummy_path = nil super end |