-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
Describe the problem as clearly as you can
The "Local Git Repos" feature does not appear to work at all.
See https://bundler.io/v2.5/man/bundle-config.1.html#LOCAL-GIT-REPOS
If you follow that example, it doesn't appear to either install the local version or use it with bundle exec.
Did you try upgrading rubygems & bundler?
Yes
Post steps to reproduce the problem
-
Clone rack:
git@github.com:rack/rack.git. -
Make some change in rack like add
raise "test"to the top oflib/rack.rb -
Create a new directory with this
Gemfile:source "https://rubygems.org" gem "rack" -
bundle config --local path gems -
bundle config set --local local.rack ~/Work/git/rack(adjust to your rack path) -
bundle install
Which command did you run?
bundle install
What were you expecting to happen?
The local version of git would be used
What actually happened?
It installed the rubygems version
If not included with the output of your command, run bundle env and paste the output below
Environment
Bundler 2.6.6
Platforms ruby, arm64-darwin-24
Ruby 3.4.1p0 (2024-12-25 revision 48d4efcb85000e1ebae42004e963b5d0cedddcf2) [arm64-darwin-24]
Full Path /Users/some-user/.asdf/installs/ruby/3.4.1/bin/ruby
Config Dir /Users/some-user/.asdf/installs/ruby/3.4.1/etc
RubyGems 3.6.6
Gem Home /Users/some-user/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0
Gem Path /Users/some-user/.gem/ruby/3.4.0:/Users/some-user/.asdf/installs/ruby/3.4.1/lib/ruby/gems/3.4.0
User Home /Users/some-user
User Path /Users/some-user/.gem/ruby/3.4.0
Bin Dir /Users/some-user/.asdf/installs/ruby/3.4.1/bin
Tools
Git 2.48.1
RVM not installed
rbenv not installed
chruby not installed
Bundler Build Metadata
Built At 2025-03-13
Git SHA 25cf0763954
Released Version true
Bundler settings
disable_local_branch_check
Set for the current user (/Users/some-user/.bundle/config): true
gem.coc
Set for the current user (/Users/some-user/.bundle/config): false
gem.mit
Set for the current user (/Users/some-user/.bundle/config): false
gem.test
Set for the current user (/Users/some-user/.bundle/config): false
jobs
Set for the current user (/Users/some-user/.bundle/config): 12
local.rack
Set for your local app (/Users/some-user/Source/open/test/.bundle/config): "/Users/some-user/Source/open/rack"
path
Set for your local app (/Users/some-user/Source/open/test/.bundle/config): "gems"
Gemfile
Gemfile
source "https://rubygems.org"
gem "rack"Gemfile.lock
GEM
remote: https://rubygems.org/
specs:
rack (3.1.12)
PLATFORMS
arm64-darwin-24
ruby
DEPENDENCIES
rack
BUNDLED WITH
2.6.6
Reactions are currently unavailable