Honor RAILS_ENV from configuration file, closes #1