Narrow down detection of development/test environments for Rails 3.