Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi & thanks for your help.
Actually, I solved the problem using rbenv-vars.
More info can be found here.
Not sure if this is the best way to go?
Be aware that you should add the parameter in the place you start the service. But I can guide if you don’t add more info. So how do you start your server?
The way I do it is by setting the RAILS_ENV in the .bashrc adding the following line at the very end.
export RAILS_ENV=production
If you need to use it during the session only you can run it on the terminal and all the commands you execute afterwards are going to be on the production enviroment