huacnlee / rails-settings-cached

Global settings for your Rails application.
Other
1.06k stars 202 forks source link

Only load default config file if it exists #149

Closed brentkearney closed 6 years ago

brentkearney commented 6 years ago

Installations that do not have a 'config/app.yml' file will fail to start. This just adds a simple test for the file before attempting to load it.

huacnlee commented 6 years ago

Just reverted this PR, because it break too many test cases.

https://github.com/huacnlee/rails-settings-cached/commit/e842f7b31232a72cea5ff9b587620d1ba381a954

huacnlee commented 6 years ago

You need fix it again, I will accept.