aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Dempsey <jack.dempsey@gmail.com>2011-03-13 08:59:20 +0800
committerJosé Valim <jose.valim@gmail.com>2011-03-14 02:54:44 +0800
commitdfa9e2811320d44ff140f115a4f7a3abb41bda16 (patch)
tree68ebf34fdde24e8654f5a0049a211d78f96d8241
parent88d8ca2ef976ea802657c92a3d27e2737247ee5c (diff)
downloadrails-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.rb1
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