Created
February 19, 2010 19:36
-
-
Save soffes/309099 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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