Commit 904ef9ec authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Julien Muchembled

Workaround for shebang length limit

Ruby executable is normally available in gem_executable shebang
but shebang's length is limited to 128 bytes (Linux < 5.1)
so it can not be used for very long executable path.
parent 42865ac1
......@@ -200,6 +200,7 @@ class Recipe(object):
def _install_gem(self, gemname, gem_executable, bindir):
cmd = [
self.ruby_executable,
gem_executable,
'install',
'--no-rdoc',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment