| View previous topic :: View next topic |
| Author |
Message |
NoJ
Joined: 16 Aug 2009 Posts: 3
|
Posted: Sun Aug 16, 2009 11:19 am Post subject: Adding WEBrick parameters ( binding IP ) |
|
|
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 |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Mon Aug 17, 2009 12:56 pm Post subject: Adding WEBrick parameters ( binding IP ) |
|
|
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:
| Quote: | 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
|
|
|
| Back to top |
|
 |
NoJ
Joined: 16 Aug 2009 Posts: 3
|
Posted: Mon Aug 17, 2009 2:45 pm Post subject: |
|
|
Alright Erno!
Thanks a bunch for patching this and also for sharing the information with me. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|