lib/rails/commands/plugin_new.rb in railties-3.1.12 vs lib/rails/commands/plugin_new.rb in railties-3.2.0.rc1
- old
+ new
@@ -1,10 +1,11 @@
+require 'rubygems' if ARGV.include?("--dev")
+
if ARGV.first != "new"
ARGV[0] = "--help"
else
ARGV.shift
end
require 'rails/generators'
require 'rails/generators/rails/plugin_new/plugin_new_generator'
-
-Rails::Generators::PluginNewGenerator.start
+Rails::Generators::PluginNewGenerator.start
\ No newline at end of file