Use the $RAILS_ENV env variable instead of Rails.env in god notifications config.

It seems using Rails.env crashes in the background server, which is not running a full Rails instance. However referencing the environment variable should work fine.