Can't install passenger 3 on Snow Leopard (with RVM and ruby 1.9.2)

送分小仙女□ 提交于 2019-12-03 13:43:17

Two solutions:

  1. Use rvmsudo, not sudo.
  2. Fix your directory permissions. /Users/myname/.rvm should be writable for myname but for some reason you caused that not to be the case.

I think you can use system ruby instead of RVM ruby for installing passenger:

rvm use default
sudo gem install passenger
sudo passenger-install-apache2-module

I actually chmod the folder as Shingara suggested and it worked.

the only thing I can't understand is why issuing the command with sudo lead to problems :(

thanks for your help!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!