Hello,

I have quite simple task (below it the relevant bits of it)

 within fetch(:shared_path) do
        puts "#{puma_socket} exists: #{File.socket?("sockets/puma.sock")}"

which always gives me *false*, but the socket file exists and located in 
the /var/www/myapp/test/shared/sockets.
File.exists? also gives false. In fact for ant file I am trying to check.

I have a feeling it checks files on my local machine, not on the server. 
What is the right approach to check file on the server?

Thanks,
Andrei

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to