我想通过 rvm1-capistrano 安装 rvm。每次我运行任务时,它都会告诉我Ruby [version] is not installed
。这很奇怪,因为我已经知道它没有安装,这就是我运行任务的原因:安装它。为什么是这样?
这是一个开箱即用的香草安装。我没有改变任何东西。我添加了以下内容:
set :rvm_ruby_version, '2.0.0-p353' # to deploy.rb, 同样的错误 w/without set :pty, true # deploy.rb require 'rvm1/capistrano3' # to Capfile
根据其他人的建议,我.ruby-version
在我的应用程序的根目录中添加了一个2.0.0
作为内容。
我没有正确理解什么?为什么负责安装 ruby 的任务会告诉我 ruby 没有安装?
DEBUG [09203819] Command: cd ~/apps/simpleblog/releases/20140121174439 && /usr/bin/env /tmp/simpleblog/rvm-auto.sh rvm install .
DEBUG [09203819] ruby-2.0.0-p353 is not installed.
DEBUG [09203819]
DEBUG [09203819] To install do: 'rvm install ruby-2.0.0-p353'
DEBUG [09203819]
DEBUG [09203819] Searching for binary rubies, this might take some time.
DEBUG [09203819]
DEBUG [09203819] No binary rubies available for: ubuntu/13.10/x86_64/system.
DEBUG [09203819]
DEBUG [09203819] Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
DEBUG [09203819]
DEBUG [09203819] RVM does not have prediction for required space for system, assuming 150MB should be enough, let us know if it was not.
DEBUG [09203819]
DEBUG [09203819] Either the ruby interpreter is unknown or there was an error!.
DEBUG [09203819]