use debugger or byebug dependent on ruby version

debugger doesn't support ruby >= 2  (http://rubydoc.info/gems/debugger/1.6.8/frames)