Skip to content

Instantly share code, notes, and snippets.

@resistorsoftware
Created December 6, 2011 16:24
Show Gist options
  • Save resistorsoftware/1438808 to your computer and use it in GitHub Desktop.
Save resistorsoftware/1438808 to your computer and use it in GitHub Desktop.
borked IRB in iTerm2
irb
~> Console extensions: wirble hirb ap rails2 rails3 pm interactive_editor
[?1034h>> e = p.metafields[0].namespace
p.metafields[0].namespace.value1]'namespace'].['namespace'].namespace
add_metafield(mf)
mf = ShopifyAPI::Metafield.new(:namespace => 'metafields', :key => "t
title", :value => "rabbit", :value_type => 'description')
x.namespace
 = mf.firstrequire 'fog'rubygems'
=> false
>> require 'rubygems'
e = p.metafields[0].namespace
NoMethodError: undefined method `metafields' for nil:NilClass
from (irb):2
from /Users/sultan/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `<main>'
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment