You're probably doing this correctly already, but make sure you're setting the keys in config/application.yml and not sample_application.yml.
You might be running into a spring error, which is a Rails app preloader. If spring is running, it'll run bin commands for you, but sometimes doesn't refresh when you change things like environment variables. Try turning it off with spring stop and then running bin/setup again.
Hm that's strange. Try these two things:
config/application.yml
and notsample_application.yml
.spring
error, which is a Rails app preloader. If spring is running, it'll runbin
commands for you, but sometimes doesn't refresh when you change things like environment variables. Try turning it off withspring stop
and then runningbin/setup
again.Spring wasn't actually running, but I figured out what the issue was.
When I ran
git status
, it seemed like I accidentally made some changes toconfig/application.rb
. I undid those changes and nowbin/setup
works.Thanks for trying to help though!
Great! Glad it's resolved :)