autotest icon indicating copy to clipboard operation
autotest copied to clipboard

Doesn't work in Windows...

Open vizakenjack opened this issue 13 years ago • 1 comments

I have a rails3 project with Rspec 2, my ruby version is 1.9.2. I have only windows 7 x64 at work, and I can't run autotest.

My console log:

C:\Ruby192\web\app>autotest NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from C:/Ruby192/lib/ruby/gems/1.9.1/gems/ZenTest-4.5.0/lib/autotest.rb:226. NOTE: Gem::SourceIndex#gems is deprecated with no replacement. It will be removed on or after 2011-1 1-01. Gem::SourceIndex#gems called from C:/Ruby192/lib/ruby/gems/1.9.1/gems/ZenTest-4.5.0/lib/autotest.rb: 226. loading autotest/rails_rspec2 C:\Ruby192\bin\ruby -rrubygems -S C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.7.0/bin/rspec --t ty 'C:/Ruby192/web/app/spec/news_controller_spec.rb' C:\Ruby192\bin\ruby: No such file or directory -- C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.7 .0/bin/rspec (LoadError)

I have checked ..gems/rspec-core-2.7.0/bin/ - this folder doesn't exists in windows. There is only 'exe' folder. How can I fix it?

vizakenjack avatar Oct 16 '11 22:10 vizakenjack

No idea, but if you find something out please drop a note here, so other windows users can find help.

PS: Switch to mac/ubuntu, will save you loads of trouble down the road. Rails development on windows will have lots more of these funny bugs in store for you.

grosser avatar Oct 17 '11 08:10 grosser