如何解决宝石冲突错误?- Ruby/Rails

zf2sa74q  于 2023-05-28  发布在  Ruby
关注(0)|答案(1)|浏览(151)

尝试运行gem install slickgrid-rails,它显示:
错误:执行gem时...(Gem::DependencyResolutionError)conflicting dependencies actionpack(~> 3.1.0)and actionpack(= 3.0.0)激活的actionpack-3.0.0与冲突的依赖项(~> 3.1.0)不匹配
冲突的依赖关系链:

slickgrid-rails (>= 0), 0.3.1 activated, depends on
railties (~> 3.0), 3.0.0 activated, depends on
actionpack (= 3.0.0), 3.0.0 activated

对比:

slickgrid-rails (>= 0), 0.3.1 activated, depends on
sass-rails (>= 0), 3.1.0 activated, depends on
actionpack (~> 3.1.0)

有什么建议吗?

qf9go6mv

qf9go6mv1#

slickgrid-rails添加到Gemfile,然后运行bundle install

相关问题