首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >捆绑包安装--部署数量错误

捆绑包安装--部署数量错误
EN

Stack Overflow用户
提问于 2013-07-05 20:04:03
回答 1查看 613关注 0票数 3

我在Gemfile中有这一行:

代码语言:javascript
复制
gem "acts_as_versioned", :git => 'https://github.com/rtacconi/acts_as_versioned.git'

在两台服务器上,捆绑安装在部署模式下工作,但在一台服务器上,我得到了这样的结果:

代码语言:javascript
复制
  * executing "cd /path_to_app/releases/20130705120639 && bundle install --gemfile /path_to_app/releases/20130705120639/Gemfile --path /path_to_app/shared/bundle --deployment --quiet --without development test"
    servers: ["173.255.196.228"]
    [173.255.196.228] executing command
 ** [out :: 173.255.196.228] Unpacking objects:   8% (1/12)
 ** [out :: 173.255.196.228] Unpacking objects:  16% (2/12)
 ** [out :: 173.255.196.228] Unpacking objects:  25% (3/12)
 ** [out :: 173.255.196.228] Unpacking objects:  33% (4/12)
 ** [out :: 173.255.196.228] Unpacking objects:  41% (5/12)
 ** [out :: 173.255.196.228] Unpacking objects:  50% (6/12)
 ** [out :: 173.255.196.228] Unpacking objects:  58% (7/12)
 ** [out :: 173.255.196.228] Unpacking objects:  66% (8/12)
 ** [out :: 173.255.196.228] Unpacking objects:  75% (9/12)
 ** [out :: 173.255.196.228] Unpacking objects:  83% (10/12)
 ** [out :: 173.255.196.228] Unpacking objects:  91% (11/12)
Unpacking objects: 100% (12/12), done. objects: 100% (12/12)   
 ** [out :: 173.255.196.228] ArgumentError: wrong number of arguments (1 for 3)
 ** [out :: 173.255.196.228] An error occurred while installing acts_as_versioned (0.6.1), and Bundler cannot
 ** [out :: 173.255.196.228] continue.
 ** [out :: 173.255.196.228] Make sure that `gem install acts_as_versioned -v '0.6.1'` succeeds before
 ** [out :: 173.255.196.228] bundling.
EN

回答 1

Stack Overflow用户

发布于 2013-07-05 23:37:17

尝试将bundler删除到prisitne状态:

代码语言:javascript
复制
gem pristine bundler

除此之外,我也会尝试gem update bundler

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/17488494

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档