Commit Graph

12 Commits

Author SHA1 Message Date
David Heinemeier Hansson 68e35f1371 Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-03 22:22:50 +00:00
David Heinemeier Hansson 45e59c8a51 Dont require rake to run the server, just have a little undryness instead (closes #4213) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 03:29:09 +00:00
Sam Stephenson c5d5c4f708 Use require_library_or_gem to load rake in commands/server.rb. Closes #4205.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-12 23:00:28 +00:00
Sam Stephenson e3ea34f7d3 Use the Rake API instead of shelling out to create the tmp directory in commands/server.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-12 17:04:33 +00:00
David Heinemeier Hansson eb01d35109 Added socket cleanup for lighttpd, both before and after [DHH] Added automatic creation of tmp/ when running script/server [DHH] Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-04 19:39:26 +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 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
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
Jamis Buck 634da0f010 Fix script/server to use the environment given by the -e toggle
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 18:13:22 +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