Skip to content

Instantly share code, notes, and snippets.

@soffes
Created February 19, 2010 19:36
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 soffes/309099 to your computer and use it in GitHub Desktop.
Save soffes/309099 to your computer and use it in GitHub Desktop.
# Be sure to restart your server when you modify this file
# Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
require "refraction"
Rails::Initializer.run do |config|
# Turn on Refraction
config.middleware.insert_before(::Rack::Lock, ::Refraction, {})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment