# Scripts/server with mongrel arguments

**URL:** <https://www.ruby-forum.com/t/scripts-server-with-mongrel-arguments/148662>\
**Category:** Mongrel\
**Created:** [September 16, 2008, 1:16am UTC](https://www.ruby-forum.com/t/scripts-server-with-mongrel-arguments/148662 "2008-09-16T01:16:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 16, 2008, 1:16am UTC](https://www.ruby-forum.com/t/scripts-server-with-mongrel-arguments/148662/1 "2008-09-16T01:16:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 16, 2008, 1:40am UTC](https://www.ruby-forum.com/t/scripts-server-with-mongrel-arguments/148662/2 "2008-09-16T01:40:01Z")

</div>

Quoting removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> 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
