Search code examples
ruby-on-railsrubypassengerbundlerruby-enterprise-edition

Rails/Passenger: no such file to load -- bundler


I have an application running an old version of Rails (2.2.2) and Passenger that I got up and running using Ruby Enterprise Edition 1.8.7. However, I soon found there were some incompatibilities between older versions of Rails and Ruby 1.8.7, and decided to downgrade to REE 1.8.6. However, now the application fails to start with a LoadError:

no such file to load -- bundler

I assume some path is not set correctly, but I'm not sure where to look. Any suggestions?


Solution

  • After much banging my head against the wall, I realized it was because files in /opt/ruby-enterprise-... weren't group readable (so the user running Apache didn't have access, I assume).