#292 √ resolved
Gabriel Handford

[PATCH] Add --rackup (-R) option to merb CLI

Reported by Gabriel Handford | May 1st, 2008 @ 08:47 PM

I have a scenario where I have multiple rackup config files and would like to specify which rackup config file to use as a argument to merb.

For example, we have different rack config files based on the environment.

So it would be good to have a --rackup, -R option and not be tied down to using the default config/rack.rb

I have a patch, and it can be pulled from:

http://github.com/gabriel/merb-c...

Currently, thin supports the same cli syntax (-R, --rackup), so that was chosen to be consistent.

In thin stable github repo, see: runner.rb and controller.rb (start method)

I included spec tests to make sure the change is backwards compatible.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »