Files
grecia/config/puma/staging.rb
Javi Martín 69be13f7a7 Keep default puma settings in the test environment
The test environment was using the file in `config/puma.rb`, meaning it
wouldn't work with Rails 5.1, which uses a different setup for Puma.

I've decided to create a new file called `defaults.rb`, which will be
used in every environment but development and test. We could also add an
empty file in `config/puma/test.rb`; I think that's less intuitive, but
it's a subjective opinion.
2019-11-19 21:33:22 +01:00

6 lines
100 B
Ruby

#!/usr/bin/env puma
_load_from File.expand_path("../defaults.rb", __FILE__)
environment "staging"