From 520b8b59110dd130c89b317b6bd65d8644c7836f Mon Sep 17 00:00:00 2001 From: Yehuda Katz + Carl Lerche Date: Wed, 18 Nov 2009 16:28:12 -0800 Subject: Final steps toward clean rails "foo"; cd foo; gem bundle; script/server working --- railties/lib/rails/commands/server.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'railties/lib/rails/commands') diff --git a/railties/lib/rails/commands/server.rb b/railties/lib/rails/commands/server.rb index 2c90851fb2..450970e4f5 100644 --- a/railties/lib/rails/commands/server.rb +++ b/railties/lib/rails/commands/server.rb @@ -3,11 +3,13 @@ require 'action_dispatch' require 'fileutils' require 'optparse' +# Waiting for Rack::Server patch + options = { :Port => 3000, :Host => "0.0.0.0", :environment => (ENV['RAILS_ENV'] || "development").dup, - :config => "#{Rails.root}/config.ru", + :config => $config_ru, :detach => false, :debugger => false } -- cgit v1.2.3