`abort` can be a nasty exit for Ruby. I'd use `exit` instead.