I'd like to setup a vagrant instance outside of my project directory. Is there a way to deploy rails into the vagrant VM with capistrano as I would to my real production host?
I'm trying to use server as "localhost" but I get:
connection failed for: localhost (Errno::ECONNREFUSED: Connection refused - connect(2))
I figured it out. In case others care to know:
$ vagrant ssh
) and ran ifconfig
to get my IP address.vagrant ssh-config >> ~/.ssh/config
vagrant
It worked.