unit testing - Rails 3: Ruby 1.9.2: rake test: winshellTEST -
i got app github called punchy, , got running on local server (windows vista). runs fine on windows, , runs fine on heroku.
the environment :
c:\users\jay\rapps\punchy>rake (in c:/users/jay/rapps/punchy) application's environment ruby version 1.9.2 (i386-mingw32) rubygems version 1.5.2 rack version 1.2 rails version 3.0.0 active record version 3.0.0 action pack version 3.0.0 active resource version 3.0.0 action mailer version 3.0.0 active support version 3.0.0 application root c:/users/jay/rapps/punchy environment development
however, tried run tests running
> rake test
and went bad. here result.
c:\users\jay\rapps\punchy>rake test (in c:/users/jay/rapps/punchy) c:/ruby192/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `load': no such file load -- winshelltest (loaderror) c:/ruby192/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `block in <main>' c:/ruby192/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `each' c:/ruby192/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `<main>' c:/ruby192/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `load': no such file load -- winshelltest (loaderror) c:/ruby192/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `block in <main>' c:/ruby192/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `each' c:/ruby192/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `<main>' c:/ruby192/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `load': no such file load -- winshelltest (loaderror) c:/ruby192/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `block in <main>' c:/ruby192/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `each' c:/ruby192/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `<main>' errors running test:units, test:functionals, test:integration!
why run fine on local machine, on heroku, tests don't work? appreciate assistance can offer.
i able run tests fork , mazondo's (2 out of 7 tests failed). run them on osx, environment quite different.
one thing had run tests uncomment line declares sqlite3 dependency in gemfile, , run migrations.
looks problem "integration" between rails/ruby , windows. interesting hit in google winshelltest question.
Comments
Post a Comment