Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from Jan 4, 2013

Conversation

Projects
None yet
2 participants
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 added a commit that referenced this pull request Jan 4, 2013

Merge pull request #480 from udzura/master
Add a rackup option for a one-liner rack app server

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

1 check passed

default The Travis build passed
Details
Owner

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