Brian Lopez
6d1344de5e
add support for mysql2 adapter to dbconsole
...
[#4532 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-05-04 15:47:12 -07:00
Anil Wadghule
c69dc1afaa
Fix for plugin not getting installed on Windows environment [ #4320 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-04-12 11:12:42 +02:00
Akira Matsuda
c5e3309bb4
Ruby 1.9 compat: Avoid using the return value of FileUtils.mkdir_p, as it does not return a String but an Array in Ruby 1.9
...
[#2018 state:committed milestone:2.3.5]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-09-11 19:21:31 -07:00
Kamal Fariz Mahyuddin
9284bcc35a
find_cmd should return the full path of the db command
...
[#1488 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-08-10 00:04:51 -07:00
Jacob Kjeldahl
d5f018eb10
Supply valid ruby-prof parameters [ #1804 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-05-17 14:53:50 +02:00
Jeff Schwab
e609d83f1a
Fixed an incompatibility with Ruby 1.9.
...
Ruby 1.8 strings are Enumerable, but there is no String#lines method. In
Ruby 1.9, the situation is reversed. To work around this disparity, the
RailsEnvironment#externals method now explicitly checks whether a String
responds_to? :lines.
[#2130 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-03-10 11:37:23 -07:00
Pratik Naik
8bc0f90d6d
script/plugin install should remove .gitignore too. [ #1306 state:resolved] [Esad Hajdarevic]
2009-03-06 17:23:31 +00:00
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
Chris Cherry
b6e7a76cc5
script/server command can accept --path option to set app's root path [ #1156 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-05 15:19:40 -06:00
Bryan Ray
f725b19710
Added options to script/dbconsole to sqlite3 console in various different modes. [ #607 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-01-28 19:47:45 +00:00
Pratik Naik
41af606db3
Remove script/performance/profiler in favour of performance integration tests.
...
To continue using script/performance/profiler, install the request_profiler plugin :
script/plugin install git://github.com/rails/request_profiler.git
2009-01-18 05:20:39 +00:00
pfagiani
7cda0df7f1
Fix script/dbconsole not handling numeric password [ #1395 state:resolved]
...
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com >
2008-12-21 16:48:02 +00:00
Jeremy Kemper
03f6ecc6c6
Use LogTailer
2008-12-18 16:53:53 -08:00
Joshua Peek
75fa82418d
Prefer Rails.logger over RAILS_DEFAULT_LOGGER
2008-12-10 18:08:14 -06:00
Jeremy Kemper
39de112e7b
Use full path to environment
2008-12-08 19:14:07 -08:00
Joshua Peek
25f6524b89
opps, inner_app is in the wrong conditional
2008-12-01 12:24:02 -06:00
Joshua Peek
61958032d3
Generate rackup dispatcher with rails:update:generate_dispatchers
2008-12-01 12:21:18 -06:00
David Heinemeier Hansson
3b3c0507e2
Extracted the process scripts (inspector, reaper, spawner) into the plugin irs_process_scripts [DHH]
2008-11-30 16:23:20 -06:00
Joshua Peek
c80fe1093d
Move debugger into middleware
2008-11-25 15:05:07 -06:00
Joshua Peek
e126e1aac0
don't try to require vendored rack in script/server
2008-11-25 13:26:38 -06:00
Joshua Peek
708f4c3ae6
Switch script/server to use rack processor
2008-11-22 14:48:32 -06:00
Joshua Peek
40c6a8b970
Drop lighttpd support from script/server
2008-11-22 14:10:50 -06:00
Joshua Peek
0ecf2f6bdb
Kill dead "new_mongrel" handler
2008-11-22 14:00:58 -06:00
Cyril Mougel
2144c0f8ff
Add flush by ensure in script/runner because no flush in production mode [ #803 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2008-11-22 13:32:36 -06: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
Akira Matsuda
5f7c42413b
Ruby 1.9 compat: remove instance variables and global variables from block parameters
...
[#1000 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2008-09-09 10:35:53 -07:00
Akira Matsuda
8e68ec4dcc
Ruby 1.9 compat: use String#lines instead of to_a in Ruby 1.9
...
[#1001 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2008-09-09 10:35:24 -07:00
Akira Matsuda
07eb9ffd15
Ruby 1.9 compat: remove constants from block parameters
...
[#1002 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2008-09-09 10:07:59 -07:00
Pratik Naik
6ef35461dc
Merge docrails
2008-09-03 17:58:47 +01:00
Michael Koziarski
eb2b81c766
Reverse the priority of the mysql commands in dbconsole
2008-08-24 13:20:23 +02:00
Daniel Rodríguez Troitiño
06e4eb49ea
Added file name information for errors and exceptions in script/runnner
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-08-08 10:48:52 +02:00
Tarmo Tänav
0b9bfbdebf
Use "/usr/bin/env ruby" instead of "/usr/local/bin/ruby"
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2008-07-31 16:39:48 -05:00
Tarmo Tänav
656f0e7c6c
Fix file permissions
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2008-07-31 16:36:23 -05:00
Michael Koziarski
f64bd2ca85
Ensure dbconsole includes the -p parameter to mysql as intended
2008-07-31 09:46:40 +02:00
Miles Georgi
92f944818e
Make script/plugin work with svn+ssh urls. [ #662 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-07-22 01:43:23 +01:00
Joshua Peek
e0d7bace4e
Prefer Mongrel over Thin [ #658 state:resolved]
2008-07-19 11:42:27 -05:00
Pratik Naik
0432d15164
Merge with docrails.
2008-07-16 13:01:23 +01:00
Tim Pope
5c08607082
Make script/plugin install <plugin> -r <revision> option work with git based plugins. [ #257 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-07-14 03:47:22 +01:00
Ricardo Santos
820992c98f
Ensure script/plugin unsource 'Usage' text is correct. [ #526 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-07-02 17:47:19 +01:00
Bob Klosinski
a93ea88c06
Added Thin support to script/server. [ #488 state:resolved]
2008-06-25 18:56:52 -07:00
Cheah Chu Yeow
f1cfd12487
Allow script/about to run in production mode instead of failing with a cryptic const_missing error.
...
[#370 state:resolved]
2008-06-23 10:27:33 -07:00
Michael Koziarski
0abf0da001
Don't provide the password with dbconsole unless explicitly opted in.
...
Some operating system configurations allow other users to view your process list
or environmental variables. This option should not be used on shared hosts.
http://dev.mysql.com/doc/refman/5.0/en/password-security.html
http://www.postgresql.org/docs/8.3/static/libpq-envars.html
2008-05-31 15:30:26 -07:00
Tekin Suleyman
1b0654ea41
Ensure script/plugin installs ssh/git plugins. [ #277 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-05-29 20:21:49 +01:00
Lawrence Pit
c2036adf76
Show rails version when the server starts. [ #235 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-05-22 12:06:27 +01: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
Kyle Hargraves
77f873acf2
dbconsole should not require a username for postgresql. [ #207 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-05-16 13:10:14 +01:00
Pratik Naik
80e18e759e
Ensure dbconsole respects erb in database.yml. [ #157 state:resolved] [Andrew Bennett]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-05-11 23:58:04 +01:00
Jeremy Kemper
2561732a08
Some dbconsole tweaks. [ #102 state:resolved]
2008-05-07 13:54:02 -07:00
Steve Purcell
4a07103687
Add 'script/dbconsole' -- the database analog of 'script/console'
2008-05-07 13:52:00 -07:00