Closed g-arjones closed 2 years ago
I have to admit I forgot about it when I reviewed the PR that creates the stub.
A safer way would be to detect whether the binstub is a ruby script generated by bundler and ignore everything else. They all have a "This file was generated by Bundler" comment, and a she-bang line with ruby
in it.
Possibly, just the she-bang line would be enough tbh. This is a controlled folder, anything ruby has been generated by bundler.
Done.
Thanks for the fix! @g-arjones
Fixes #357
I had no idea autoproj would overwrite everything in
.autoproj/bin
.