Project

General

Profile

Actions

Defect #35028

open

Deprecation message when executing 'bundle install'

Added by Ivan Cenov over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Category:
Gems support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Here is a part of the console output when upgrading Redmine to version 4.2.0:

E:\data\redmine>bundle install --without test development
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions.
Instead please use `bundle config set without 'test development'`, and stop using this flag
[DEPRECATED] Your Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems.
To resolve this warning, use a block to indicate which gems should come from the secondary source.
To upgrade this warning to an error, run `bundle config set disable_multisource true`.
Your Gemfile lists the gem rake (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.

Especially this part:

[DEPRECATED] Your Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems.
To resolve this warning, use a block to indicate which gems should come from the secondary source.
Is it something dangerous? I am not a ruby on rails programmer and cannot tell...

Actions

Also available in: Atom PDF