wayne.sima...@gmail.com wrote:
> I'm trying to teach myself version control using GIT on a Windows
> machine for my ROR development. I downloaded and ran the cygwin and it
> created the following files:
> './.bashrc' -> '/home/Wayne//.bashrc'
> './.bach_profile' -> '/home/Wayne//.bash_profile'
> './.inputrc' -> '/home/Wayne//.inputrc'
> 
> wa...@gateway ~
> $
> 
> I also installed the gem git-rails
> 
> I've created a project and did a cd to that project.
> 
> Now when I run get-rails init I receive what looks like an error
> finding my HOME path as follows:
> 
>                 C:/ruby/lib/ruby/gems/1.8/gems/git-rails-0.2.1/bin/git-
> rails:12:in `expand_path': couldn't find HOME        environment --
> expanding `~' (ArgumentError)
>   from C:/ruby/lib/ruby/gems/1.8/gems/git-rails-0.2.1/bin/git-rails:12
>   from C:/ruby/bin/git-rails:19:in `load'
>   from C:/ruby/bin/git-rails:19
> 
> Any ideas?


There doesn't seem to be much information about the git-rails gem on 
google.  That fact alone would have persuaded me to go a different 
route.

Why not actually download and install git?  I am in the same position as 
you: I am learing git(as of 3 days ago) but on a mac.  But you installed 
cygwin, so that means you should have a unix like environment to work 
with, and we should be in the same boat.

I downloaded git itself and installed it.  I used this tutorial to 
start:

Starting with git using just 10 commands (I'm only using 5 so far)
http://blog.xkoder.com/2008/08/13/git-tutorial-starting-with-git-using-just-10-commands/

But it was hard to find a tutorial that actually tells you how to 
rollback to a previous version of your code.  This one does:

http://www-cs-students.stanford.edu/~blynn/gitmagic/ch02.html#_saving_state

(see section Advanced Undo/Redo--I'm not sure why it's titled "Advanced" 
since it's so basic.)
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to