Skip to content

Instantly share code, notes, and snippets.

@jophde
Created October 30, 2012 21:20
Show Gist options
  • Save jophde/3983145 to your computer and use it in GitHub Desktop.
Save jophde/3983145 to your computer and use it in GitHub Desktop.
IRB Yelp Gem Dump
irb(main):001:0> require 'yelp'
SyntaxError: /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yelp-1.0.0/lib/yelp/request.rb:37: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when Yelp::ResponseFormat::PICKLE: params[:output] = 'pickle'
^
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yelp-1.0.0/lib/yelp/request.rb:38: syntax error, unexpected keyword_when, expecting keyword_end
when Yelp::ResponseFormat::PHP: params[:output] = 'php'
^
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yelp-1.0.0/lib/yelp/request.rb:38: syntax error, unexpected ':'
when Yelp::ResponseFormat::PHP: params[:output] = 'php'
^
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yelp-1.0.0/lib/yelp/request.rb:44: syntax error, unexpected keyword_end, expecting $end
from /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yelp-1.0.0/lib/yelp.rb:3:in `<top (required)>'
from /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
from /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
from /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from (irb):1
from /usr/local/bin/irb:12:in `<main>'
irb(main):002:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment