updated rake spec task to support ubuntu/redhat