Skip to content

bundler can't install (regression in 1c1c6a2) #444

@aerickson

Description

@aerickson

🗣️ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

👻 Brief Description

I'm not able to install the main version of this repo with bundler at 1c1c6a2.

Version

1c1c6a2

Environment

CircleCI linux runner

Scenario

install the latest main version of this repo/code

Steps to Reproduce

Create a gemfile with

gem 'kitchen-docker', git: 'https://github.com/test-kitchen/kitchen-docker.git', branch: 'main'

Then bundle install. it will fail:

Fetching https://github.com/test-kitchen/kitchen-docker.git

[!] There was an error while loading `kitchen-docker.gemspec`: cannot load such file -- kitchen/docker/docker_version. Bundler cannot 
continue.

 #  from /home/circleci/project/vendor/ruby/3.3.0/bundler/gems/kitchen-docker-1c1c6a282ba5/kitchen-docker.gemspec:3
 #  -------------------------------------------
 #  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
 >  require "kitchen/docker/docker_version"
 #  
 #  -------------------------------------------

Exited with code exit status 14

Expected Result

Successful installation.

Actual Result

Installation fails.

Workaround

gem 'kitchen-docker', git: 'https://github.com/test-kitchen/kitchen-docker.git', ref: '511e4ad'  # Last working commit before gemspec bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions