about summary refs log tree commit homepage
path: root/test/rails/app-1.2.3/config/environment.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-03-31 17:34:10 -0700
committerEric Wong <normalperson@yhbt.net>2009-03-31 19:00:21 -0700
commitaba465e9d196737b07786a759ba320c89ae31c2e (patch)
tree112b91937c258682b4d307a64775ac01cf0f1bcf /test/rails/app-1.2.3/config/environment.rb
parent3adce6a1a803a00cb5cc9da758a10a658aab98ec (diff)
downloadunicorn-aba465e9d196737b07786a759ba320c89ae31c2e.tar.gz
Very preliminary for now.  Basically just sets up a basic
controller and response.  Requires git to clone the official
Rails repository.
Diffstat (limited to 'test/rails/app-1.2.3/config/environment.rb')
-rw-r--r--test/rails/app-1.2.3/config/environment.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/rails/app-1.2.3/config/environment.rb b/test/rails/app-1.2.3/config/environment.rb
new file mode 100644
index 0000000..ddeeba4
--- /dev/null
+++ b/test/rails/app-1.2.3/config/environment.rb
@@ -0,0 +1,10 @@
+unless defined? RAILS_GEM_VERSION
+  RAILS_GEM_VERSION = ENV['UNICORN_RAILS_VERSION'] # || '1.2.3'
+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 ]
+end