Open BrackXs opened 5 years ago
Can confirm. Let's see if I can fix as well.
Adding bundler inline breaks the detection of the ruby runtime in systemu (those two /home/.../Gemfile not found
lines are the two system calls in lines 38 and 41.
Both fail so systemu says it can't find a ruby.
Basically this happens without systemu being involved. I can reduce the problem to calling ruby with system after requiring bundler/inline:
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
end
c = ::RbConfig::CONFIG
ruby = File.join(c['bindir'], c['ruby_install_name']) << c['EXEEXT']
system(ruby, '-e', '42')
I don't see how I can work around this yet.
Posted an issue for bundler https://github.com/bundler/bundler/issues/7159
generates