简体   繁体   中英

PASSENGER/RVM permission denied (13)

Hi all I am trying to run my test rails app using rvm & passenger

passenger ruby is set to /usr/local/rvm/wrappers/ruby-2.2.0/

however I get the error below 乘客许可被拒绝错误

When I check my rvm ruby wrapper I saw all files under ruby-2.2.0 which is what I am using, don't have any permissions(see image)

文件渗透

does anyone encounter the same thing. How can I solve this? I already tried chmod 777 -R wrappers

确保/usr/local/rvm具有/usr/local/rvm可读性:

chmod a+x /usr/local/rvm

这不是最好的答案,我的解决方案是我迁移到Unicorn + Rbenv + Capistrano设置

try use set config PassengerUser https://www.phusionpassenger.com/library/config/apache/reference/#passengeruser . Set it with user that you use when install rvm.

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