Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created June 18, 2015 01:37
Show Gist options
  • Save anonymous/8e56e087758b553f78b6 to your computer and use it in GitHub Desktop.
Save anonymous/8e56e087758b553f78b6 to your computer and use it in GitHub Desktop.
NameError: uninitialized constant JSON::Iconv
/home/hal/.gem/ruby/2.1.6/gems/json-0.4.3/lib/json.rb:161:in `rescue in <module:JSON>'
/home/hal/.gem/ruby/2.1.6/gems/json-0.4.3/lib/json.rb:155:in `<module:JSON>'
/home/hal/.gem/ruby/2.1.6/gems/json-0.4.3/lib/json.rb:122:in `<top (required)>'
/home/hal/.gem/ruby/2.1.6/gems/mime-types-2.6.1/lib/mime/types/loader.rb:231:in `require'
/home/hal/.gem/ruby/2.1.6/gems/mime-types-2.6.1/lib/mime/types/loader.rb:231:in `load_from_json'
/home/hal/.gem/ruby/2.1.6/gems/mime-types-2.6.1/lib/mime/types/loader.rb:63:in `block in load_json'
/home/hal/.gem/ruby/2.1.6/gems/mime-types-2.6.1/lib/mime/types/loader.rb:62:in `each'
/home/hal/.gem/ruby/2.1.6/gems/mime-types-2.6.1/lib/mime/types/loader.rb:62:in `load_json'
/home/hal/.gem/ruby/2.1.6/gems/mime-types-2.6.1/lib/mime/types/loader.rb:88:in `load'
/home/hal/.gem/ruby/2.1.6/gems/mime-types-2.6.1/lib/mime/types/loader.rb:113:in `load'
/home/hal/.gem/ruby/2.1.6/gems/mime-types-2.6.1/lib/mime/types.rb:301:in `load_default_mime_types'
/home/hal/.gem/ruby/2.1.6/gems/mime-types-2.6.1/lib/mime/types.rb:329:in `<class:Types>'
/home/hal/.gem/ruby/2.1.6/gems/mime-types-2.6.1/lib/mime/types.rb:63:in `<top (required)>'
/home/hal/.gem/ruby/2.1.6/gems/rest-client-1.8.0/lib/restclient/request.rb:2:in `require'
/home/hal/.gem/ruby/2.1.6/gems/rest-client-1.8.0/lib/restclient/request.rb:2:in `<top (required)>'
/home/hal/.gem/ruby/2.1.6/gems/rest-client-1.8.0/lib/restclient.rb:10:in `require'
/home/hal/.gem/ruby/2.1.6/gems/rest-client-1.8.0/lib/restclient.rb:10:in `<top (required)>'
/home/hal/.gem/ruby/2.1.6/gems/rest-client-1.8.0/lib/rest_client.rb:2:in `require'
/home/hal/.gem/ruby/2.1.6/gems/rest-client-1.8.0/lib/rest_client.rb:2:in `<top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment