Unable to switch environments

This is what I see in the top right:

I have added two other envs correctly:

Any ideas?

I’m on Rails 6, deployed successfully on Heroku with a Staging and Production environment just like you.
And just like you, I cannot switch environment :’(
My config is correct, I triple checked the environment variables (on the server itself).


I managed to find the issue. It was due to my user not being assigned the correct role. It looked like the user had the correct role but it wasn’t. Double check and try to manually add the role again.

Thanks @elie, your insight helped me! I had the bad idea to call my Role “Admin”, so on the panel I thought it was fine.
Solved for me!

I had named my role Admin too which is how I got confused :slight_smile: