silence @dummy_path not defined warnings

This commit is contained in:
Jack Dempsey
2011-03-13 08:59:20 +08:00
committed by José Valim
parent 88d8ca2ef9
commit dfa9e28113

View File

@@ -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