我想安裝「metric_fu」寶石安裝寶石分別與版本的兼容性衝突
gem 'metric_fu'
一旦我bundle
我得到這個
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "ruby_parser":
In Gemfile:
metric_fu (>= 0) x86-mingw32 depends on
ruby_parser (~> 2.0) x86-mingw32
brakeman (~> 2.1.0) x86-mingw32 depends on
ruby_parser (3.2.2)
Could not find gem 'mojombo-chronic (>= 0.3.0) x86-mingw32', which is required
by gem 'metric_fu (>= 0) x86-mingw32', in any of the sources.
所以一方面,我想安裝metric_fu
這取決於2,但brakeman
取決於3
有沒有辦法使用博th的這種方式使metric_fu
將使用2和brakeman
將使用版本3?