2010-06-21 6 views
6

Poniżej moje środowisko:grabie nie powiedzie się z "Virtual czasomierz wygasł"

  • OS X 10.5
  • Xcode 3.1.4
  • RVM 0.1.38
  • Ruby 1.8.9-P399 (poprzez RVM)
  • szynach 2.3.8

zacząłem uzyskiwanie ten błąd, gdy próbuje uruchomić grabie moich testów:

bash$ rake 
Virtual timer expired 
bash$ # End of output! 

I z śledzenie włączona:

bash$ rake --trace 
** Invoke default (first_time) 
** Invoke test (first_time) 
** Execute test 
** Invoke test:units (first_time) 
** Invoke db:test:prepare (first_time) 
** Invoke db:abort_if_pending_migrations (first_time) 
** Invoke environment (first_time) 
** Execute environment 
** Execute db:abort_if_pending_migrations 
** Execute db:test:prepare 
** Invoke db:test:load (first_time) 
** Invoke db:test:purge (first_time) 
** Invoke environment 
** Execute db:test:purge 
** Execute db:test:load 
** Invoke db:schema:load (first_time) 
** Invoke environment 
** Execute db:schema:load 
Virtual timer expired 
bash$ 
+0

Dziękuję bardzo za dostarczenie swoich specyfikacji systemowych! Wiele plakatów zapomina o tym. – mcandre

Odpowiedz

15

Wygląda na to, że jest problem w rubin, rev23993 causes Virtual Timer Expired when forking, co z kolei wywołuje błąd wewnątrz mysql gem.

Praktyczne Rozwiązaniem wydaje się być downgrade mysql gem od 2.8.1 do wersji 2.7:

#environment.rb 
config.gem 'mysql', :version => '2.7' 
+0

Od 1 kwartału 2011 r. Polecam wszystkim użytkownikom Bundler (http://gembundler.com/) w preferencji 'config.gem'. – conny

Powiązane problemy