diff options
Diffstat (limited to 'railties/lib/commands/servers')
-rw-r--r-- | railties/lib/commands/servers/lighttpd.rb | 1 | ||||
-rw-r--r-- | railties/lib/commands/servers/webrick.rb | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/railties/lib/commands/servers/lighttpd.rb b/railties/lib/commands/servers/lighttpd.rb index 456c6e0e9e..a35bc984c7 100644 --- a/railties/lib/commands/servers/lighttpd.rb +++ b/railties/lib/commands/servers/lighttpd.rb @@ -52,6 +52,5 @@ else end trap(:INT) { exit } -Thread.new { sleep 0.5; `open http://0.0.0.0:#{port}` } if RUBY_PLATFORM =~ /darwin/ `lighttpd #{!detach ? "-D " : ""}-f #{config_file}` tail_thread.kill if tail_thread
\ No newline at end of file diff --git a/railties/lib/commands/servers/webrick.rb b/railties/lib/commands/servers/webrick.rb index d06e3309bd..db8e8b3d93 100644 --- a/railties/lib/commands/servers/webrick.rb +++ b/railties/lib/commands/servers/webrick.rb @@ -8,8 +8,7 @@ OPTIONS = { :server_root => File.expand_path(RAILS_ROOT + "/public/"), :server_type => WEBrick::SimpleServer, :charset => "UTF-8", - :mime_types => WEBrick::HTTPUtils::DefaultMimeTypes, - :open_in_browser => true + :mime_types => WEBrick::HTTPUtils::DefaultMimeTypes } ARGV.options do |opts| |