diff options
Diffstat (limited to 'railties/lib/generators/rails/app/templates/script/console.tt')
-rwxr-xr-x | railties/lib/generators/rails/app/templates/script/console.tt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/lib/generators/rails/app/templates/script/console.tt b/railties/lib/generators/rails/app/templates/script/console.tt new file mode 100755 index 0000000000..daba8ba2f1 --- /dev/null +++ b/railties/lib/generators/rails/app/templates/script/console.tt @@ -0,0 +1,5 @@ +require File.expand_path('../../config/boot', __FILE__) +require 'rails/commands/console' +require File.expand_path('../../config/application', __FILE__) + +Rails::Console.start(<%= app_const %>.instance) |