I am using a vagrant box as a development machine for a project with an odd dependency I can only seem to install on ubuntu.
I created my database and have my app co
According to this, you can reach the host through the VM's default gateway.
Running netstat -rn
on the guest should give you the relevant info, on my machine changing your code above to the following looks like it would get things going for you:
# database.yml
development:
host: <%= `netstat -rn | grep "^0.0.0.0 " | cut -d " " -f10` %>