diff options
author | Thom May <thom@may.lt> | 2017-01-24 18:14:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 18:14:23 +0000 |
commit | 6d430303396c0184599a4787257fcc863cdcdb91 (patch) | |
tree | b9364be035385f66d68abc1c8cdc0a242348a3b3 | |
parent | 7086527ca56bafa06e4627dc18c5c1b3735dbfb5 (diff) | |
parent | 7572ba2fe13ad9fa7197c727b3fe05bb0310ced0 (diff) | |
download | chef-6d430303396c0184599a4787257fcc863cdcdb91.tar.gz |
Merge pull request #5729 from robbkidd/pkg-path-fix
use pkg.path variable to reference path to self
-rw-r--r-- | habitat/hooks/run | 2 |
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 |