I’ve been struggling with this for a bit longer than I should. I am using RVM and Apache and this is the error I am getting after deploying my Rails 3 app. Is there something I am missing?!
the full error states the following:
Ruby (Rack) application could not be started
A source file that the application requires, is missing.
It is possible that you didn’t upload your application files correctly. Please check whether all your application files are uploaded.
A required library may not installed. Please install all libraries that this application requires.
Further information about the error may have been written to the application’s log file. Please check it in order to analyse the problem.
Error message:
no such file to load — bundler/setup
Exception class:
LoadError
It seems like Passenger is using a different Ruby than RVM probably the system Ruby. You’ll need to either install Passenger manually (using your Ruby of choice with RVM) and remove the system Ruby or install bundler with the system Ruby.