I've installed Bundler 1.16.1 and am trying to configure my $PATH
variable for using the bundle
command. The Bundler Troubleshooting Guide says:
Note that you will need to append
~/.gem/ruby/<ruby version>/bin
to your$PATH
variable to usebundle
.
I'm unable to locate the /bin
executable. Here's the output of some troubleshooting commands on my system:
$ which ruby
/usr/local/bin/ruby
$ which gem
/usr/local/bin/gem
$ gem which bundler
/usr/local/Cellar/ruby/2.4.1_1/lib/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler.rb
Also, echo $PATH
reveals that /usr/local/bin/gem
is in the $PATH
already.
What's the path to the bundler gem executable then?
What's the path to the bundler gem executable then?
It is listed in the documentation snippet you posted in your question as:
~/.gem/ruby/<ruby version>/bin
Note: replace <ruby version>
with the library compatibility version (not the language version or the engine version!) of the implementation you are using.