You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ps:exec command does not load config variables, but does run .profile.d scripts. This results in incorrect values being set for RAILS_ENV and RACK_ENV.
For example, if you inspect an app's .profile.d/ruby.sh, you'll see:
The
ps:exec
command does not load config variables, but does run.profile.d
scripts. This results in incorrect values being set forRAILS_ENV
andRACK_ENV
.For example, if you inspect an app's
.profile.d/ruby.sh
, you'll see:Because your custom set
RAILS_ENV
config var is not load, theprofile.d
script sets the default value ofproduction
.Correct behavior
The
.profile.d/ruby.sh
should wrap theexport
lines in anif
guard like:The text was updated successfully, but these errors were encountered: