I'm brand new to RoR and am following along a tutorial and am at this step http://railstutorial.org/chapters/beginning#sec:git_setup but I can't
get git init to work.
I thought I had Git installed per
MacBook-Pro:~ capestany$ git --version git version 22.214.171.124
But the only way I can get that to appear at all is by doing
MacBook-Pro:~ capestany$ export PATH=/usr/local/git/bin/:$PATH MacBook-Pro:~ capestany$ git
I don't really know what I'm doing in terminal, are my paths or permissions wrong? Here's some more stuff when I echo the path:
MacBook-Pro:~ capestany$ echo $PATH /usr/local/git/bin/:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec
Yes, I'm a newbie! So what do I need to do to get Git working in my Rails directories?