I upgraded Ruby version to 2.0.0p451 and RubyMine version to 6.3. The new ruby version is correctly installed and on command line I can run bundle install for my project without any problem. However, when I try to run the application inside RubyMine I get an error. It looks like bundler can not find git. I looked around in settings, but could not find a clue. By the way RubyMine can see git and I see changes pane.
Below is the stack trace:
"C:\Program Files (x86)\JetBrains\RubyMine 6.3\bin\runnerw.exe" E:\Ruby\Ruby200\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) E:/Ruby/projects/rgstonaj/script/rails server -b 127.0.0.1 -p 3000 -e development
E:/Ruby/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.6.1/lib/bundler/source/git/git_proxy.rb:43:in `initialize': You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git (Bundler::Source::Git::GitNotInstalledError)
from E:/Ruby/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.6.1/lib/bundler/source/git.rb:283:in `new'