[rspec-users] autotest not working on Windows with rails3 and rspec2?

Jarmo Pertman jarmo.p at gmail.com
Wed Nov 10 08:54:15 EST 2010


I didn't get any replies about that problem so far but i just managed
to find out how to make it work manually.

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?

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... at 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... at 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... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
>
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list