Skip to content

Instantly share code, notes, and snippets.

@canweriotnow
Created July 24, 2012 18:33
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 canweriotnow/3171704 to your computer and use it in GitHub Desktop.
Save canweriotnow/3171704 to your computer and use it in GitHub Desktop.
Pieces of my app...
source 'http://rubygems.org'
gem 'rake', '0.8.7'
gem 'rails', '~> 3.0.7'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
# New Relic monitoring
gem 'newrelic_rpm'
gem 'rpam-ruby19'
gem 'authlogic', :git => "git://github.com/jhu-idcs/authlogic.git"
gem 'authlogic_pam', :git => "git://github.com/jhu-idcs/authlogic_pam.git"
gem 'cancan'
gem 'rails_admin', :git => 'git://github.com/sferik/rails_admin.git', :branch => 'rails-3.0'
gem 'pg'
gem 'jquery-rails'
gem 'sass'
gem 'haml'
gem 'therubyracer'
gem 'uglifier'
gem 'barista'
# Social plugins
gem 'oauth'
gem 'oauth-plugin', '0.4.0.rc1'
gem 'oauth2'
gem 'twitter', '~> 1.7.2'
gem 'foursquare2'
gem 'koala'
gem 'fb_graph'
gem 'reactive_resource'
gem 'exception_notification', :require => 'exception_notifier'
# Use unicorn as the web server
gem 'unicorn'
gem 'nifty-generators'
# Deploy with Capistrano
gem 'capistrano'
# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
# gem 'ruby-debug'
# gem 'ruby-debug19', :require => 'ruby-debug'
# Bundle the extra gems:
# gem 'bj'
# gem 'nokogiri'
# gem 'sqlite3-ruby', :require => 'sqlite3'
# gem 'aws-s3', :require => 'aws/s3'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
group :development, :test do
gem 'wirble'
gem 'drx'
gem 'capybara'
gem 'rspec-rails'
gem 'cucumber-rails'
gem 'selenium'
gem 'jasmine'
gem 'factory_girl_rails'
end
gem "mocha", :group => :test
Jcmobile::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
config.cache_classes = true
# Full error reports are disabled and caching is turned on
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
# Specifies the header that your server uses for sending files
config.action_dispatch.x_sendfile_header = "X-Sendfile"
# For nginx:
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
# If you have no front-end server that supports something like X-Sendfile,
# just comment this out and Rails will serve the files
# See everything in the log (default is :info)
# config.log_level = :debug
# Use a different logger for distributed setups
# config.logger = SyslogLogger.new
# Use a different cache store in production
# config.cache_store = :mem_cache_store
# Disable Rails's static asset server
# In production, Apache or nginx will already do this
config.serve_static_assets = false
# Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"
# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
config.action_mailer.raise_delivery_errors = true
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = { :address => "voyager.ca.jhu.edu" }
# Enable threaded mode
# config.threadsafe!
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation can not be found)
config.i18n.fallbacks = true
# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment