本文介绍了安装Rails 4.2.0.beta1 - 在排序过程中发现无法解析的依赖关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图安装Rails 4.2.0.beta1()。我收到一个错误在排序过程中发现无法解析的依赖关系。以下是详细信息:

  $ ruby​​ -v 
ruby​​ 2.1.2p95(2014-05-08修订版45877) [x86_64-darwin13.0]
$ gem -v
2.4.1
$ gem install rails --pre
错误:执行gem时(Gem :: DependencyError )
在排序过程中发现无法解析的依赖项 - activesupport(> = 4.0)
(由sprockets-rails-3.0.0.beta1请求)

如何安装Rails 4.2.0.beta1?

解决方案

这个问题已经在RubyGems上修复了。升级到至少2.4.4



查看以获取更多信息。


I've attempted to install Rails 4.2.0.beta1 (released Aug 20, 2014). I get an error "Unresolved dependency found during sorting." Here are the details:

$ ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
$ gem -v
2.4.1
$ gem install rails --pre
ERROR:  While executing gem ... (Gem::DependencyError)
    Unresolved dependency found during sorting - activesupport (>= 4.0)
(requested by sprockets-rails-3.0.0.beta1)

How can I install Rails 4.2.0.beta1?

解决方案

This issue has been fixed on RubyGems. Upgrade to at least 2.4.4

Have a look at this GitHub issue for more information.

这篇关于安装Rails 4.2.0.beta1 - 在排序过程中发现无法解析的依赖关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 12:26