ruby-on-rails - Bundler 找不到兼容的版本 - 没有矛盾
问题描述
我正在尝试bundle update
一些宝石并从捆绑器(版本 1.16.2)中返回(除其他外)以下错误:
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
rails (~> 4.0.13) was resolved to 4.0.13, which depends on
activerecord (= 4.0.13) was resolved to 4.0.13, which depends on
activemodel (= 4.0.13)
draper (~> 1.0) was resolved to 1.4.0, which depends on
activemodel (>= 3.0)
simple_form (~> 3.1.1) was resolved to 3.1.1, which depends on
activemodel (~> 4.0)
我根本看不出这些要求有任何矛盾!
为什么 Bundler 不只使用activemodel
version 4.0.13
?
解决方案
推荐阅读
- python - Python 日志不会记录 pd.info()
- java - 如何将我的数据库连接到我的 android 应用程序
- ios - JTAppleCalendarView:无法清除 prepareForReuse 中的 DateCell
- python - 如何在 keras 中实现自定义成本函数?
- php - 哪种方法可以安全地在 php 中上传文件?
- c# - 为什么我不能通过 FindViewById 方法初始化 VideoView 对象?
- python - 如何将整数变量复制到python中的静态变量?
- docker - 不使用 docker history 命令的 Docker Image 历史记录
- java - 类中的方法与主方法下的方法
- vue.js - 导航到 Bulma 中的其他链接时,如何关闭可悬停的下拉菜单?