X
Xeno Campanoli
First of all, there seems to be this claim on page 7 that the contents
of script/server is:
...
OPTIONS = {
ort => 3000,
:ip => "0.0.0.0",
:environment => "development",
:server_root => "File.expand_path(File.dirname(__FILE__) +
"/../../public/"),
:server_type => WEBrick::SimpleServer
}
...
--snip---
I'm not seeing the above anywhere, and my chapter-1/script/server has
the following content:
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/server'
---snip---
Is there an updated instruction in this regard? I'd like to hook up
also to Apache and lighthttpd, and presumably that was the old place
where it was done??
of script/server is:
...
OPTIONS = {
ort => 3000,
:ip => "0.0.0.0",
:environment => "development",
:server_root => "File.expand_path(File.dirname(__FILE__) +
"/../../public/"),
:server_type => WEBrick::SimpleServer
}
...
--snip---
I'm not seeing the above anywhere, and my chapter-1/script/server has
the following content:
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/server'
---snip---
Is there an updated instruction in this regard? I'd like to hook up
also to Apache and lighthttpd, and presumably that was the old place
where it was done??