Skip to content

Regression in bundler 2.5.3 #7357

@jcoyne

Description

@jcoyne

Bundler no longer bundles development dependencies listed in gemspec

I'm seeing:

Failure/Error: require 'simplecov'

LoadError:
  cannot load such file -- simplecov
# ./spec/spec_helper.rb:9:in `require'
# ./spec/spec_helper.rb:9:in `<top (required)>'
No examples found.

You can see that in this PR I have one commit using 2.5.2 where it works as expected and a commit where it fails using 2.5.3:
projectblacklight/blacklight#3117

I think this means #7319 is the culprit since it is the only change in 2.5.3 according to 9f9ba21

Curiously I do see the message:

A gemspec development dependency (rsolr, >= 1.0.6, < 3) is being overridden by a Gemfile dependency (rsolr, >= 1.0, < 3).

But there is nothing about simplecov.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions