Ruby 捆绑包安装--部署错误数量的
我的文件中有一行:Ruby 捆绑包安装--部署错误数量的,ruby,ruby-on-rails-3,bundler,Ruby,Ruby On Rails 3,Bundler,我的文件中有一行: gem "acts_as_versioned", :git => 'https://github.com/rtacconi/acts_as_versioned.git' 在两台服务器上,以部署模式进行捆绑安装是可行的,但在一台服务器上,我得到以下信息: * executing "cd /path_to_app/releases/20130705120639 && bundle install --gemfile /path_to_app/relea
gem "acts_as_versioned", :git => 'https://github.com/rtacconi/acts_as_versioned.git'
在两台服务器上,以部署模式进行捆绑安装是可行的,但在一台服务器上,我得到以下信息:
* 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.
尝试将捆绑机放置到prisitne状态:
gem pristine bundler
除此之外,我还会尝试gem update bundler