Add a rackup option for a one-liner rack app server #480

Merged
merged 2 commits into from Jan 4, 2013

Projects

None yet

2 participants

@udzura
Contributor
udzura commented Jan 3, 2013

Hi, Rack team,

I have created a rackup option -b/--builder, which is passed with Rack::Builder's build script.

This patch allows you a command like below, and will boot up the file directory server, without any config.ru file.

bundle exec rackup -b "run Rack::Directory.new '.'"

I intend this option to be just used as plackup's one-liner option -e.

How do you think?

Thanks,
KONDO Uchio

@raggi raggi merged commit 7e1f081 into rack:master Jan 4, 2013

1 check passed

default The Travis build passed
Details
@raggi
Member
raggi commented Jan 4, 2013

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment