Skip to content

Instantly share code, notes, and snippets.

@eiel
Created April 3, 2014 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eiel/9952602 to your computer and use it in GitHub Desktop.
Save eiel/9952602 to your computer and use it in GitHub Desktop.
puma のウェブサーバを起動してみるサンプル
require 'puma'
app = -> env { [200,{}, "hoge"] }
Rack::Handler.get(:puma).run app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment