Когда я пытаюсь создать PDF, я получаю сообщение об ошибке
RuntimeError - PDF could not be generated!
Command Error: NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01.
Gem::Specification#has_rdoc= called from /home/alejandro/registro-asistentes2/vendor/acts_as_xlsx/acts_as_xlsx.gemspec:12.
/var/lib/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/spec_set.rb:91:in `block in materialize': Could not find nokogiri-1.8.5 in any of the sources (Bundler::GemNotFound)
from /var/lib/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/spec_set.rb:85:in `map!'
from /var/lib/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/spec_set.rb:85:in `materialize'
from /var/lib/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/definition.rb:171:in `specs'
from /var/lib/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/definition.rb:238:in `specs_for'
from /var/lib/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/definition.rb:227:in `requested_specs'
from /var/lib/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/runtime.rb:108:in `block in definition_method'
from /var/lib/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/runtime.rb:20:in `setup'
from /var/lib/gems/2.4.0/gems/bundler-1.16.4/lib/bundler.rb:107:in `setup'
from /var/lib/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/setup.rb:20:in `<top (required)>'
from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require'
В моем Gemfile:
gem 'nokogiri', '~> 1.8.5'
Я пытался решить ее с помощью bundle install
, bundle update
, bundle update nokogiri
, удалил gemfile.lock
, а затем bundle install
, и ни один из них не работает для меня