Actions
Defect #39552
closedProblem with bundle install 5.1.0
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
Hello.
Where is problem?
[redmine@redmine redmine-5.1.0]$ bundle config set --local with 'rmagick'
[redmine@redmine redmine-5.1.0]$ bundle install
[!] There was an error parsing `Gemfile`: undefined method `filter_map' for #<Array:0x000000000253b360>
Did you mean? filter. Bundler cannot continue.
# from /home/redmine/redmine-5.1.0/Gemfile:66
# -------------------------------------------
# database_config = YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(yaml_config) : YAML.load(yaml_config)
> adapters = database_config.values.filter_map {|c| c['adapter']}.uniq
# if adapters.any?
# -------------------------------------------
[redmine@redmine redmine-5.1.0]$
[redmine@redmine redmine-5.1.0]$ ruby -v
ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-linux]
[redmine@redmine redmine-5.1.0]$ rvm -v
rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
[redmine@redmine redmine-5.1.0]$
Actions