photomix/config/environment.rb

25 lines
798 B
Ruby
Raw Normal View History

2009-05-22 14:13:46 +02:00
# Be sure to restart your server when you modify this file
# Specifies gem version of Rails to use when vendor/rails is not present
2009-10-12 00:20:38 +02:00
#RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION
2009-05-22 14:13:46 +02:00
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
# Load heroku vars from local file
balder_env = File.join(RAILS_ROOT, 'config', 'balder.rb')
load(balder_env) if File.exists?(balder_env)
2009-05-22 16:14:07 +02:00
2009-05-22 14:13:46 +02:00
Rails::Initializer.run do |config|
2009-07-21 11:31:53 +02:00
config.gem "authlogic"
2009-06-02 00:08:57 +02:00
config.gem 'mime-types', :lib => 'mime/types'
config.gem "carrierwave"
config.gem "mysql2" unless ENV['HEROKU']
config.gem "aws-s3", :lib => "aws/s3" if ENV['HEROKU']
#config.gem "mini_exiftool"
2009-06-02 00:08:57 +02:00
config.load_paths += %W( #{RAILS_ROOT}/app/middleware )
2009-05-22 14:13:46 +02:00
end