diff --git a/lib/squasher.rb b/lib/squasher.rb index cf6db4c..7b5baee 100644 --- a/lib/squasher.rb +++ b/lib/squasher.rb @@ -28,7 +28,7 @@ def clean def rake(command, description = nil) tell(description) if description config.in_app_root do - env = { 'RAILS_ENV' => 'development', 'DISABLE_DATABASE_ENVIRONMENT_CHECK' => '1' } + env = { 'RAILS_ENV' => 'development' } system(env, "bundle exec rake #{ command }") end end