On Nov 10, 2010, at 7:54 AM, Jarmo Pertman wrote: > I didn't get any replies about that problem so far but i just managed > to find out how to make it work manually.
What manual change did you make? > The problem is that the bundle exec is not working like this on > Windows: > bundle exec C:\bin\pik\Ruby-187-p302\bin\ruby > > But works like this: > bundle exec C:\bin\pik\Ruby-187-p302\bin\ruby.exe > > I don't understand who makes that decision what should be executed via > bundler - is it RSpec? Rails? Bundler itself? As of rspec-2.0, rspec prefixes the command with "bundle exec " if there is a Gemfile, but delegates to Autotest's definition of the ruby executable itself. There is already an issue open in rspec-core to have an opt-out for "bundle exec ", but that wouldn't change which ruby executable is used. Cheers, David > Anyway, maybe someone knows what makes up that exec command so i can > open up an issue at correct place. > > Jarmo > > On Oct 24, 9:20 pm, Jarmo Pertman <jarm...@gmail.com> wrote: >> No ideas, what might cause that problem? Could it be a Windows-only- >> issue? >> >> Jarmo >> >> On Oct 22, 3:46 pm,JarmoPertman<jarm...@gmail.com> wrote: >> >> >> >> >> >> >> >>> Hello! >> >>> I'm trying to run autotest under Windows when using Rails 3.0.1 and >>> RSpec 2.0.1. It's not working so far. This is what happens: >>> C:\Users\jarmo\Desktop\minu\projects\Ruby\sample_app>autotest >>> loading autotest/rails_rspec2 >>> style: RailsRspec2 >>> bundle exec C:\bin\pik\Ruby-187-p302\bin\ruby -S C:/bin/pik/Ruby-187- >>> p302/lib/ruby/gems/1.8/gems/rspec-core-2.0.1/bin/rspec --autotest 'C:/ >>> Users/jarmo >>> /Desktop/minu/projects/Ruby/sample_app/spec/controllers/ >>> pages_controller_spec.rb' >>> bundler: command not found: C:\bin\pik\Ruby-187-p302\bin\ruby >>> Install missing gem binaries with `bundle install` >> >>> ... and then i have to interrupt it manually. >> >>> I have installed gems autotest and autotest-rails-pure. Anything else >>> i have to do to get it running? >> >>> Jarmo >>> _______________________________________________ >>> rspec-users mailing list >>> rspec-us...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users >> >> _______________________________________________ >> rspec-users mailing list >> rspec-us...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users