unicorn.git  about / heads / tags
Rack HTTP server for Unix and fast clients
blob cb90b4b352f4639aa7b065d519d96e501ae6b1bb 457 bytes (raw)
$ git show v0.4.1:test/rails/app-2.0.2/config/environment.rb	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
unless defined? RAILS_GEM_VERSION
  RAILS_GEM_VERSION = ENV['UNICORN_RAILS_VERSION']
end

# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')

Rails::Initializer.run do |config|
  config.frameworks -= [ :action_web_service, :action_mailer ]
  config.action_controller.session = {
    :session_key => "_unicorn_rails_test.#{rand}",
    :secret => "#{rand}#{rand}#{rand}#{rand}",
  }
end

git clone https://yhbt.net/unicorn.git