summaryrefslogtreecommitdiff
path: root/habitat/hooks/run
diff options
context:
space:
mode:
Diffstat (limited to 'habitat/hooks/run')
-rw-r--r--habitat/hooks/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/habitat/hooks/run b/habitat/hooks/run
index cbfa24ab62..0f3844dd5f 100644
--- a/habitat/hooks/run
+++ b/habitat/hooks/run
@@ -1,5 +1,5 @@
#!/bin/sh
-export GEM_HOME="$(hab pkg path chef/chef-client)/ruby/2.3.0"
+export GEM_HOME="{{pkg.path}}/ruby/2.3.0"
export GEM_PATH="$(hab pkg path core/ruby)/lib/ruby/gems/2.3.0:$(hab pkg path core/bundler):$GEM_HOME"
export APPBUNDLER_ALLOW_RVM=true