2011-09-18 36 views
0

“捆绑更新”给我一些非常奇怪的错误。 arel,activemodel和机架在下面列出为没有兼容版本。每个列出两次,相互矛盾的版本要求:“捆绑更新”报告没有兼容版本的宝石,与版本要求相矛盾

$ bundle update 
Updating https://github.com/bborn/communityengine.git 
Updating https://github.com/bborn/authlogic.git 
Updating https://github.com/paneq/calendar_date_select.git 
Fetching source index for http://rubygems.org/ 
Bundler could not find compatible versions for gem "arel": 
    In Gemfile: 
    community_engine (= 2.0.0.beta) depends on 
     arel (~> 2.1.1) 

    community_engine (= 2.0.0.beta) depends on 
     arel (2.2.1) 

Bundler could not find compatible versions for gem "activemodel": 
    In Gemfile: 
    community_engine (= 2.0.0.beta) depends on 
     activemodel (= 3.1.0.beta1) 

    community_engine (= 2.0.0.beta) depends on 
     activemodel (3.1.0.rc2) 

Bundler could not find compatible versions for gem "rack": 
    In Gemfile: 
    community_engine (= 2.0.0.beta) depends on 
     rack (= 1.3.2) 

    community_engine (= 2.0.0.beta) depends on 
     rack (1.3.3) 

宝石列表显示了合适的版本安装:

rack (1.3.3, 1.3.2) 
arel (2.2.1, 2.1.1) 
activemodel (3.1.0, 3.1.0.rc2, 3.1.0.beta1) 

它会变得陌生了。运动在我的Gemfile从结束到中间的3条额外的宝石线(“源”和“宝石轨”行之后)改变了捆绑报告中的错误:

Bundler could not find compatible versions for gem "actionpack": 
    In Gemfile: 
    rails (= 3.1.0) depends on 
     actionpack (= 3.1.0) 

    community_engine (= 2.0.0.beta) depends on 
     actionpack (3.1.0.rc2) 

Bundler could not find compatible versions for gem "rack": 
    In Gemfile: 
    community_engine (= 2.0.0.beta) depends on 
     rack (= 1.3.2) 

    community_engine (= 2.0.0.beta) depends on 
     rack (1.3.3) 

的community_engine宝石肯定是怀疑这里,我也在他们的论坛上寻求答案。但是,捆绑销售商出现的这些奇怪的错误可以向更多的受众提出。

任何建议,乡亲? thx!

回答

0

FWIW,在community_engine的README.markdown(https://github.com/bborn/communityengine/blob/master/README.markdown),它说:

要求:

  • rails的版本,2.3.4(更高尚不支持版本)

但它看起来像你想用Rails 3.1?

+0

好,但这是主分支。我正在关闭rails3分支。 –

相关问题