As noted in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710814 packaged gem binaries cannot be located via .bin_file/.bin_dir and will cause other ruby code that attempts to execute binaries via these methods to fail.
Note that in 2015 bundler stated placing gem binaries in a directory named "exe", but although the error may differ slightly the cause is the same. https://bundler.io/blog/2015/03/20/moving-bins-to-exe.html
As noted in https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 710814 packaged gem binaries cannot be located via .bin_file/.bin_dir and will cause other ruby code that attempts to execute binaries via these methods to fail.
Note that in 2015 bundler stated placing gem binaries in a directory named "exe", but although the error may differ slightly the cause is the same. https:/ /bundler. io/blog/ 2015/03/ 20/moving- bins-to- exe.html