updated changes to work with ruby 2.0 (must not use custom signals)
Merge pull request #58 from hur1can3/master

updated changes to work with ruby 2.0