Windows 7 32 - bit
I am using git for my Ruby on Rails application. First time so...
I created a .bat file for loading my RoR applications with the paths manually typed using this tutorial at "http://www.youtube.com/watch?v=-eFwV8lRu1w" If you are new to Ruby on Rails you might want to check it out as I followed all steps and it works flawlessly after a few trials and errors.
(The .bat file is editable using notepad++ hence no need for the long process whenever you need to edit a path, you can follow these simple process after creating a .bat file following the tutorials on the link above "file is called row.bat".)
- right click on the .bat file,
- edit with notepad++.
- find path.
insert path below the last path you inputted.
)
During the tutorials I don't remember anything said in regards to using the git command so when starting a new project I had this same problem after installing git. The main issue I had was locating the folder with the bin/git.exe (git.exe did not show up in search using start menu's "search programs and files" ) NOTE I now understood that the location might vary drastically --- see below.
To locate the bin/git.exe i followed this steps
1 left click start menu and locate ->> all programs ->> GitHub inc.
2 right click git shell and select open file location
3 click through folders in the file location for the folder "bin"
(I had 4 folders named
1. IgnoreTemplates_fdbf2020839cde135ff9dbed7d503f8e03fa3ab4
2. lfs-x86_0.5.1
3. PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad ("bin/exe, found here <<-")
4. PoshGit_869d4c5159797755bc04749db47b166136e59132
)
Copy the full link by clicking on the explorers url
(mine was "C:\Users\username\AppData\Local\GitHub\PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad\bin") open .bat file in notepad++ and paste using instructions on how to add a path to your .bat file from tutorials above. Problem solved!