aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/generate.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/commands/generate.rb')
-rwxr-xr-xrailties/lib/commands/generate.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/railties/lib/commands/generate.rb b/railties/lib/commands/generate.rb
deleted file mode 100755
index 32cabcab10..0000000000
--- a/railties/lib/commands/generate.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-require File.expand_path(File.join(File.dirname(__FILE__), '..', 'generators'))
-require "#{RAILS_ROOT}/config/environment"
-
-if ARGV.size == 0
- Rails::Generators.help
- exit
-end
-
-name = ARGV.shift
-Rails::Generators.invoke name, ARGV, :behavior => :invoke