Skip to content

Instantly share code, notes, and snippets.

@agrimm
Created March 22, 2011 03:42
Show Gist options
  • Save agrimm/880728 to your computer and use it in GitHub Desktop.
Save agrimm/880728 to your computer and use it in GitHub Desktop.
~ steveklabnik$ ruby -v
rubinius 1.2.4dev (1.8.7 dbd17069 yyyy-mm-dd JI) [x86_64-apple-darwin10.6.0]
~ steveklabnik$ irb
rbx-head :001 > new = [1, 2, 3]
=> [1, 2, 3]
rbx-head :002 > new
NoMethodError: undefined method `new' on an instance of Object. # Cancel annoying `
from Kernel(Object)#new (method_missing) at kernel/delta/kernel.rb:85
from { } in Object#irb_binding at (irb):2
rbx-head :003 > ^D~ steveklabnik$ rvm use 1.8.7
Using /Users/steveklabnik/.rvm/gems/ruby-1.8.7-p334
~ steveklabnik$ ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-darwin10.6.0]
~ steveklabnik$ irb
ruby-1.8.7-p334 :001 > new = [1, 2, 3]
=> [1, 2, 3]
ruby-1.8.7-p334 :002 > new
=> [1, 2, 3]
ruby-1.8.7-p334 :003 >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment