Adding WEBrick parameters ( binding IP )

View: New views
3 Messages — Rating Filter:   Alert me  

Adding WEBrick parameters ( binding IP )

by Nils o. Janus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Guys,



is there a way of passing additional parameters to WEBrick in a rails project through the IDE?



In the project properties I can only setup port, environment and URL whereas WEBrick lets me specify a binding IP as well.



I'd greatly appreciate any pointers on how to set this in the IDE directly, since up to now I've always hard-coded the binding IP in the source, which is somewhat annoying, especially if I move between different network locations and have to change the hard-coded stuff every time I move.



Cheers

NoJ






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Adding WEBrick parameters ( binding IP )

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

Unfortunately this isn't possible in 6.7, but I just committed a change
that allows setting any parameters for the server in Project Properties
- there's now a new "Server Arguments" field that accepts parameters in
the same format as from the command line (e.g. "-b 123.123.123.123" for
the binding IP). This will be available in the next CI build
(http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-GettingADevelopmentBuild)
and hence also in 6.8 M2 once it is out.

Cheers,
Erno


NoJ wrote:

> Hi Guys,
>
>
>
> is there a way of passing additional parameters to WEBrick in a rails project through the IDE?
>
>
>
> In the project properties I can only setup port, environment and URL whereas WEBrick lets me specify a binding IP as well.
>
>
>
> I'd greatly appreciate any pointers on how to set this in the IDE directly, since up to now I've always hard-coded the binding IP in the source, which is somewhat annoying, especially if I move between different network locations and have to change the hard-coded stuff every time I move.
>
>
>
> Cheers
>
> NoJ
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Adding WEBrick parameters ( binding IP )

by Nils o. Janus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Alright Erno!



Thanks a bunch for patching this and also for sharing the information with me.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...