Skip to content

Instantly share code, notes, and snippets.

@resistorsoftware
Created July 28, 2014 15:26
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 resistorsoftware/2964ee34781383e31418 to your computer and use it in GitHub Desktop.
Save resistorsoftware/2964ee34781383e31418 to your computer and use it in GitHub Desktop.
Unicorn setup
require 'rack/session/dalli'
cache = Dalli::Client.new(ENV['MEMCACHIER_SERVERS'])
use Rack::Session::Dalli, {:cache => cache, expire_after: 60}
source 'https://rubygems.org'
ruby '2.1.2'
gem "sinatra", :require => 'sinatra/base'
gem "sinatra-flash", :require => "sinatra/flash"
gem "haml"
gem "warden"
gem "unicorn"
gem 'activerecord', "~> 4.0", :require => 'active_record'
gem 'actionmailer', "~> 4.0", :require => 'action_mailer'
gem 'shopify_api'
gem 'sinatra-activerecord'
gem 'pg'
gem 'heroku-api'
gem "rake"
gem 'omniauth-shopify-oauth2'
gem 'dalli'
gem 'memcachier'
gem 'pry'
gem 'delayed_job'
gem 'delayed_job_active_record'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment