Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: andrewshatnyy
If I may ask how did you set up your environment variables?
I'm on rails 3.1.3 and I can't put my head around how to do that in one place for many env like you have ENV['var']