gem path issue?

Since installing and cleaning some gems in my environment, any rails commands fail to run within rubymine - 3.1 & 3.1.1 (see output below).  Everything is fine from shell command line where I have PATH including /usr/local/Cellar/ruby/1.9.2-p0/bin
If I start rubymine from the command so it pics up this path everything is also fine.

Is some how attaching ruby SDK not picking up GEM path?

Running on osx

/usr/local/Cellar/ruby/1.9.2-p0/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /usr/local/Cellar/ruby/1.9.2-p0/bin/bundle install
/usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/bundler/gems/devise-63b72cd512b1/devise.gemspec:17:in ``': No such file or directory - git ls-files (Errno::ENOENT)
 from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/bundler/gems/devise-63b72cd512b1/devise.gemspec:17:in `block in <main>'
 from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:426:in `initialize'
 from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/bundler/gems/devise-63b72cd512b1/devise.gemspec:5:in `new'
 from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/bundler/gems/devise-63b72cd512b1/devise.gemspec:5:in `<main>'
 from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler.rb:239:in `eval'
 from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler.rb:239:in `rescue in block in load_gemspec'
 from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler.rb:234:in `block in load_gemspec'
 from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler.rb:232:in `chdir'
 from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler.rb:232:in `load_gemspec'
 from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/source.rb:337:in `block in load_spec_files'

0

Please sign in to leave a comment.