summaryrefslogtreecommitdiff
path: root/habitat
diff options
context:
space:
mode:
authorRobb Kidd <robb@thekidds.org>2019-10-18 22:34:55 -0400
committerRobb Kidd <robb@thekidds.org>2019-11-01 14:22:33 -0400
commit064aa0c73b01b8152ceb6dd76763c3b0ab17c110 (patch)
tree643098eb0fdbea5838739f37f6633b8881286a47 /habitat
parent0d15d53f9eb607a21e352b61dc827eac74b80cc2 (diff)
downloadchef-064aa0c73b01b8152ceb6dd76763c3b0ab17c110.tar.gz
force that yajl, yo
Tell ffi-yajl to use the C-extensions we know are there because we depend on MRI. C is fast, y'know, and we don't need the FFI portability for other Ruby runtimes. Signed-off-by: Robb Kidd <robb@thekidds.org>
Diffstat (limited to 'habitat')
-rw-r--r--habitat/plan.ps11
1 files changed, 1 insertions, 0 deletions
diff --git a/habitat/plan.ps1 b/habitat/plan.ps1
index 4a9a7032d3..e15f076ba3 100644
--- a/habitat/plan.ps1
+++ b/habitat/plan.ps1
@@ -31,6 +31,7 @@ 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 FORCE_FFI_YAJL "ext" # Always use the C-extensions because we use MRI on all the things and C is fast.
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"