Closed MyklClason closed 3 years ago
I got this to avoid errors by optionally using the demo keys instead.
public_key: <%= ENV["UPLOADCARE_PUBLIC_KEY"] || "demopublickey" %>
private_key: <%= ENV["UPLOADCARE_PRIVATE_KEY"] || "demoprivatekey" %>
@MyklClason, please, check the issue https://github.com/uploadcare/uploadcare-rails/issues/82 with similar situation.
Thanks!
Not sure if I'm missing something, but the Rails console and Migrations won't run (Server works though) with this gem installed
The environment variables do return the correct values and it works fine when using the upload fields. Possible issue with the private key?
Config: