Skip to content

Instantly share code, notes, and snippets.

@cblunt
Last active September 30, 2015 19:48
Show Gist options
  • Save cblunt/1853175 to your computer and use it in GitHub Desktop.
Save cblunt/1853175 to your computer and use it in GitHub Desktop.
source 'https://rubygems.org'
gem 'rails', '3.2.1'
gem 'pg'
gem 'jquery-rails'
gem 'slim-rails'
gem 'simple_form'
gem 'kaminari'
# To notify developer of exceptions
gem 'exception_notification'
# For hooking deploys into Codebase API
gem 'codebase4'
# Custom Gems
# gem 'plymsoftware_core', :git => 'git://github.com/plymouthsoftware/core.git'
# Other useful gems
# gem 'friendly_id', '~> 4.0.0'
# gem 'rack-ssl', :require => 'rack/ssl'
# gem 'whenever', :require => false
# File uploads / Cloud Storage
# gem 'carrierwave'
# gem 'fog', '~> 1.0.0'
# gem 'mini_magick'
# Payments, e.g. PayPal
# gem 'activemerchant'
group :development, :test do
gem 'awesome_print'
gem 'capistrano'
gem 'guard-rspec'
gem 'yard'
gem 'factory_girl_rails', '~> 1.2'
gem 'faker'
gem 'mocha'
gem 'shoulda-matchers'
gem 'steak' # includes rspec and capybara
# gem 'simplecov' # Ruby 1.9
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# Twitter Bootstrap CSS
# gem 'twitter-bootstrap-rails'
# gem 'twitter-bootstrap-rails', :git => "git://github.com/seyhunak/twitter-bootstrap-rails.git", :branch => "static"
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer'
gem 'uglifier', '>= 1.0.3'
end
# config/environments/production.rb
# Configure ActionMailer to send via SendGrid
config.action_mailer.smtp_settings = {
:address => 'smtp.sendgrid.net',
:port => 587,
:domain => ENV['SENDGRID_DOMAIN'],
:authentication => :plain,
:user_name => ENV['SENDGRID_USERNAME'],
:password => ENV['SENDGRID_PASSWORD'],
:enable_starttls_auto => true
}
config.action_mailer.delivery_method = :smtp
# Configure exception notification
config.middleware.use ExceptionNotifier,
:email_prefix => '[Exceptions] [Application Name] ',
:sender_address => '[email protected]',
:exception_recipients => %w{[email protected]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment