如何解决依赖问题
我不完全确定这是否可以完成,但这是我的错误:
>> bundle install
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
aws-ses (~> 0.4.1) depends on
activesupport (>= 2.3.6)
authlogic depends on
activesupport (2.3.5)
我正在尝试让 Rails 2.3.5 应用程序使这两个 gem 彼此兼容。
我能做些什么来让他们发挥作用?
I am not entirely sure if this can even be done , but this is my error :
>> bundle install
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
aws-ses (~> 0.4.1) depends on
activesupport (>= 2.3.6)
authlogic depends on
activesupport (2.3.5)
I'm trying to get a Rails 2.3.5 app to have both these gems compatible with each other.
What can I do to make them work out?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试升级您的 authlogic gem。我非常确定 authlogic 的更高版本不需要 activesupport 版本为 2.3.5。
目前您确实不想升级到版本 2.1.6 以上,因为它是支持 Rails 2.3.x 的最新版本。
当然,您的 Rails 应用程序也需要是版本 2.3.6 才能与此特定版本一起使用aws-ses,但这应该不是什么大问题。
What you could try is upgrade your authlogic gem. I'm quite sure later versions of authlogic don't require activesupport to be version 2.3.5.
You do want to upgrade no further than version 2.1.6 at the moment, as it's the latest one that supports Rails 2.3.x
Of course your Rails app needs to be version 2.3.6 as well to get it working with this specific version of aws-ses, but that shouldn't be too big a problem.