help with rbenv vars and secrets - ubuntu, nginx, passenger, rails 4, rbenv
secretkeybase: <%= ENV["SECRETKEYBASE"] %>
secrettoken: <%= ENV["SECRETTOKEN"] %>
The rbenv-vars plugin is also installed, and I created .rbenv-vars file in appname/current/ which contains:
SECRETKEYBASE=
export SECRETKEYBASE='
export SECRET_TOKEN='
Robert
2 Replies
The Passenger docs have a little more info on this:
TL;DR: Environment variables are confusing
passengerenvvar PATH
to nginx.conf in the http section, passenger now uses nodejs and rbenv. I don't need env PATH; in nginx.conf at all. Thanks for helping me figure this out.