add RAILS_ENV to index