I wanted to use a RAM disk for my MySQL data files when running my tests for a Rails project. I succeeded, but it only cut 2 seconds off of my ~30 second test suite for my functional tests, and didn’t cut any time off of my unit tests. But nevertheless, here is how I [...]
Is rcov failing with a bus error? …./config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:322: [BUG] Bus Error ruby 1.8.4 (2005-12-24) [powerpc-darwin8.8.0] rake aborted! Command failed with status (): [/usr/local/bin/ruby -Ilib:test -S rcov --t...] This has been happening to me inconsistently for months and driving me crazy. The solution is to use the –no-rcovrt flag, which will not use the c binding [...]
© JJB Blog. Powered by WordPress using the DePo Skinny Theme.