Skip to content

Bundler 1.15 fails to complete installation from source

Summary

When performing installation from source on a new system, install will fail to complete bundle install step if gem install bundler --no-ri --no-rdoc is used to install bundler. This will pull bundler version 1.15.0, which does not work with the current source for 9.1.4 or 9.2.0-rc7.

Steps to reproduce

Perform installation from source steps until bundle install ... step.

What is the current bug behavior?

Installation files with the following error:

...
Fetching state_machines-activerecord 0.4.0
Installing state_machines-activerecord 0.4.0
Downloading omniauth-google-oauth2-0.4.1 revealed dependencies not in the API or
the lockfile (omniauth-oauth2 (>= 1.3.1), jwt (~> 1.5.2)).
Either installing with `--full-index` or running `bundle update
omniauth-google-oauth2` should fix the problem.

What is the expected correct behavior?

Bundler should succeed.

Relevant logs and/or screenshots

See above

Output of checks

N/A

Results of GitLab environment info

Current User:	git
Using RVM:	no
Ruby Version:	2.3.4p301
Gem Version:	2.5.2
Bundler Version:1.15.0
Rake Version:	10.5.0
Redis Version:	3.2.8
Git Version:	2.13.0
Sidekiq Version:5.0.0

Results of GitLab application Check

N/A

Possible fixes

gem install bundler --version '1.14.6' --no-ri --no-rdoc instead of gem install bundler --no-ri --no-rdoc