I have try deploy a rails app with nginx and passenger. First I try use rbenv to do so. After a lot of issues I try uninstall rbenv and switch to rvm. But there is still an