Tuesday, March 22, 2011

Setting Git executable path in RubyMine 3.0

Sometimes, when you do changes in Rails application and want to see the changes in RubyMine 3.0, it displays NO changes although there are files that has been changed. When you try to commit and push the code with Git you are not able to do so, you get error that path could not be located.

To make RubyMine 3.0 work with Git, you have to set 'Path to git executable'.
Click on File, open File -> Settings -> Version Control -> VCSs -> Git and set 'Path to git executable'. In Windows7 in my case it's "C:\Program Files\Git\bin\git.exe"

Click on OK.
Restart RubyMine and your path to Git is set, you will be able to commit and push the code now.

No comments:

Post a Comment