aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/runner.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added file name information for errors and exceptions in script/runnnerDaniel Rodríguez Troitiño2008-08-081-1/+1
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Ruby 1.9 compat: File.exists\? -> File.exist\? en masse. References #1689 ↵Jeremy Kemper2007-12-101-1/+1
| | | | | | [Pratik Naik] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the first unparsed argument as the code or file to run. Closes #6286.Jeremy Kemper2006-09-291-5/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/runner can run files, pass on arguments, and be used as a shebang. ↵Jeremy Kemper2006-09-261-6/+24
| | | | | | Closes #6286. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440.Nicholas Seckar2006-06-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Show usage description if no code is passed (closes #4447) [murphy@cYcnus.de]David Heinemeier Hansson2006-03-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix problem with RAILS_ENV being frozen when set from environment variableJamis Buck2005-10-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure ENV['RAILS_ENV'] and RAILS_ENV are kept in syncJamis Buck2005-10-121-5/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2539 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Honor the runner -e toggle even if the RAILS_ENV constant has already been setJamis Buck2005-10-121-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed all the scripts in script/* and replaced it with one generic portal: ↵David Heinemeier Hansson2005-09-291-0/+26
script/run git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de