Skip to content

Fix bundler gem detection when using vendor/bundle - #435

Open
tamersp25 wants to merge 1 commit into
urbanadventurer:masterfrom
tamersp25:master
Open

Fix bundler gem detection when using vendor/bundle#435
tamersp25 wants to merge 1 commit into
urbanadventurer:masterfrom
tamersp25:master

Conversation

@tamersp25

Copy link
Copy Markdown

Summary

  • Add bundler/setup at script start so gems installed via bundle install to vendor/bundle are properly detected
  • Eliminates the need to run bundle exec ./whatweb after installing dependencies

Problem

After running bundle install, WhatWeb would still report missing gems because Gem::Specification.find_by_name() only looks for system-wide gems, not those in vendor/bundle.

Test plan

  • Run bundle install to install gems to vendor/bundle
  • Run ./whatweb -h - should display help without "missing gems" error
  • Run ./whatweb --version - should display version info

🤖 Generated with Claude Code

Add bundler/setup at script start so gems installed via 'bundle install'
to vendor/bundle are properly detected by Gem::Specification.find_by_name().
This eliminates the need to run 'bundle exec ./whatweb'.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant