This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
bundler env
should show bundler's shebang if it differs from the first found ruby
#5616
Labels
I was starting to tear my hair out today in a crazy debugging situation. I ran
gem install bundler
on OSX, and then trying to install various gems. However, I got ruby version incompatibilities: our rails app specifies ruby 2.3, but bundler reported ruby 2.0.It turns out that rubygem's had written the bundler binstub with OSX's system ruby for it's shebang, and not the ruby installed with Homebrew. It would have been faster to debug if I had realized the discrepancy earlier.
The text was updated successfully, but these errors were encountered: