Closed georgesve closed 1 year ago
@georgesve Yes, indeed, ENV keys were fetched in the gem before Figaro initialized them. Fixed in the new version 4.3.1, you can find a sample application with Figjam here. I used Figjam as a new version of Figaro, as it's described in this comment Please, try it and let me know if you still experience the issue.
@kraft001 problem solved with your fix ! thanks 👍
key not found: "UPLOADCARE_PUBLIC_KEY"
When using Figaro for storing keys in
application.yml
I get the following error message when runningrails c
orrails s
:It works when I manually import the keys like so
But I get the following warning + I have to manually export keys on every new terminal I work on:
uploadcare.rb
Expected behavior
I should be able to set the variables in application.yml
Code / screenshots
Environment
gemfile.lock
ruby-3.1.2
rails, 6.1.6