Настраивается пакет redmine (3.4.4-1) …
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
rails (~> 4.2.8) was resolved to 4.2.10, which depends on
bundler (< 2.0, >= 1.3.0)
Current Bundler version:
bundler (2.0.1)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
Could not find gem 'bundler (< 2.0, >= 1.3.0)', which is required by gem 'rails (~> 4.2.8)', in any of the sources.
dpkg: ошибка при обработке пакета redmine (--configure):
Could not find gem 'rails (= 5.2.2)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
An error occurred while installing nokogiri (1.10.1), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.10.1' --source 'https://rubygems.org/'` succeeds before bundling.
Building native extensions. This could take a while...
ERROR: Error installing nokogiri:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.5.0/gems/nokogiri-1.10.1/ext/nokogiri
/usr/bin/ruby2.5 -r ./siteconf20190320-29423-f7qwt1.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /var/lib/gems/2.5.0/gems/nokogiri-1.10.1 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/nokogiri-1.10.1/gem_make.out
apt install ruby-dev
gem install --version 1.17.3 bundler
не помогает(