[Nitro] Setting the runner port?

James Britt james_b at neurogami.com
Sat Oct 15 11:19:23 EDT 2005


James Britt wrote:
> I thought I could change the default port for the Spark wiki (running 
> with the WEBrick runner) like this, in run.rb:
> 
>   Nitro.run( :controller =>  WikiController,
>              :port => 7070 )
> 
> 
> But it doesn't seem to do what I want, and in poking through the code it 
> appears that 'run' passes the options hash off to 'start', but in 
> neither place is anything looking for a :port option.
> 
> How can I change the port?
> 

And the host, too.  I've manged to just hack the source, but I'm blind 
as to where I set application config settings.



James


-- 

http://www.ruby-doc.org - The Ruby Documentation Site
http://www.rubyxml.com  - News, Articles, and Listings for Ruby & XML
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com  - Playing with Better Toys



More information about the Nitro-general mailing list