postrank-labs/goliath — pull request #173 by mikelewis (2012-05-01 06:48:56+00:00)
Title: By providing the binding and filename, if an exception is thrown within ...

...eval, it will show the proper backtrace rather than saying it just originated within eval()

For example, this is what happened before this commit:

/Users/mike/.rvm/gems/ruby-1.9.3-p0/gems/goliath-0.9.4/lib/goliath/server.rb:114:in `eval': wrong number of arguments (1 for 2) (ArgumentError)

and after the commit:

/Users/mike/.rvm/gems/ruby-1.9.3-p0/gems/ffi-rzmq-0.9.3/lib/ffi-rzmq/socket.rb:372:in `getsockopt': wrong number of arguments (1 for 2) (ArgumentError)