Catch LoadError in spec.rake

This is a bit more flexible than checking the Rails' env. It's also
consistent with the approach already present in cucumber.rake.