Use #{env} for RAILS_ENV