aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin/rails
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-06-23 16:19:23 +0200
committerJosé Valim <jose.valim@gmail.com>2009-06-23 16:53:47 +0200
commit301c48c15cc6bf8d8fac3c22356eacce380f6fce (patch)
tree8000d68f8b2b6b78543c6e897973fcc88a18d1a0 /railties/bin/rails
parent1845675822fef4ead89b8919da56c4fadb145e56 (diff)
downloadrails-301c48c15cc6bf8d8fac3c22356eacce380f6fce.tar.gz
rails-301c48c15cc6bf8d8fac3c22356eacce380f6fce.tar.bz2
rails-301c48c15cc6bf8d8fac3c22356eacce380f6fce.zip
Added a generator file responsable for loading generator files.
Diffstat (limited to 'railties/bin/rails')
-rwxr-xr-xrailties/bin/rails4
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/bin/rails b/railties/bin/rails
index 4d08ca392d..57eb8809ed 100755
--- a/railties/bin/rails
+++ b/railties/bin/rails
@@ -9,5 +9,7 @@ end
ARGV << "--help" if ARGV.empty?
-require File.dirname(__FILE__) + '/../lib/generator/generators/app/app_generator'
+require File.dirname(__FILE__) + '/../lib/generator'
+require 'generator/generators/app/app_generator'
+
Rails::Generators::AppGenerator.start