gem install refinerycms,无法解析依赖项

时间:2013-06-26 00:22:43

标签: gem refinerycms

我正在尝试安装refinerycms gem。这工作今天早上起作用了:

$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.3.0]
$ gem -v
2.0.3
$ gem sources
*** CURRENT SOURCES ***
https://rubygems.org/
$ gem install refinerycms
ERROR:  While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: rails requires activesupport (= 3.2.13); activeresource requires activesupport (= 3.2.13), activemodel (= 3.2.13); globalize3 requires activemodel (>= 3.0.0); railties requires activesupport (= 3.2.13); actionpack requires activesupport (= 3.2.13), activemodel (= 3.2.13), builder (~> 3.0.0); activerecord requires activesupport (= 3.2.13), activemodel (= 3.2.13), arel (~> 3.0.2), tzinfo (~> 0.3.29)

2 个答案:

答案 0 :(得分:8)

这是原因:

http://weblog.rubyonrails.org/2013/6/25/Rails-4-0-final/

这是解决方案(感谢irc.freenode.net上的#refinerycms中的chriskk):

$ gem install rails -v 3.2.13
$ gem install refinerycms

答案 1 :(得分:4)

仅供参考,截至2013年7月31日,您需要安装rails -v 3.2.14,所以:

gem install rails -v 3.2.14
gem install refinerycms