Skip to content

Instantly share code, notes, and snippets.

@jasdeepsingh
Last active December 19, 2015 08:19
Show Gist options
  • Save jasdeepsingh/5924519 to your computer and use it in GitHub Desktop.
Save jasdeepsingh/5924519 to your computer and use it in GitHub Desktop.
add-puma-gem
source 'https://rubygems.org'
gem 'rails', '3.2.11'
gem 'puma'
# .. other beautiful glowing gems you might have in your project.
#!/usr/bin/env ruby
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
require 'rack/handler'
Rack::Handler::WEBrick = Rack::Handler.get(:puma)
APP_PATH = File.expand_path('../../config/application', __FILE__)
require File.expand_path('../../config/boot', __FILE__)
require 'rails/commands'
=> Booting Puma
=> Rails 3.2.11 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Puma 2.0.1 starting...
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://0.0.0.0:3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment