Hi Craig

On Thu, Jul 28, 2011 at 10:35 AM, Craig Ambrose <[email protected]> wrote:
> Hi folks,
>
> After upgrading to Lion, re-installing XCode, and image magic, and all
> that jazz, the parallel_tests gem is failing to work for me. I'm not
> sure if others are using this, but it's pretty darn handy, so I figure
> you probably are.
>
> The issue appears to be that parallel_tests uses the following command
> line utility call: "hwprefs cpu_count"
>
> I can no longer find the "hwprefs" command anywhere on my system. Has
> anyone else found that problem? Can it be re-installed?


I have no idea what that's doing, but if its returning the number of
cpus (as I guess it might be :)

sysctl -n hw.ncpu

will do the same.

You could wrap it in a trivial shell script called "hwprefs" to fool
parallel_tests

hth,
:lachie
http://plus2.com.au
http://smartbomb.com.au
http://www.flickr.com/photos/lachie/

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to