user RAILS_ENV if set
store api key in ENV