Require a newer version of spec as we use expect & any_instance
Test script to ensure things work from 1.8.7 to 2.0.0 and in JRuby
Tempfiles need to be closed before they can be unlinked, especially in JRuby.