4

我正在尝试安装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)
4

2 回答 2

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
于 2013-06-26T03:00:46.597 回答
4

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

gem install rails -v 3.2.14
gem install refinerycms
于 2013-07-31T16:47:36.880 回答