lib/rakeup/server_task.rb in rakeup-1.1.0 vs lib/rakeup/server_task.rb in rakeup-1.2.0
- old
+ new
@@ -22,10 +22,10 @@
attr_accessor :stop_command
attr_accessor :restart_command
def initialize(name = :server)
@name = name
- @host = nil
+ @host = 'localhost'
@port = 4567
@pid_file = "tmp/#{name}.pid"
@rackup_file = "#{name}.ru"
@rackup_bin = "bundle exec rackup"
@server = "thin"