another ruby 187 fix, this time for specs and File.path