1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

17 commits

Author SHA1 Message Date
Jeremy Kemper
04fdb6eccb Revert "Speed up script/console by launching IRB directly."
[#2104 state:open]

This reverts commit 3b169cd693.
2009-03-01 19:04:32 -08:00
Charles Nutter
3b169cd693 Speed up script/console by launching IRB directly.
[#2104 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-02-28 17:03:37 -08:00
miloops
c98cb8ffc2 Add --debugger option to script/console.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1025 state:committed]
2008-09-11 17:12:00 +02:00
Ryan Bates
4e084c3d98 Add Rails.version. [#236 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-05-22 11:56:30 +01:00
Jeremy Kemper
ab9e4c0eaa Ruby 1.9 compatibility. References #1689.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-12-17 18:54:55 +00:00
David Heinemeier Hansson
4cf23c9f8e Print Rails version when starting console (closes #7440) [eyematz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-22 22:17:10 +00:00
Jeremy Kemper
d699084f7a script/console quotes RAILS_ROOT in irb command line so it works with spaces in the path. Closes #7955.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-09 17:34:24 +00:00
Jeremy Kemper
8dfe5b78fa Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-06 09:22:07 +00:00
David Heinemeier Hansson
9040f40682 Added one-letter aliases for the three default environments to 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
2006-12-01 00:08:33 +00:00
Nicholas Seckar
81a6a60dc6 Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-28 20:53:00 +00:00
David Heinemeier Hansson
ebc0a38d40 Use --simple-prompt instead of --prompt-mode simple for console 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
2006-04-01 19:08:04 +00:00
Marcel Molina
330823687b Make all ActionView helpers available in the console for debugging purposes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-21 20:07:41 +00:00
Jamis Buck
7056fc6782 Add 'app' accessor to script/console as an instance of Integration::Session
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-01 15:52:40 +00:00
Marcel Molina
f14625bb46 Make help for the console command more explicit about how to specify the 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
2005-11-21 05:33:13 +00:00
Jeremy Kemper
97d5f4acdf script/console uses RAILS_ENV environment variable if present. Closes #2932.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-18 07:33:28 +00:00
David Heinemeier Hansson
d219d54930 Clean up the act of commands
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-29 12:33:48 +00:00
David Heinemeier Hansson
0a0ac86845 Removed all the scripts in script/* and replaced it with one generic portal: script/run
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-29 12:18:51 +00:00
Renamed from railties/bin/console (Browse further)