我希望在服务器上形成一种循环环境。 我非常好地利用了强食堂进行部署。
我对展期/多阶段延长作了改动,但正出现以下错误:
# Add RVM s lib directory to the load path.
* executing "cd /data/sites/staging.domain.com/apps/app/releases/20120501225426 && rake RAILS_ENV=production db:migrate"
servers: ["173.111.158.135"]
[173.111.158.135] executing command
*** [err :: 173.111.158.135] rake aborted!
*** [err :: 173.111.158.135] Could not find rake-0.9.2.2 in any of the sources
*** [err :: 173.111.158.135]
*** [err :: 173.111.158.135] (See full trace by running task with --trace)
*** [err :: 173.111.158.135]
command finished in 1332ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell 1.9.2 -c cd /data/sites/staging.domain.com/apps/app/releases/20120501225426 && rake RAILS_ENV=production db:migrate " on 173.111.158.135
在我的格文稿中,我有:
gem rake , 0.9.2.2
在我的当地机器上,我得到:
Tue May 01$ rake -V
rake, version 0.9.2.2
Tue May 01$
在服务器上,我:
#rake -V
rake, version 0.9.2
#rake
Could not find rake-0.9.2.2 in any of the sources
Run `bundle install` to install missing gems.
如果是:
# which ruby
/usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby
# which rake
/usr/local/rvm/gems/ruby-1.9.2-p290/bin/rake
# /usr/local/rvm/gems/ruby-1.9.2-p290/bin/rake -V
rake, version 0.9.2
上限差错似乎是一种微小的加密。 谁能帮助我说明这一点? 如果我具体说明了0.9.2.2,而且只有9.2份,那么我的其他封面为什么会发挥作用? 我是否有必要强迫独角兽部队安装 r0.9.2.2,我目前还没有这样做,我如何这样做?
thx