[Nitro] Setting the runner port?

James Britt james_b at neurogami.com
Sat Oct 15 10:59:10 EDT 2005

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?




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