Bug #2982
closedchange wiki to use "bundle install --deployment"
Description
to avoid weird problems with keeping package locations/versions consistent, especially for production.
Updated by Phil Hodgson over 10 years ago
- Status changed from New to Resolved
I made the Wiki change.
I have to say though that I still find it peculiar that Joe and I had the problems we had, so I'll make a couple of quick notes:
This occured because there is one gem in the gemfile that is currently sourced from github. It is a trivial gem that could be replaced by our own code (validates_email_format_for) but anyway that's not what's important. What is important is that on the PGP.ca test installation this one gem ended up in a different location from the rest, and Passenger with Apache2 could not find it. Using `bundle install --deployment` solved the problem. However, it would seem that it may actually be a file permissions issue. See this discussion:
https://code.google.com/p/phusion-passenger/issues/detail?id=505