running a Rails app on a fresh installation of Nginx/Passenger causes error “no such file to load — bundler/setup (LoadError)”
问题 I have a VPS running Ubuntu 12.04. I've installed Nginx and Passenger on it by following these and these instructions, and as per the instructions, I've added to the http block of file /etc/nginx/nginx.conf the following lines: passenger_root /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini; passenger_ruby /usr/bin/ruby; and the following block (where I've replaced the actual domain name by www.example.com ): server { listen 80; server_name www.example.com; root /srv/rails/myapp