Skip to content

Instantly share code, notes, and snippets.

@xrl
Created April 15, 2011 16:55
Show Gist options
  • Save xrl/922029 to your computer and use it in GitHub Desktop.
Save xrl/922029 to your computer and use it in GitHub Desktop.
Can't marshal procs!
ruby-1.9.2-p0 :017 > Marshal.dump x
TypeError: no marshal_dump is defined for class Proc
from (irb):17:in `dump'
from (irb):17
from /home/xavierlange/.rvm/rubies/ruby-1.9.2-p0/bin/irb:17:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment