rails/rails — pull request #8026 by steveklabnik (2012-10-24 22:04:54+00:00)
Title: Make sure that RAILS_ENV is set when accessing Rails.env

Fixes #8025

I'm not sure if there's a good way to test this?