Using rbenv and rbenv-gemset with Passenger for Nginx
location @passenger {
passenger_enabled on;
passenger_app_env production;
passenger_set_cgi_param GEM_PATH "/home/user/.rbenv/versions/1.8.7-p370/gemsets/myapp";
}
Written by Thibault Couraud
Related protips
1 Response
If anyone else comes across this, it should be passengerenvvar instead of passengersetcgi_param. Otherwise, thanks for the tip!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#