-
-
Notifications
You must be signed in to change notification settings - Fork 845
Question - installing gems #147
-
When running bundle install --path .vendor/bundle --without development
in the root directory of the repository I'm receiving this error:
Traceback (most recent call last):
2: from /usr/bin/bundle:23:in<main>' 1: from /Library/Ruby/Site/2.6.0/rubygems.rb:284:in
activate_bin_path'
/Library/Ruby/Site/2.6.0/rubygems.rb:265:in `find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)
I tried digging around a little nothing I came across seemed to be a fix for my environment:
Ruby 2.6.3
Gem 3.3.9
OSX 10.15.7
Any assistance would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions
I believe I've fixed this by running: gem install bundler --user-install
and then exporting it to path. In my case that looked like:
echo 'export PATH="/Users/myuser/.gem/ruby/2.6.0/bin:$PATH"' >> ~/.zshrc
Replies: 1 comment
-
I believe I've fixed this by running: gem install bundler --user-install
and then exporting it to path. In my case that looked like:
echo 'export PATH="/Users/myuser/.gem/ruby/2.6.0/bin:$PATH"' >> ~/.zshrc
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 2