You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Settings.database.dbname: valueSettings.keys.aws_access_key_id: valueSettings.keys.aws_secret_access_key: valueSettings.keys.devise_secret_key: valueSettings.keys.directory: valueSettings.keys.region: valueSettings.keys.secret_key_base: value
I noticed that when it tries to run rake task, it would complain env variables not found, and doing some digging, I discovered those are not valid env variables and Rails would not pick them up properly.
I have pushed those env variables using the rake task provided bundle exec rake rails_config:heroku
Is this a valid bug or the expected behaviour? If its not a bug, what's the approach I should be taking.
I have confirmed using this and the specified format of environment variables will allow the deployment to Heroku work properly, would be nice to have this as part of this gem
Activity
jamesy829 commentedon Jul 30, 2014
Found a possible work around
https://github.com/finnlabs/rails_config-env_source
Giving it a shot and if works, submit a PR to merge
jamesy829 commentedon Jul 31, 2014
I have confirmed using this and the specified format of environment variables will allow the deployment to Heroku work properly, would be nice to have this as part of this gem
fredwu commentedon Aug 6, 2015
Great work! Any chance of submitting a PR? :)
pkuczynski commentedon Dec 9, 2020
@cjlarose do you think it makes sense to add any of this to our source code?
cjlarose commentedon Dec 9, 2020
I'll take a look. It's an old issue, so this might already be fixed, but we can at least improve our docs with recommendations.