diff options
Diffstat (limited to 'railties/lib/rails/commands/destroy.rb')
-rw-r--r-- | railties/lib/rails/commands/destroy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/destroy.rb b/railties/lib/rails/commands/destroy.rb index 5013d30b83..860c03e01e 100644 --- a/railties/lib/rails/commands/destroy.rb +++ b/railties/lib/rails/commands/destroy.rb @@ -1,5 +1,5 @@ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'generators')) -require "#{RAILS_ROOT}/config/environment" +require "#{RAILS_ROOT}/config/application" if ARGV.size == 0 Rails::Generators.help |