I searched around and found instructions on how to setup environment variable for Mac OS X. http://devnet.jetbrains.net/docs/DOC-1160
I followed the instructions for Mac OS X 10.6+. I also checked my settings for git in RubyMine and the path is correct.
However, when I run the bundler from within RubyMine I receive the following error:
/usr/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /usr/bin/bundle install
An error has occurred in git when running `git clone "git://github.com/durran/mongoid-rspec.git" "/Library/Ruby/Gems/1.8/cache/bundler/git/mongoid-rspec-12873474abfda83123c050932e389c6d2ecd3995" --bare --no-hardlinks`. Cannot complete bundling.
sh: git: command not found
Process finished with exit code 11
Any help would be appreciated.