After you enter Passenger-install-nginx-module, you are prompted
Unable to autodetect the currently active RVM gem set name. This could happen if-you-ran this program using ' sudo ' instead of ' Rvmsudo '. When using the RVM, you ' re always supposed the use ' Rvmsudo ' instead of ' sudo! '.
Please try rerunning the program using ' Rvmsudo '. If the doesn ' t help, please contact this program's author for support.
However, following the prompts, you are still prompted for such errors.
If you encounter such a problem, you can try this:
1. SOURCE ~/.RVM/SCRIPTS/RVM
2,? ~ RVM list
RVM Rubies
ruby-2.0.0-p451 [x86_64]
ruby-2.0.0-p598 [x86_64]
ruby-2.1.1 [x86_64]
* ruby-2.1.2 [x86_64]
# =-current
# =*-current && default
# *-Default
3,? ~ RVM use ruby-2.1.2
using/users/mac/.rvm/gems/ruby-2.1.2
4,? ~ rvmsudo passenger-install-nginx-module
If not unexpected, will be installed all the way down in your
There will be more configuration in the/usr/local/etc/nginx/nginx.conf file.
Passenger-install-nginx-module under Mac