Option mime (-m) does'nt work

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs