From 09c288f0c5b5f9da4473bb321cccb766d9f59d7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Wed, 8 Jul 2009 12:55:50 +0200 Subject: Add the new generators environment and update commands. --- railties/lib/commands/destroy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/commands/destroy.rb') diff --git a/railties/lib/commands/destroy.rb b/railties/lib/commands/destroy.rb index 075fe5bb12..6e740bb754 100644 --- a/railties/lib/commands/destroy.rb +++ b/railties/lib/commands/destroy.rb @@ -1,5 +1,5 @@ +RAILS_ENV.replace "generators" require "#{RAILS_ROOT}/config/environment" -require 'generators' if ARGV.size == 0 Rails::Generators.help -- cgit v1.2.3