jasmine spec works when running rails server not from rake