Я получу 502 плохих шлюза, если я попытаюсь указать оба Passenger_root с остальными моими драгоценными камнями.
my nginx.conf (я не использую оба пассажирских корня)
env GEM_HOME=/home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolt;
http {
# this line will pass, but I am worried that it's not detecting a particular gem is checked out because it's looking for the passenger_root in a different location.
# this is also the default gem install before I installed RVM
passenger_root /home/shadyfront/webapps/revolting_age/gems/gems/passenger-2.2.15;
# this line fails even though this is where the other passenger can be found
passenger_root /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolt/gems/passenger-2.2.15;