diff --git a/config/environment.rb b/config/environment.rb index 354ce7a..40b650e 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -27,7 +27,8 @@ def self.reload! # Don't specify: Heroku has DATABASE_URL environment variable end - configure do + # For all runnable environments (not in_production) + configure :development, :test, :app_test, :production do require 'sequel' DB = Sequel.connect(ENV['DATABASE_URL'])