我想安装“metric_fu”gem
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
依赖于ruby_parser
2,但brakeman
依赖于ruby_parser
3
有没有办法以metric_fu
使用ruby_parser
2 和brakeman
版本 3 的方式使用这两个 gem?