Colin Wu
Colin Wu

Reputation: 699

Passenger can't find gems in production

Passenger: 5.0.22, Rails: 3.2.22, Capistrano 3.4.0

I built a new server and am trying to deploy a Rails application with Capistrano. Seems that after deployment Passenger can not start the web app because it can not find some gemfiles. After some digging, I found that it is only the ones that are in the user's .gem/ directory that Passenger can not find even though it's in the application's GEM_PATH.

Have read a number of posts on stackoverflow but they all seem to be for older version (2 and 3) of Passenger. Any ideas, anybody?

Upvotes: 1

Views: 393

Answers (1)

Colin Wu
Colin Wu

Reputation: 699

Turns out it was SELINUX!!! Disabled it and now Passenger finds all the gems. Grrrrr!

Upvotes: 1

Related Questions