[Mongrel] Option mime (-m) does'nt work

Ripta Pasay lists at ruby-forum.com
Wed Sep 3 12:12:32 EDT 2008


The -m option is an option to mongrel_rails, not script/server. Try 
"mongrel_rails start -p 3001 -m config/mongrel_mime.yml" instead, or 
"mongrel_rails start -h" for help.

Ripta

Anders Eriksen wrote:
> Trying to start Mongrel with:
> ruby script/server -p 3001 -m config/mongrel_mime.yml
> 
> The config-file tells Mongrel to use ISO-8859-1 and includes:
> .htm: text/html; charset=ISO-8859-1
> .html: text/html; charset=ISO-8859-1
> 
> But mongrel returns the following error when starting up:
> 
> server: invalid option: -m
> 
> But isn't the -m option the one to use?
> 
> Anders

-- 
Posted via http://www.ruby-forum.com/.


More information about the Mongrel-users mailing list