This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 110655 - Allow user to pass parameters to mongrel
Summary: Allow user to pass parameters to mongrel
Status: RESOLVED DUPLICATE of bug 106908
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-23 23:38 UTC by zerohalo
Modified: 2008-01-07 06:21 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zerohalo 2007-07-23 23:38:21 UTC
It would be helpful to be able to pass parameters to mongrel when using "run" to fire up a Rails application. Currently,
only the port number can be specified (under Set Configuration ... Customize, in Project context menu.) Could a field be
added to that same Set Configuration window that accepts parameters that can be passed to mongrel?

For example, mongrel accepts the --prefix=/path option which is useful when you have several sites on the same server.

And in some cases, you may need to test a project in production mode, and therefore, you'd want to run mongrel with
production rather than development. Currently, NB runs mongrel in development by default and there's no possibility to
change it. (NB also runs mongrel in development even if the "RAILS_ENV" is set to "production".) An additional field
would allow the user to put "-e production" if he wanted to start mongrel in production. Or, you could have a radio
button to select either "production" or "development".
Comment 1 Martin Krauskopf 2008-01-07 06:21:38 UTC
Hi zerohalo, this is already tracked under issue 106908. You might CC yourself there to be notified about progress.
Thanks for feedback.

*** This issue has been marked as a duplicate of 106908 ***