Attempt to debug Devise issue - added reference to ENV variable if Rails.env.production?