操作系统:Mac OS X El-Captain current rails版本:5.0.0.rc1 ruby版本:2.3.1p112
我有以下错误。谷歌搜索和搜索Stack Overflow没有给出任何结果。
gem install rails -v 5.0.0.rc2
ERROR: While executing gem ... (Gem::Resolver::Molinillo::CircularDependencyError)
There is a circular dependency between camping and rack
答案 0 :(得分:1)
我不得不卸载我的Ruby版本(2.3.1)并重新安装。然后运行gem install rails --pre
。
我使用rbenv和ruby-build。有关删除Ruby的说明,请参见https://github.com/rbenv/rbenv#uninstalling-ruby-versions。
答案 1 :(得分:1)
这似乎与过时的系统宝石有关。我遇到了安装bundler的问题。我通过输入来清除它:
gem update --system
我可以安装最新的ruby,bundler,rails,一切正常。
我正在运行OS X 10.11.6。
最佳, 约翰