mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Starting, not started yet
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
ee8121fc76
commit
f24ed3bf6d
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ config = IO.read(config_file)
|
||||||
default_port, default_ip = 3000, '0.0.0.0'
|
default_port, default_ip = 3000, '0.0.0.0'
|
||||||
port = config.scan(/^\s*server.port\s*=\s*(\d+)/).first rescue default_port
|
port = config.scan(/^\s*server.port\s*=\s*(\d+)/).first rescue default_port
|
||||||
ip = config.scan(/^\s*server.bind\s*=\s*"([^"]+)"/).first rescue default_ip
|
ip = config.scan(/^\s*server.bind\s*=\s*"([^"]+)"/).first rescue default_ip
|
||||||
puts "=> Rails application started on http://#{ip || default_ip}:#{port || default_port}"
|
puts "=> Rails application starting on http://#{ip || default_ip}:#{port || default_port}"
|
||||||
|
|
||||||
tail_thread = nil
|
tail_thread = nil
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue