Created
August 20, 2011 00:24
-
-
Save jc00ke/1158385 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17:23:53 jesse@maynard:~ ruby-1.9.2-p290 | |
∴ ruby -rweakref -e "x = 'mike'; f = WeakRef.new(x); puts f.size;" | |
4 | |
17:24:22 jesse@maynard:~ ruby-1.9.2-p290 | |
∴ rvm use default | |
Using /home/jesse/.rvm/gems/rbx-2.0.0pre | |
17:24:32 jesse@maynard:~ rbx-2.0.0pre | |
∴ ruby -rweakref -e "x = 'mike'; f = WeakRef.new(x); puts f.size;" | |
An exception occurred evaluating command line code | |
undefined method `size' on an instance of WeakRef. (NoMethodError) | |
Backtrace: | |
Kernel(WeakRef)#size (method_missing) at kernel/delta/kernel.rb:79 | |
{ } in Object#__script__ at -e:1 | |
Rubinius::BlockEnvironment#call_on_instance at kernel/common | |
/block_environment.rb:72 | |
Kernel(Rubinius::Loader)#eval at kernel/common/eval.rb:74 | |
Rubinius::Loader#evals at kernel/loader.rb:571 | |
Rubinius::Loader#main at kernel/loader.rb:747 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment