diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-11-18 16:28:12 -0800 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-11-18 16:28:37 -0800 |
commit | 520b8b59110dd130c89b317b6bd65d8644c7836f (patch) | |
tree | 95d93326f18d529b6f9f40cd0932dc549232e2ed /railties/lib/rails/commands | |
parent | 4403dfac6ce876c7ffb7a450b2249864c7a17cb7 (diff) | |
download | rails-520b8b59110dd130c89b317b6bd65d8644c7836f.tar.gz rails-520b8b59110dd130c89b317b6bd65d8644c7836f.tar.bz2 rails-520b8b59110dd130c89b317b6bd65d8644c7836f.zip |
Final steps toward clean rails "foo"; cd foo; gem bundle; script/server working
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/server.rb | 4 |
1 files changed, 3 insertions, 1 deletions
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 } |