ruby version: '2.5.7'
rails versionL '5.2.0'
gem 'mockserver-client', git: 'https://github.com/quintype/mockserver-client-ruby.git', branch: 'rails-5'
При выполнении пакета я получаю сообщение об ошибке ниже
mockserver-client-1.0.10.pre требует rubygems версии ~> 2.3, которая несовместима с текущей версией 3.1.2
Моя версия пакета в Gemfile.lock: bundler (>= 1.3.0)
.
Я использую версию пакета Bundler version 1.17.3
.
Как решить эту ошибку ?
ОБНОВЛЕНИЕ
Я уже сделал это
gem install "rubygems-update:3.1.2"
Successfully installed rubygems-update-3.1.2
Parsing documentation for rubygems-update-3.1.2
Done installing documentation for rubygems-update after 0 seconds
1 gem installed
➜ subtype git:(2046) ✗ update_rubygems
Successfully built RubyGem
Name: bundler
Version: 2.1.2
File: bundler-2.1.2.gem
Bundler 2.1.2 installed
RubyGems 3.1.2 installed
Regenerating binstubs
Parsing documentation for rubygems-3.1.2
Installing ri documentation for rubygems-3.1.2
------------------------------------------------------------------------------
RubyGems installed the following executables:
/Users/vishal.sadriya/.rvm/rubies/ruby-2.5.7/bin/gem
/Users/vishal.sadriya/.rvm/rubies/ruby-2.5.7/bin/bundle
Ruby Interactive (ri) documentation was installed. ri is kind of like man
pages for Ruby libraries. You may access it like this:
ri Classname
ri Classname.class_method
ri Classname#instance_method
If you do not wish to install this documentation in the future, use the
--no-document flag, or set it as the default in your ~/.gemrc file. See
'gem help env' for details.
ОБНОВЛЕНИЕ
Дальнейшее расследование я выяснил, это проблема gem hashie
rails s
Could not find hashie-3.6.0 in any of the sources
Run `bundle install` to install missing gems.
---
gem install hashie-3.6.0
ERROR: Could not find a valid gem 'hashie-3.6.0' (>= 0) in any repository