简体   繁体   English

使用带有mod_rails(乘客)的RVM gemsets有什么意义吗?

[英]Is there any point using RVM gemsets with mod_rails (passenger)?

I have created a .rvmrc file in the parent directory where my app is located, and inside it placed: 我在我的应用程序所在的父目录中创建了一个.rvmrc文件,并在其中放置:

rvm ruby-1.9.3-p327@ruby-1.9.3-p327-project_name

and in my deploy.rb file (I am using Capistrano) I have: 在我的deploy.rb文件中(我使用的是Capistrano)我有:

set :rvm_ruby_string, 'ruby-1.9.3-p327@ruby-1.9.3-p327-project_name'

However am I right in thinking that the current stable version of Passenger can't use independent gemsets per app anyway? 但是,我认为当前稳定版本的Passenger无法为每个应用程序使用独立的gemset吗? So I might as well not have bothered doing the above? 所以我可能不会为上述事情烦恼吗? Or is it good to have it in place for when Passenger 4 comes out? 或者当乘客4出来时,它是否适合使用? Are there any downsides to keep it? 保留它有什么缺点吗? Should I remove these references? 我应该删除这些参考吗?

当前乘客不支持不同的红宝石,本文档可轻松添加对不同红宝石的支持: https//rvm.io/integration/passenger/

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

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