Commit Graph

78 Commits

Author SHA1 Message Date
Marcel Molina
5cb2aa722d Rename Version constant to VERSION. Closes #2802.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 00:32:16 +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
Jamis Buck
c2eb22e5c6 Add 'add_new_scripts' rake task for adding new rails scripts to script/*
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 18:09:31 +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
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
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
David Heinemeier Hansson
fd1d6d0eb3 Move down to 1 proc by default and a bit more help
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 20:09:52 +00:00
David Heinemeier Hansson
9ad0f08985 Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/lighttpd (works like script/server, but using lighttpd and FastCGI) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2787 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 17:54:07 +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
Jamis Buck
08a010eb1b Require rails_version instead of version
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-10 16:13:49 +00:00
Marcel Molina
68a322005d Add versioning convention from SwitchTower to all Rails components. Add --version, -v option to the 'rails' command. Closes #1840.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-09 21:15:45 +00:00
David Heinemeier Hansson
a9f34eaa0f Backed out of script/run portal idea. Muscle memory too deep
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-06 02:05:36 +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
David Heinemeier Hansson
070d218c47 Going to pull all commands into Rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2410 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-29 11:49:56 +00:00
David Heinemeier Hansson
5da4c39782 Make the reaper slightly more robust in the nudging department
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-19 16:40:53 +00:00
David Heinemeier Hansson
17250c9157 Fixed script/profiler for Ruby 1.8.2 #1863 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 09:17:38 +00:00
David Heinemeier Hansson
4836c4081d Fix problem with mime type defaults #2165 [Michael Shuerig]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 04:17:14 +00:00
David Heinemeier Hansson
17ef7067c8 Added -m/--mime-types option to the WEBrick server, so you can specify a Apache-style mime.types file to load #2059 [ask@develooper.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-09 09:07:43 +00:00
David Heinemeier Hansson
0cd7e6c1e0 Added -c/--charset option to WEBrick controller, so you can specify a default charset (which without changes is UTF-8) #2084 [wejn@box.cz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-09 08:59:07 +00:00
Jamis Buck
bb7f60ca1c Remove switchtower integration from rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-30 20:47:09 +00:00
Jamis Buck
b4a5b27bf6 Allow the --toggle-spin switch on process/reaper to be negated
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-24 17:30:00 +00:00
Jamis Buck
6050dfc46b Make the rakefile tasks that set up a new project aware of switchtower
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-17 17:17:18 +00:00
Jamis Buck
cc0105cef9 Added -w flag to ps in process/reaper #1934 [Scott Barron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1995 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-12 20:30:26 +00:00
Jamis Buck
3d4a323776 Add integration with SwitchTower (rake tasks, default deploy.rb recipe)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-03 15:02:31 +00:00
David Heinemeier Hansson
5b8b9178b3 Made the reaper talk to the spinner to make it spin faster during restarts and slower afterwards
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1931 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-26 12:39:44 +00:00
David Heinemeier Hansson
d75481c580 Added convenience controls for FCGI processes (especially when managed remotely): spinner, spawner, and reaper. They reside in script/process. More details can be had by calling them with -h/--help
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-24 07:57:10 +00:00
Jeremy Kemper
4bed0ab99d r2960@asus: jeremy | 2005-07-09 02:12:35 -0700
Ticket 1674 - Ruby version check
 r2961@asus:  jeremy | 2005-07-09 02:50:54 -0700
 Require RAILS_VERSION >= 1.8.2 and RAILS_RELEASE_DATE >= 2004-12-25.
 r2962@asus:  jeremy | 2005-07-09 02:54:49 -0700
 minimum_release -> min_release typo
 r2963@asus:  jeremy | 2005-07-09 02:56:14 -0700
 updated changelog


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-09 05:04:19 +00:00
David Heinemeier Hansson
707106f347 Added fixed gateway script [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 04:29:18 +00:00
David Heinemeier Hansson
1a7377a984 Made gateway.cgi work with a ruby called anything
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 19:49:40 +00:00
David Heinemeier Hansson
9e4f5f3397 Added an EXPERIMENTAL gateway.cgi for getting high-speed performance through vanilla CGI using a long-running, DRb-backed server in the background (using script/listener and script/tracker) #1603 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 19:16:28 +00:00
David Heinemeier Hansson
e15207f497 Added help text for WEBrick #1508 [courtney]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-26 04:45:30 +00:00
David Heinemeier Hansson
4351419ba5 Added -e/--environment option to script/runner #1408 [fbeausoleil@ftml.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-16 05:50:24 +00:00
David Heinemeier Hansson
ca873648ea Added graceful exit from pressing CTRL-C during the run of the rails command #1150 [Caleb Tennis]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-21 11:05:18 +00:00
David Heinemeier Hansson
2bccdba9d1 Made the console and profiler work with the default 1.8.2 profiler #1325 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-21 10:49:15 +00:00
David Heinemeier Hansson
54f2d1d944 Added console --profile for profiling an IRB session #1154 [bitsweat]. Changed console_sandbox into console --sandbox #1154 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-30 15:37:45 +00:00
David Heinemeier Hansson
bd441bb066 Updated to take compilation out of the measurements
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-18 19:03:25 +00:00
David Heinemeier Hansson
624d5bb176 Added script/benchmarker to easily benchmark one or more statement a number of times from within the environment. Added script/profiler to easily profile a single statement from within the environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-14 08:23:50 +00:00
David Heinemeier Hansson
2afb8a8cc0 Added script/runner which can be used to run code inside the environment by eval'ing the first parameter
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 17:36:23 +00:00
David Heinemeier Hansson
db41d2dd5c Fixed -h/--help for generate and destroy generators #331
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 11:42:17 +00:00
David Heinemeier Hansson
4ba8d08481 Removed a fix that was caused by a bug in RubyGems 0.8.5
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-28 13:58:42 +00:00
David Heinemeier Hansson
19dddf24a6 Slicker way of quiting on less than Ruby 1.8.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-27 21:16:37 +00:00
David Heinemeier Hansson
12e1eae87e Added early failure if the Ruby version isn't 1.8.2 or above #735
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-27 20:40:10 +00:00
David Heinemeier Hansson
f46515619f Fixed the missing shebang in main "rails" script #736
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-27 20:35:12 +00:00
David Heinemeier Hansson
b8a0903344 --i/index is obsolete #743
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-27 20:33:00 +00:00
David Heinemeier Hansson
ea26abeed8 Correct default for ip binding on webrick server #717
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-27 17:13:55 +00:00
David Heinemeier Hansson
df99b68f57 Changed default IP binding for WEBrick from 127.0.0.1 to 0.0.0.0 so that the server is accessible both locally and remotely #696 [Marcel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-23 12:26:25 +00:00
David Heinemeier Hansson
ab3a813364 Fixed that script/server -d was broken so daemon mode couldn't be used #687 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 23:04:42 +00:00
David Heinemeier Hansson
d7845d2919 Added --sandbox option to script/console that'll roll back all changes made to the database when you quit #672 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 23:07:57 +00:00