1
# -*- encoding: binary -*-
3
unless defined? RAILS_GEM_VERSION
4
RAILS_GEM_VERSION = ENV['UNICORN_RAILS_VERSION']
7
# Bootstrap the Rails environment, frameworks, and default configuration
8
require File.join(File.dirname(__FILE__), 'boot')
10
Rails::Initializer.run do |config|
11
config.frameworks -= [ :action_web_service, :action_mailer ]
12
config.action_controller.session_store = :active_record_store
13
config.action_controller.session = {
14
:session_key => "_unicorn_rails_test.#{rand}",
15
:secret => "#{rand}#{rand}#{rand}#{rand}",