Skip to content

Where does the information rendered by bundle info come from? #4949

Closed Answered by deivid-rodriguez
caasssandre asked this question in Q&A
Discussion options

You must be logged in to vote

mmmm this seems mostly unexpected to me.

  • I believe bundle info should be able to detect this a give a better message:
    path = spec.full_gem_path
    unless File.directory?(path)
    return Bundler.ui.warn "The gem #{gem_name} has been deleted. It was installed at: #{path}"
    end
    .
  • Also bundle install should verify whether (even if the lockfile is up to date and includes a correct resolution), you're missing any gems locally and trigger a reinstall in that case:
    def resolve_if_needed(options)
    if !@definition.unlocking?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@caasssandre
Comment options

Answer selected by deivid-rodriguez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants