I'm trying to deploy a Rails 3 application to a shared server. However, I get the following error from Passenger: uninitialized constant Bundler.
I guess the error is somehow related to the version of the rack gem: Rails 3 expects version 1.2.1, whereas the installed version is 1.1.0. I installed the newer version into my home directory (plus it is bundled with my application), without luck...
Well, that's not entirely true: if I add "require 'bundler'" to config/boot.rb, restart Passenger, remove the require statement I just added, and restart Passenger again, then my application works fine. But only until Passenger unloads my application due to inactivity. After that, I get the error mentioned above.
Does anyone have an idea of how to make it work permanently?