I am trying to do something that I thought would be trivial - pulling
in a value from an environment variable.
in my .bash_profile I have:
It shows up in the output of typing ‘env’ at the command prompt.
In my environment.rb I have this:
XML_RPC_LOCATION = ENV[‘XML_API’] || ‘http://xxxx/abp3/
From console I get:
Loading production environment.
Which is correct.
But from inside my rails app I get:
What is going on?
The same thing is happening on my production environment (RH linux)
and on my Mac. So I am sure it is me… I just can’t understand why
the console and the mongrel are different.