[Nitro] Newbie needs help

Michael Fellinger m.fellinger at gmail.com
Sun Nov 13 11:16:07 EST 2005


this is easy, just add in your run.rb following line:

Nitro::Server.address = '127.0.0.1'

that's it, you can change the port the same way, via

Nitro::Server.port = 9999

have fun :)
manveru

Am Sonntag 13 November 2005 17:01 schrieb Aureliano Calvo:
> One more thing.
> Right now, it's binding to all the ip interfases in my
> PC. How can I bind it to localhost only (I don't want
> my server to be published on the network).
>
> Thank you very much for your time,
> Aureliano.
>
> > Thank you, it's working.
> > What does the redcloth gem do?
> >
> > Thank you,
> > Aureliano.
> >
> > > Hi,
> > >
> > > can you run:
> > >
> > > gem install redcloth
> > >
> > > and try again?
> > >
> > > bryan
> > >
> > > On 11/12/05, Aureliano Calvo
> > >
> > > <aurelianocalvo at yahoo.com.ar> wrote:
> > > > Hi!
> > > >
> > > > I'm trying to run the nitro hello world example
> > >
> > > but
> > >
> > > > I'm unable to start it. This is the error:
> > > >
> > > > E:\nitro\examples\hello>ruby -rubygems run.rb
>
> c:/ruby/lib/ruby/site_ruby/1.8/nitro/controller.rb:139:
> > > > uninitialized constant Nitro::Controller::Markup
> > > > (NameError)
> > > > from
>
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
>
> > > > `require__'
> > > > from
>
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
>
> > > > `require'
> > > > from
> > > > c:/ruby/lib/ruby/site_ruby/1.8/nitro.rb:36
> > > > from
>
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
>
> > > > `require__'
> > > > from
>
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
>
> > > > `require'
> > > > from run.rb:1
> > > >
> > > > I'm using the Ruby one click installer on
> >
> > Windows
> >
> > > XP
> > >
> > > > and installed nitro and its dependencies running
> > >
> > > "gem
> > >
> > > > install nitro".
> > > >
> > > > I thought that I might had a wrong nitro
> >
> > version,
> >
> > > and
> > >
> > > > I've upgraded all the gems in the system with
> >
> > "gem
> >
> > > > update" but it isn't working.
> > > >
> > > > Can you help me?
> > > >
> > > > Thank's,
> > > > Aureliano.
>
> ___________________________________________________________
>
> > > > 1GB gratis, Antivirus y Antispam
> > > > Correo Yahoo!, el mejor correo web del mundo
> > > > http://correo.yahoo.com.ar
> > > >
> > > > _______________________________________________
> > > > Nitro-general mailing list
> > > > Nitro-general at rubyforge.org
> >
> > http://rubyforge.org/mailman/listinfo/nitro-general
> >
> > > > _______________________________________________
> > >
> > > Nitro-general mailing list
> > > Nitro-general at rubyforge.org
> >
> > http://rubyforge.org/mailman/listinfo/nitro-general
>
> ___________________________________________________________
>
> > 1GB gratis, Antivirus y Antispam
> > Correo Yahoo!, el mejor correo web del mundo
> > http://correo.yahoo.com.ar
> >
> > _______________________________________________
> > Nitro-general mailing list
> > Nitro-general at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/nitro-general
>
> ___________________________________________________________
> 1GB gratis, Antivirus y Antispam
> Correo Yahoo!, el mejor correo web del mundo
> http://correo.yahoo.com.ar
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20051113/60d2d030/attachment.bin 


More information about the Nitro-general mailing list