bitwalker / toml-elixir

An implementation of TOML for Elixir projects, compliant with the latest specification
Apache License 2.0
200 stars 24 forks source link

Not loading config provider #23

Closed samuelebistoletti closed 4 years ago

samuelebistoletti commented 4 years ago

Hi, I use Distillery 2.1 and set this for config provider:

set config_providers: [ {Toml.Provider, [path: "/full/path/config.toml"]} ]

When I start the application in production variables are not replaced with values in config.toml, I still got variable contents from config.exs. Before upgrade to Elixir 1.9 and Distillery 2.1 everything worked as expected.

Any suggestions? Thanks

philipgiuliani commented 4 years ago

We have the same problem after upgrading to Elixir 1.9 and Distillery 2.1.

Update: We "resolved" it by replacing Distillery with Elixir 1.9 releases (which was on our TODO anyways)!

jeffweiss commented 4 years ago

We also ran into this issue, tracked it down and provided a fix in #25.