joshua@crackcreative.com
2008-Sep-15 22:34 UTC
[Mongrel] scripts/server with mongrel arguments
Does anyone here know how to pass an argument like: "-S config/ mongrel_upload_progress.conf" to the mongrel that is run using the standard scripts/server command in a Rails app? I haven''t been able to find any documentation on this. Thanks, j
joshua at crackcreative.com
2008-Sep-15 23:13 UTC
[Mongrel] scripts/server with mongrel arguments
Does anyone here know how to pass an argument like: "-S config/ mongrel_upload_progress.conf" to the mongrel that is run using the standard scripts/server command in a Rails app? I haven''t been able to find any documentation on this. Thanks, j
Quoting joshua at crackcreative.com <joshua at crackcreative.com>:> Does anyone here know how to pass an argument like: "-S config/ > mongrel_upload_progress.conf" to the mongrel that is run using the > standard scripts/server command in a Rails app? I haven''t been able > to find any documentation on this.Looking at the rails script that is invoked, it doesn''t look like there is an option like what you want. But the script seems well enough constructed that you are likely to be able to add that yourself if you don''t mind re-adding that to your rails gem - or to vendor/rails if you run a personal copy of rails for each server. Have a look at the options allowed by: ruby/gems/1.8/gems/rails-2.1.0/lib/commands/servers/mongrel.rb