How To Setup Environmental Variables In A Rails Application
Too Long; Didn't Read Figaro is a rubygem that uses a single YAML file located in the config directory, to hide environmental variables. To use any of them in any part of your application, simply call them as follows;. Use the gem to hide the environment variables in the application.yml file to prevent the file from being uploaded to the various version control repository management services. To use them in an application after installing and setting up figaro, simply add the following to the.config/application.yMLfile in the root directory of your project.