Reputation: 19993
I'm using Zeus to pre-load my Rails environment as a replacement for developing with Foreman. But Zeus isn't picking up values from my .env file.
Is it possible for Zeus to do this?
Upvotes: 2
Views: 413
Reputation: 592
You can use the dotenv gem :
https://github.com/bkeepers/dotenv
In your Gemfile
gem 'dotenv', groups: [:development, :test]
bundle install
and restart Zeus.
Your .env
variables will now be loaded in development environment which Zeus preloads.
Upvotes: 2