Skip to content
This repository has been archived by the owner on Dec 17, 2020. It is now read-only.

Reference ::JSON instead of JSON #5

Open
rtyler opened this issue Nov 29, 2012 · 0 comments
Open

Reference ::JSON instead of JSON #5

rtyler opened this issue Nov 29, 2012 · 0 comments
Assignees

Comments

@rtyler
Copy link
Owner

rtyler commented Nov 29, 2012

God forbid some other stupid gem introduce its own JSON module (looking at you Sinatra;:JSON

23:58:46 web.1   | NoMethodError - undefined method `dump' for Sinatra::JSON:Module:
23:58:46 web.1   |      /home/tyler/source/github/gems/resin/lib/sinatra/resin/helpers.rb:68:in `embed_amber'
23:58:46 web.1   |      /home/tyler/source/github/wuat/views/layout.haml:44:in `evaluate_source'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/tilt-1.3.3/lib/tilt/template.rb:209:in `instance_eval'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/tilt-1.3.3/lib/tilt/template.rb:209:in `evaluate_source'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/tilt-1.3.3/lib/tilt/template.rb:144:in `cached_evaluate'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/tilt-1.3.3/lib/tilt/template.rb:127:in `evaluate'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/tilt-1.3.3/lib/tilt/haml.rb:24:in `evaluate'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/tilt-1.3.3/lib/tilt/template.rb:76:in `render'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:686:in `render'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:694:in `block in render'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:694:in `catch'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:694:in `render'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:582:in `haml'
23:58:46 web.1   |      /home/tyler/source/github/gems/resin/lib/sinatra/resin.rb:31:in `block in registered'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:1265:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:1265:in `block in compile!'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `[]'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `block (3 levels) in route!'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:851:in `route_eval'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `block (2 levels) in route!'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:872:in `block in process_route'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:870:in `catch'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:870:in `process_route'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:834:in `block in route!'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:833:in `each'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:833:in `route!'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:936:in `dispatch!'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:769:in `block in call!'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:921:in `block in invoke'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:921:in `catch'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:921:in `invoke'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:769:in `call!'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:755:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/rack-1.4.1/lib/rack/logger.rb:15:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:129:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/showexceptions.rb:21:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:99:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:1389:in `block in call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:1471:in `synchronize'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:1389:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/rack-1.4.1/lib/rack/lint.rb:48:in `_call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/rack-1.4.1/lib/rack/lint.rb:36:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/rack-1.4.1/lib/rack/showexceptions.rb:24:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/rack-1.4.1/lib/rack/commonlogger.rb:20:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/sinatra-1.3.3/lib/sinatra/base.rb:136:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/rack-1.4.1/lib/rack/chunked.rb:43:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/puma-1.6.3/lib/puma/server.rb:412:in `handle_request'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/puma-1.6.3/lib/puma/server.rb:306:in `process_client'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/puma-1.6.3/lib/puma/server.rb:215:in `block in run'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/puma-1.6.3/lib/puma/thread_pool.rb:94:in `call'
23:58:46 web.1   |      /home/tyler/.rvm/gems/ruby-1.9.3-p0@wuat/gems/puma-1.6.3/lib/puma/thread_pool.rb:94:in `block in spawn_thread'


@ghost ghost assigned rtyler Nov 29, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant