summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobb Kidd <rkidd@chef.io>2019-09-03 16:19:23 -0400
committerRobb Kidd <robb@thekidds.org>2019-11-01 14:22:33 -0400
commit0d15d53f9eb607a21e352b61dc827eac74b80cc2 (patch)
tree3b8ff4f56a9b70e73b671d4ff4d52a03f9c7ab27
parent5d07a4f67b37e6755513fab0d577af2444215ae0 (diff)
downloadchef-0d15d53f9eb607a21e352b61dc827eac74b80cc2.tar.gz
prevent appbundler from clearing GEM_PATH
Signed-off-by: Robb Kidd <robb@thekidds.org>
-rw-r--r--habitat/plan.ps11
1 files changed, 1 insertions, 0 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1
index 1a90a204c9..4a9a7032d3 100644
--- a/habitat/plan.ps1
+++ b/habitat/plan.ps1
@@ -30,6 +30,7 @@ function Invoke-Begin {
function Invoke-SetupEnvironment {
Push-RuntimeEnv -IsPath GEM_PATH "$pkg_prefix/vendor"
+ Set-RuntimeEnv APPBUNDLER_ALLOW_RVM "true" # prevent appbundler from clearing out the carefully constructed runtime GEM_PATH
Set-RuntimeEnv -IsPath SSL_CERT_FILE "$(Get-HabPackagePath cacerts)/ssl/cert.pem"
Set-RuntimeEnv LANG "en_US.UTF-8"
Set-RuntimeEnv LC_CTYPE "en_US.UTF-8"