diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-20 17:36:23 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-20 17:36:23 +0000 |
commit | 2afb8a8cc0e3562d22a5ea31b934e076b5bfe8f6 (patch) | |
tree | 44275a8856952ca2bd46ff59033f41c867f5994d /railties/lib/rails_generator/generators | |
parent | 16287608bb6836924dc210a62b1c7e70a58ea94c (diff) | |
download | rails-2afb8a8cc0e3562d22a5ea31b934e076b5bfe8f6.tar.gz rails-2afb8a8cc0e3562d22a5ea31b934e076b5bfe8f6.tar.bz2 rails-2afb8a8cc0e3562d22a5ea31b934e076b5bfe8f6.zip |
Added script/runner which can be used to run code inside the environment by eval'ing the first parameter
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb index b0876c1820..3916d6905f 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -47,7 +47,7 @@ class AppGenerator < Rails::Generator::Base m.file "environments/test.rb", "config/environments/test.rb" # Scripts - %w(console console_sandbox.rb destroy generate server).each do |file| + %w(console console_sandbox.rb destroy generate server runner).each do |file| m.file "bin/#{file}", "script/#{file}", script_options end if options[:gem] |