简体   繁体   English

capistrano使用错误版本的Ruby进行部署

[英]capistrano deploy with wrong version of Ruby

after I deploy with capistrano to a new server I see: 将capistrano部署到新服务器后,我看到:

/shared/bundle/ruby/1.9.1/gems/ /shared/bundle/ruby/1.9.1/gems/

I don't even have ruby 1.9.1 installed on the server. 我什至没有在服务器上安装ruby 1.9.1。 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? 如果我运行: ruby -v它返回1.9.3,但是在所有capisrtano动作中,我一直看到1.9.1为什么会这样? and how can i stop it? 我该如何阻止它?

thanks 谢谢

Don't worry. 不用担心 Ruby 1.9.1 to 1.9.3 is using that path by default. Ruby 1.9.1到1.9.3默认使用该路径。 It doesn't necessarily mean you are using the wrong Ruby. 这不一定意味着您使用了错误的Ruby。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM