0
1.Hi all,please I need help! 2.我想部署一個代碼在開發服務器上,當我把這個命令 帽開發部署BRANCH_TO_DEPLOY這個錯誤出現 我該怎麼辦?服務器部署錯誤:cap dev deploy BRANCH_TO_DEPLOY
*WARN: Unresolved specs during Gem::Specification.reset:
redis (>= 3.0)
redis-namespace (>= 0)
connection_pool (>= 1.0.0)
json (>= 0)*emphasized text*
i18n (~> 0.6)
multi_json (~> 1.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/usr/local/rvm/gems/[email protected]/gems/bundler- 1.7.2/lib/bundler/runtime.rb:34:in `block in setup': You have already ``activated celluloid 0.14.1, but your Gemfile requires celluloid 0.12.4. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
當我使用束EXEC此錯誤出現
/usr/local/rvm/gems/[email protected]/gems/bundler-1.7.2/lib/bundler/rubygems_integration.rb:256:in `block in replace_gem': capistrano is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
它不起作用您已經激活賽璐珞0.14.1,但您的Gemfile需要賽璐珞0.12.4。在你的命令前面加上'bundle exec'可以解決這個問題。 (Gem :: LoadError) –
「你的Gemfile需要賽璐珞0.12.4」意味着在你的Gemfile.lock中有一行說「使用賽璐珞0.12.4」。這是造成這個問題的原因。修復你的Gemfile.lock,手動或通過軟件包更新,或者所有版本晚於0.12.4的gem uninstall celluloid。 –