Unable to run spec files (Rubymine 3.2 RM#107.364)
Hi guys,
I have a problem when i try to run specs from Rubymine (everything works fine from terminal).
My project use subversion and not git, but in my Gemfile i use some link to git files like this:
gem 'netzke-core', :git => "git://github.com/skozlov/netzke-core.git"
gem 'netzke-basepack', :git => "git://github.com/skozlov/netzke-basepack.git"
gem 'netzke-communitypack', :git => "git://github.com/skozlov/netzke-communitypack.git"
Below is the error i've got when i try to run specs from Rubymine (all or individual)
If anybody has some pointer on this one ?:|
Thanks by advance,
Bests,
Matt
-------------------------------- Error output in the console ---------------------------
ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) bin/rspec
spec/models/product_spec.rb --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter
Testing started at 5:54 PM ...
bundler/gems/netzke-communitypack-7d5093412db2/netzke-communitypack.gemspec:19:in ``':
No such file or directory - git ls-files (Errno::ENOENT)
from bundler/gems/netzke-communitypack-7d5093412db2/netzke-communitypack.gemspec:19:in `block in <main>'
from lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:426:in `initialize'
from bundler/gems/netzke-communitypack-7d5093412db2/netzke-communitypack.gemspec:4:in `new'
from bundler/gems/netzke-communitypack-7d5093412db2/netzke-communitypack.gemspec:4:in `<main>'
from gems/bundler-1.0.15/lib/bundler.rb:239:in `eval'
from gems/bundler-1.0.15/lib/bundler.rb:239:in `rescue in block in load_gemspec'
from gems/bundler-1.0.15/lib/bundler.rb:234:in `block in load_gemspec'
from gems/bundler-1.0.15/lib/bundler.rb:232:in `chdir'
from gems/bundler-1.0.15/lib/bundler.rb:232:in `load_gemspec'
from gems/bundler-1.0.15/lib/bundler/source.rb:347:in `block in load_spec_files'
from gems/bundler-1.0.15/lib/bundler/source.rb:346:in `each'
from gems/bundler-1.0.15/lib/bundler/source.rb:346:in `load_spec_files'
from gems/bundler-1.0.15/lib/bundler/source.rb:563:in `load_spec_files'
from gems/bundler-1.0.15/lib/bundler/source.rb:379:in `local_specs'
from gems/bundler-1.0.15/lib/bundler/source.rb:548:in `specs'
from gems/bundler-1.0.15/lib/bundler/definition.rb:147:in `block in resolve'
from gems/bundler-1.0.15/lib/bundler/definition.rb:145:in `each'
from gems/bundler-1.0.15/lib/bundler/definition.rb:145:in `resolve'
from gems/bundler-1.0.15/lib/bundler/definition.rb:90:in `specs'
from gems/bundler-1.0.15/lib/bundler/definition.rb:135:in `specs_for'
from gems/bundler-1.0.15/lib/bundler/definition.rb:124:in `requested_specs'
from gems/bundler-1.0.15/lib/bundler/environment.rb:23:in `requested_specs'
from gems/bundler-1.0.15/lib/bundler/runtime.rb:11:in `setup'
from gems/bundler-1.0.15/lib/bundler.rb:107:in `setup'
from gems/bundler-1.0.15/lib/bundler/setup.rb:17:in `<top (required)>'
Please sign in to leave a comment.
Most likely git dir isn't in PATH for RubyMine.app, please read http://devnet.jetbrains.net/docs/DOC-1160