rbenv-vars - Rails app is not reading them. How do they get loaded?

119 views
Skip to first unread message

Jay Godse

unread,
Jun 6, 2016, 8:54:38 AM6/6/16
to Ansible Project

I am trying to deploy a Ruby 2.2 / Rails 4.2 application from a project I inherited, and rbenv-vars is used (along with rbenv). When I try to start the Puma service, I can tell that the rbenv variables aren't getting loaded because RAILS_ENV is not set, and database.yml doesn't read the environment and uses defaults.


What do I have to do to get Ruby to load rbenv-vars to load the environment variables?

Reply all
Reply to author
Forward
0 new messages