I've been playing around with Open Shift and tried to pass an environment variable. First, I set it with rhc env set TEST=foo -a myApp
. Then I ensured it was there with rhc env list -a myAPP
, and it was.
Nest, in my app, I put Test variable = <%= ENV['TEST'] %>
, but nothing shows up after I deploy. Is there something I'm missing here? Running ruby 2.0 cartridge with Sinatra, fwiw.