Marcel Molina
98068a71df
Fix typo in benchmarker usage string.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 02:32:05 +00:00
Marcel Molina
93b4c0b6e1
Fix typo in profiler usage string.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 02:18:36 +00:00
Marcel Molina
4f1e37ccd4
Add install.rb file to plugin generation which is loaded, if it exists, when you install a plugin.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-03 06:53:14 +00:00
Sam Stephenson
833d9c89fc
Run initialize_logger in script/lighttpd to ensure the log file exists before tailing it
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-30 19:18:55 +00:00
Jeremy Kemper
21d50e4d1a
script/plugin: handle root paths and plugin names which contain spaces. References #2995 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-23 22:24:16 +00:00
Sam Stephenson
2b6e2bfed7
Have the lighttpd server script report the actual ip to which the server is bound. Closes #2903 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 06:19:25 +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
Jeremy Kemper
9318131e05
Eliminate Subversion dependencies in scripts/plugin. Correct install options. Introduce --force option to reinstall a plugin. Closes #2842 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 23:35:19 +00:00
David Heinemeier Hansson
9e0642a4ac
Pulled auto-starting browser: More pain than gain
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2987 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-12 16:26:23 +00:00
David Heinemeier Hansson
7afaa6ed55
Disabled stderr suppressing until activesupport is available also in non-gem mode
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-10 11:23:20 +00:00
Nicholas Seckar
73a697c38a
Don't detach or fork for script/server tailing
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 22:57:05 +00:00
David Heinemeier Hansson
c7e5c27b51
Added automatic browser launching on OS X when starting script/server [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 22:15:01 +00:00
David Heinemeier Hansson
5879a2e919
Changed all script/* to use /usr/bin/env ruby instead of hard-coded Ruby path. public/dispatcher.* still uses the hard-coded path for compatibility with web servers that dont have Ruby in path [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 21:15:41 +00:00
Jeremy Kemper
850b9c7506
Remove bogus hyphen from script/process/reaper calls to 'ps'. Closes #2767 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 17:57:21 +00:00
Jamis Buck
b49de6b74b
Copy lighttpd.conf when it is first needed, instead of on app creation
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 17:45:53 +00:00
Sam Stephenson
aec5273f41
Use require_library_or_gem 'fcgi' in script/server
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 15:35:03 +00:00
David Heinemeier Hansson
bbe9ee13e1
Make sure to check for FCGI as well as lighttpd
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2917 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 13:31:19 +00:00
David Heinemeier Hansson
e85e58f7a9
Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/server (works like script/server, but using lighttpd and FastCGI). It will use lighttpd if available, otherwise WEBrick. You can force either or using 'script/server lighttpd' or 'script/server webrick' [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 10:42:52 +00:00
David Heinemeier Hansson
5ca8b5fca4
Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/server (works like script/server, but using lighttpd and FastCGI). It will use lighttpd if available, otherwise WEBrick. You can force either or using 'script/server lighttpd' or 'script/server webrick' [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 10:25:36 +00:00
David Heinemeier Hansson
3c8d425bb2
Fail gracefully from svn checks ( closes #2700 ) [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 09:46:40 +00:00
Sam Stephenson
5c1eb899de
Make use of silence_stderr in script/lighttpd, script/plugin, and Rails::Info
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 04:06:05 +00:00
David Heinemeier Hansson
37e2085ff1
Fail gracefully when plugin was not found [Chad Fowler]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-06 13:06:38 +00:00
David Heinemeier Hansson
c7da7a38d7
svn:externals is now an explicit option for script/plugin ( closes #2755 ) [Ryan Tomayko]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-06 07:23:58 +00:00
Sam Stephenson
d3275cadaa
Enable HTTP installation of plugins when svn isn't avaialable. Closes #2661 . [Chad Fowler]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-06 01:39:32 +00:00
Sam Stephenson
71b032a0a6
Added script/about to display formatted Rails::Info output
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-05 14:30:47 +00:00
Sam Stephenson
f35792974a
script/lighttpd: Detach and exit the forked process
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-04 21:54:49 +00:00
Sam Stephenson
0c512ca990
script/lighttpd: tail the logfile when running in the foreground, and attempt to guess the port number
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-04 20:58:38 +00:00
Jeremy Kemper
fad2aae72b
Don't reap the spawner or reaper scripts either. Closes #2727 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-04 05:55:11 +00:00
Jeremy Kemper
f482bd5018
Don't reap spawn-fcgi. Closes #2727 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-03 22:08:56 +00:00
Jeremy Kemper
26311f6cd0
Reaper knows how to find processes even if the dispatch path is very long. Closes #2711 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-02 22:05:45 +00:00
Jeremy Kemper
aa0f382d08
We want ::Plugin, not Commands::Plugin. Closes #2664 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 17:26:55 +00:00
David Heinemeier Hansson
5500d13dd5
Patches go to trac now
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 12:58:41 +00:00
Jeremy Kemper
08acb95a3f
Improve script/plugin on Windows. Closes #2646 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 23:44:25 +00:00
David Heinemeier Hansson
f78a01820d
Dont hardcode
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 21:27:00 +00:00
David Heinemeier Hansson
0a735ca4b3
Added script/plugin to manage plugins (install, remove, list, etc) [Ryan Tomayko]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 21:21:07 +00:00
David Heinemeier Hansson
419794d8ba
Work, but better!
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 20:42:00 +00:00
David Heinemeier Hansson
1832447fb6
You've been down that road, Neo. You know where it ends. And I know it's not where you want to be.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 20:37:21 +00:00
Jamis Buck
ae294afa8d
Documentation updates/fixes for railties
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 03:00:44 +00:00
David Heinemeier Hansson
50f3c3cc40
Updated documentation and fixed the spinner to reference the new spawner by default
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 13:48:03 +00:00
David Heinemeier Hansson
29d4c2b36f
Finished move
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 21:25:40 +00:00
David Heinemeier Hansson
8ad552a112
Moving perform to performance
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 21:21:56 +00:00
Jeremy Kemper
00656979fe
r3619@sedna: jeremy | 2005-10-14 14:41:24 -0700
...
move scripts
r3622@sedna: jeremy | 2005-10-14 14:54:48 -0700
remove script/perform and script/process in favor of script/perform/profile, etc.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 18:58:07 +00:00
Jeremy Kemper
86455d31f2
Sanitize benchmarker. [times] argument is optional, defaults to 1.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2583 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 14:46:27 +00:00
Jeremy Kemper
d8738be0b9
Fix commands/perform
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 14:23:01 +00:00
David Heinemeier Hansson
4a1ed01e9d
Update docs
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 03:28:22 +00:00
David Heinemeier Hansson
276f14444c
Made them actually work
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2577 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 03:22:18 +00:00
Jamis Buck
4b78e5bddb
Fix problem with RAILS_ENV being frozen when set from environment variable
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 02:51:33 +00:00
David Heinemeier Hansson
cb24c0f141
Performers go .rb
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 02:29:56 +00:00
David Heinemeier Hansson
2bb72134b5
Fix spelling
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 02:28:56 +00:00