1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Edit rackup start command to rackup -s Puma.

Steps to reproduce:
1. Create config.ru. (http://guides.rubyonrails.org/v2.3.11/rails_on_rack.html#rackup)
2. rackup -s puma

Expected Result:
Application runs with puma as it's web server.

Actual Result:
.bundle/gems/rack-1.1.6/lib/rack/handler.rb:21:in `const_get': wrong constant name puma (NameError)

Solution:
Start with rackup -s Puma, NOT rackup -s puma.
This commit is contained in:
Hendra Uzia 2013-04-28 15:25:19 +07:00
parent cc91b6cd51
commit 6e6b0b0309

View file

@ -51,7 +51,7 @@ Then start your server with the `rails` command:
You can pass it as an option to `rackup`:
$ rackup -s puma
$ rackup -s Puma
Alternatively, you can modify your `config.ru` to choose Puma by default, by adding the following as the first line: