Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Heroku Compatibility #84
Comments
|
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 |
|
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 |
|
Great work! Any chance of submitting a PR? :) |
|
@cjlarose do you think it makes sense to add any of this to our source code? |
|
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. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

I use the suggested guide to setup usage of env variables on Heroku
https://github.com/railsconfig/rails_config#working-with-heroku
I have my env variables on Heroku as following:
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:herokuIs this a valid bug or the expected behaviour? If its not a bug, what's the approach I should be taking.
Thanks in advance.