capistrano使用错误版本的Ruby进行部署 [英] capistrano deploy with wrong version of Ruby
本文介绍了capistrano使用错误版本的Ruby进行部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将capistrano部署到新服务器后,我会看到:
after I deploy with capistrano to a new server I see:
/shared/bundle/ruby/1.9.1/gems/
/shared/bundle/ruby/1.9.1/gems/
我什至没有在服务器上安装ruby 1.9.1。如果我运行: ruby -v
,它将返回1.9.3
,但是在所有capisrtano动作中,我一直看到1.9.1
这是为什么?以及我该如何阻止它?
I don't even have ruby 1.9.1 installed on the server. and if i run: ruby -v
it returns 1.9.3
but in all of capisrtano actions i keep seeing 1.9.1
why is that? and how can i stop it?
谢谢
推荐答案
Don'不用担心Ruby 1.9.1到1.9.3默认使用该路径。不一定表示您使用的是错误的Ruby。
Don't worry. Ruby 1.9.1 to 1.9.3 is using that path by default. It doesn't necessarily mean you are using the wrong Ruby.
这篇关于capistrano使用错误版本的Ruby进行部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文