如何通过rvm1-capistrano3安装Ruby

时间:2014-01-21 17:56:40

标签: ruby-on-rails ruby capistrano rvm-capistrano capistrano3

我想通过rvm1-capistrano安装rvm。每次我运行任务时它都会告诉我Ruby [version] is not installed。这很奇怪,因为我已经知道它没有安装,这就是我正在运行任务的原因:安装它。这是为什么?

这是一种开箱即用的香草。我什么都没改变。我添加了以下内容:

设置:rvm_ruby_version,'2.0.0-p353'#to deploy.rb,同样的错误没有/没有 set:pty,true#deploy.rb 要求'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]    

0 个答案:

没有答案