简体   繁体   中英

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:

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:

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? 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? Are there any downsides to keep it? Should I remove these references?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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