Skip to content

Instantly share code, notes, and snippets.

@oogali
Created March 15, 2013 15:46
Show Gist options
  • Select an option

  • Save oogali/5170828 to your computer and use it in GitHub Desktop.

Select an option

Save oogali/5170828 to your computer and use it in GitHub Desktop.
Switching from Thin to Puma...
diff --git a/Gemfile b/Gemfile
index ae735c6..0c19644 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,10 +2,11 @@ source :rubygems
gem 'SystemTimer', :platforms => :ruby_18
gem 'eventmachine'
gem 'thin'
+gem 'puma', :git => 'git://github.com/puma/puma.git'
gem 'hiredis'
gem 'redis', '>= 2.2.0', :require => ['redis', 'redis/connection/hiredis']
gem 'redis-objects'
-gem 'sinatra'
+gem 'sinatra', :git => 'git://github.com/sinatra/sinatra.git'
gem 'async_sinatra'
gem 'sinatra-activerecord', '~> 0.1'
gem 'activerecord'
@@ -15,7 +16,9 @@ gem 'sqlite3'
gem 'haml'
gem 'sass'
gem 'json'
-gem 'rack', :git => 'git://github.com/rack/rack.git'
+gem 'rack', '>= 1.5.2', :git => 'git://github.com/rack/rack.git'
+gem 'rack-protection', '~> 1.5', :git => 'git://github.com/rkh/rack-protection.git'
+gem 'tilt', :git => 'git://github.com/rtomayko/tilt.git'
gem 'rake'
gem 'rack-flash3', :require => 'rack/flash'
gem 'bcrypt-ruby'
@@ -31,10 +34,6 @@ gem 'hipchat'
gem 'prawn'
gem 'sinatra-static-assets', :require => 'sinatra/static_assets'
-group :development do
- gem 'sinatra-reloader', :require => 'sinatra/reloader'
-end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment