Hi everybody,
I am trying to configure the server so that WEBrick runs on a
different Port and IP Address.
The Book Ruby on Rails: Up and Running 1st Edition says to change
script/server
OPTIONS = {
:port => 3030,
:ip => “0.0.0.0”,
:environment => “development”,
:server_root => File.expand_path(File.dirname(FILE) + “/…/
public/”
),
:server_type => WEBrick::SimpleServer
}
What I see in script/server is:
require File.expand_path(’…/…/config/boot’, FILE)
require ‘commands/server’
How do I configure the server?
I know there is a 2nd Edition of Ruby on Rails: Up and Running but I
only have the 1st Edition for now.
Thanks,
Sze