not require mysql2 on heroku. require aws on heroku

This commit is contained in:
Espen Antonsen 2010-10-06 23:52:46 +02:00
parent d0dbc1e2af
commit 709da5fb35

View file

@ -16,9 +16,9 @@ Rails::Initializer.run do |config|
config.gem "authlogic" config.gem "authlogic"
config.gem 'mime-types', :lib => 'mime/types' config.gem 'mime-types', :lib => 'mime/types'
config.gem "carrierwave" config.gem "carrierwave"
config.gem "mysql2" config.gem "mysql2" unless ENV['HEROKU']
config.gem "aws-s3", :lib => "aws/s3" if ENV['HEROKU']
#config.gem "mini_exiftool" #config.gem "mini_exiftool"
#config.gem "aws-s3", :lib => "aws/s3"
config.load_paths += %W( #{RAILS_ROOT}/app/middleware ) config.load_paths += %W( #{RAILS_ROOT}/app/middleware )