Skip to content

Troubleshooting ruby doc: Bundler load error

Hitesh Raghuvanshi requested to merge hraghuvanshi-main-patch-69359 into main

What does this merge request do and why?

I faced an issue while running bundle install and saw same error was faced by other people too so thought of adding it to doc for future reference.

Error:

/Users/<username>/.asdf/installs/ruby/3.1.4/bin/bundle:25:in `load': cannot load such file -- /Users/<username>/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/bundler-2.4.20/exe/bundle (LoadError)
	from /Users/<username>/.asdf/installs/ruby/3.1.4/bin/bundle:25:in `<main>'

Impacted categories

The following categories relate to this merge request:

Merge request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise an issue to follow-up.
  • Documentation added/updated, if needed.
  • Announcement added, if change is notable.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.
Edited by Hitesh Raghuvanshi

Merge request reports