Avoid environment detection on Rails