use RACK_ENV instead of RAILS_ENV and allow env vars in yml