not require mysql2 on heroku. require aws on heroku
This commit is contained in:
parent
d0dbc1e2af
commit
709da5fb35
1 changed files with 2 additions and 2 deletions
|
@ -16,9 +16,9 @@ Rails::Initializer.run do |config|
|
|||
config.gem "authlogic"
|
||||
config.gem 'mime-types', :lib => 'mime/types'
|
||||
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 "aws-s3", :lib => "aws/s3"
|
||||
|
||||
config.load_paths += %W( #{RAILS_ROOT}/app/middleware )
|
||||
|
||||
|
|
Loading…
Reference in a new issue