While i\'m deploying my rails application through capistrano to my CentOS server all the time i have been receiving this error:
*** ERROR: Phusion Pas
Finally i resolved my issue. I have done two things.
Firstly i created new temp folder in my home directory. Then inside Apache config file i added
PassengerInstanceRegistryDir /home/userr/instancetemp
Then i pushed this to my env path with
echo 'PASSENGER_INSTANCE_REGISTRY_DIR=/home/userr/instancetemp' >> ~/.bash_profile
I think this is enough but i added also this path to my capistrano config
set :default_env, {
"PASSENGER_INSTANCE_REGISTRY_DIR" => "/home/userr/instancetemp"
}