diff options
author | Lars Sjöström <lars.sjostrom@svenskaspel.se> | 2014-03-26 22:48:22 +0100 |
---|---|---|
committer | Lars Sjöström <lars.sjostrom@svenskaspel.se> | 2014-03-26 22:48:22 +0100 |
commit | b136e22d7e4ea34b35d805c380ba1fae2cf3c595 (patch) | |
tree | 1cf9235c9281ad1ac3c42c0c8133cb30852fddfc /lib/gitlab_shell.rb | |
parent | ce88b74d52410250427116349d06a74359a65b48 (diff) | |
download | gitlab-shell-b136e22d7e4ea34b35d805c380ba1fae2cf3c595.tar.gz |
set LD_LIBRARY_PATH for Kernel::exec
Diffstat (limited to 'lib/gitlab_shell.rb')
-rw-r--r-- | lib/gitlab_shell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index e2a015a..086e36b 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -61,7 +61,7 @@ class GitlabShell # This method is not covered by Rspec because it ends the current Ruby process. def exec_cmd(*args) - Kernel::exec({'PATH' => ENV['PATH'], 'GL_ID' => ENV['GL_ID']}, *args, unsetenv_others: true) + Kernel::exec({'PATH' => ENV['PATH'], 'LD_LIBRARY_PATH' => ENV['LD_LIBRARY_PATH'], 'GL_ID' => ENV['GL_ID']}, *args, unsetenv_others: true) end def api |