aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/console.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Speed up script/console by launching IRB directly."Jeremy Kemper2009-03-011-10/+11
| | | | | | [#2104 state:open] This reverts commit 3b169cd693f45911ee71e26708fb9267811c8d83.
* Speed up script/console by launching IRB directly.Charles Nutter2009-02-281-11/+10
| | | | | | [#2104 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add --debugger option to script/console.miloops2008-09-111-0/+13
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1025 state:committed]
* Add Rails.version. [#236 state:resolved]Ryan Bates2008-05-221-2/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ruby 1.9 compatibility. References #1689.Jeremy Kemper2007-12-171-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Print Rails version when starting console (closes #7440) [eyematz]David Heinemeier Hansson2007-09-221-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/console quotes RAILS_ROOT in irb command line so it works with spaces ↵Jeremy Kemper2007-04-091-1/+1
| | | | | | in the path. Closes #7955. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.Jeremy Kemper2007-03-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added one-letter aliases for the three default environments to ↵David Heinemeier Hansson2006-12-011-1/+8
| | | | | | script/console, so script/console p will load the production environment (t for test, d for development) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440.Nicholas Seckar2006-06-281-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use --simple-prompt instead of --prompt-mode simple for console ↵David Heinemeier Hansson2006-04-011-1/+1
| | | | | | compatibility with Windows/Ruby 1.8.2 #4532 [starr@starrnhorne.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make all ActionView helpers available in the console for debugging purposes.Marcel Molina2006-03-211-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add 'app' accessor to script/console as an instance of Integration::SessionJamis Buck2006-03-011-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make help for the console command more explicit about how to specify the ↵Marcel Molina2005-11-211-0/+1
| | | | | | desired environment in which to run the console. Closes #2911. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/console uses RAILS_ENV environment variable if present. Closes #2932.Jeremy Kemper2005-11-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up the act of commandsDavid Heinemeier Hansson2005-09-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed all the scripts in script/* and replaced it with one generic portal: ↵David Heinemeier Hansson2005-09-291-0/+22
script/run git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de