There was an issue already created for https://bugs.ruby-lang.org/issues/15594 as a backport for Ruby 2.6 by naruse: https://bugs.ruby-lang.org/issues/15769. Can we get this backported to Ruby 2.5 and 2.4? This affects users on Ubuntu 18...hone (Terence Lee)
hsbt (Hiroshi SHIBATA) wrote: > It fixed r60174 maybe. Can you try current HEAD(r60928)? Hi @hsbt, thanks for looking into this. It's fixed as far as I can tell. I'm going to close it. I did a git bisect and r60171 fixed it. Thank yo...hone (Terence Lee)
Eregon (Benoit Daloze) wrote: > So #load indeed does not support this skipping-until-ruby-shebang logic that `ruby file` does. > ... Ah, I see what you're saying. After some more inspection, it looks like there's something weird goi...hone (Terence Lee)
hsbt (Hiroshi SHIBATA) wrote: > Thanks, Terence. > ... ```/tmp/bundler/``` is just the directory where I unpacked Ruby 2.5.0. I investigated some more and it looks like Benoit is partially right. Thanks for pointing me in the right ...hone (Terence Lee)
Eregon (Benoit Daloze) wrote: > That binstub looks wrong, I would guess it's Bundler's bug. > ... This is the binstub generated from Ruby's vendored bundler (in the exe folder) ~~~ #!/bin/sh # -*- ruby -*- bindir="${0%/*}" exec ...hone (Terence Lee)
Hi, In Ruby 2.5.0-preview1, I'm seeing the following error if the Rubygems binstub PATH precedes the binstubs from ruby and the Bundler version installed is <= 1.15.4 (what ruby vendors). ~~~ /home/hone/.rvm/gems/ruby-2.4.1@global...hone (Terence Lee)
I was able to track it down to this commit using git bisect, https://github.com/ruby/ruby/commit/feaa82a42ba238d9192d219f72229f4c3948957f.hone (Terence Lee)
When compiling the nokogiri gem, you can opt to use system libraries which uses `pkg_config`. When I add '-Wconversion' to $CFLAGS, it causes 'pkg_config('libxml-2.0')' to return nil. This is not the case in Ruby 2.3.3. This will affe...hone (Terence Lee)