Skip to content

Instantly share code, notes, and snippets.

@nyampire
Created February 15, 2014 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nyampire/9017607 to your computer and use it in GitHub Desktop.
Save nyampire/9017607 to your computer and use it in GitHub Desktop.
map.rb error
$ ruby ./map.rb 14
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /Library/Ruby/Gems/1.8/gems/georuby-2.2.1/lib/geo_ruby/simple_features/point.rb:289: odd number list for Hash (SyntaxError)
human_representation(options, { x: x }).join
^
/Library/Ruby/Gems/1.8/gems/georuby-2.2.1/lib/geo_ruby/simple_features/point.rb:289: syntax error, unexpected ':', expecting '}'
human_representation(options, { x: x }).join
^
/Library/Ruby/Gems/1.8/gems/georuby-2.2.1/lib/geo_ruby/simple_features/point.rb:295: odd number list for Hash
human_representation(options, { y: y }).join
^
/Library/Ruby/Gems/1.8/gems/georuby-2.2.1/lib/geo_ruby/simple_features/point.rb:295: syntax error, unexpected ':', expecting '}'
human_representation(options, { y: y }).join
^
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /Library/Ruby/Gems/1.8/gems/georuby-2.2.1/lib/geo_ruby/simple_features/ewkb_parser.rb:1
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /Library/Ruby/Gems/1.8/gems/georuby-2.2.1/lib/geo_ruby/simple_features.rb:21
from /Library/Ruby/Gems/1.8/gems/georuby-2.2.1/lib/geo_ruby/simple_features.rb:6:in `each'
from /Library/Ruby/Gems/1.8/gems/georuby-2.2.1/lib/geo_ruby/simple_features.rb:6
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /Library/Ruby/Gems/1.8/gems/georuby-2.2.1/lib/geo_ruby.rb:4
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require'
from ./map.rb:3
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment