Follow

bugs.ruby-lang.org/issues/1778 の件、Gemfileに

gem "resolv", "< 0.2"

みたいにしておくとなおるっぽいんだけどなぜなんだぜ。あー、Rubyに添付されてるライブラリよりもBundlerの入れたやつを先に見に行くんだ

$ bundle exec ruby -rpp -e 'pp $:'
["/home/zunda/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/bundler-2.2.15/lib",
"/home/zunda/src/local/ruby-resolv/vendor/bundle/ruby/2.7.0/gems/resolv-0.2.0/lib",
"/home/zunda/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/bundler-2.2.15/lib/gems/bundler-2.2.15/lib",
"/home/zunda/.rbenv/versions/2.7.3/lib/ruby/site_ruby/2.7.0",
"/home/zunda/.rbenv/versions/2.7.3/lib/ruby/site_ruby/2.7.0/x86_64-linux",
"/home/zunda/.rbenv/versions/2.7.3/lib/ruby/site_ruby",
"/home/zunda/.rbenv/versions/2.7.3/lib/ruby/vendor_ruby/2.7.0",
"/home/zunda/.rbenv/versions/2.7.3/lib/ruby/vendor_ruby/2.7.0/x86_64-linux",
"/home/zunda/.rbenv/versions/2.7.3/lib/ruby/vendor_ruby",
"/home/zunda/.rbenv/versions/2.7.3/lib/ruby/2.7.0",
"/home/zunda/.rbenv/versions/2.7.3/lib/ruby/2.7.0/x86_64-linux"]

· · Web · 0 · 0 · 2
Sign in to participate in the conversation
zundon

Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.