Fix: use RAILS_ENV to get the environment
Fix: use RAILS_ENV to get the environment

RAILS_ENV is the only way to get the current environment in a vanilla Rails app.

Signed-off-by: Randy Schmidt <68507a13665ec3a31759c0d3a94804221c0a87d3@umlatte.com>
r38y/ck_fu