I just reinstalled OS X from scratch on my mac, and copied over all my data files (not a Time Machine restore). When trying to run vagrant up I now get this:
[...]/homestead/scripts/homestead.rb:26:in `read': No such file or directory - ~/.ssh/id_rsa.pub (Errno::ENOENT)
I regenerated my ssh keys and tested them on GitHub, so they do work. I also ran cat ~/.ssh/id_rsa.pub which output the file without any problems, so it does exist. Any ideas what might be happening here?
Using ~ to indicate your home directory is a better approach and will work in teams. Although not sure how it will work on windows -- if homestead can even be installed on Windows?
I agree strongly with @mikebronner. Using ~/ to refer to your home folder is definitely the way to go for Team Devs. Great to be aware of the issue and it's fix.
Thanks @codeatbusiness, good to know for the windows users out there. I guess they will be out of luck in a team environment. :) I guess if its a pure windows team, they could use something like:
%USERPROFILE%/.ssh/id_rsa.pub
However, was just reading that Ruby will interpret the "~" home path indicator correctly in Windows as well, so using ~/.ssh/id_rsa.pub should still work in homestead on Windows. Can someone verify?