Created
May 12, 2010 15:04
-
-
Save mileszs/398689 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Scenario: An non-admin cannot add a user to the featured queue # features/admin.feature:45 | |
| Given I am a logged in user # features/step_definitions/user_st | |
| eps.rb:72 | |
| uninitialized constant JSON::SAFE_STATE_PROTOTYPE (ActionView::TemplateError) On line #143 of app/views/layouts/application.html.erb | |
| 140: var classes = <%= BroadcastsCount.all_broadcasting.collect { |name| ".#{name} | |
| -count" }.to_json %>; | |
| 141: var delta_classes = <%= BroadcastsCount.all_broadcasting.collect { |name| ".# | |
| {name}-count-delta" }.to_json %>; 142: if($(classes.join(", ")).length > 0 || $(delta_classes.join(", ")).length > 0 | |
| ){ 143: window["SOCKET"] = new Pusher(<%= PUSHER_KEY.to_json %>, <%= PUSHER_CHANNEL | |
| .to_json %>); | |
| 144: var socket = window["SOCKET"]; | |
| 145: var bindToClass = function(channel, klass){ | |
| 146: socket.bind(channel, function(count){ | |
| /Library/Ruby/Gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:206:in `const_missing' | |
| app/views/layouts/application.html.erb:143:in `to_json' | |
| app/views/layouts/application.html.erb:143 | |
| /Library/Ruby/Gems/1.8/gems/rspec-rails-1.3.2/lib/spec/rails/extensions/action_view/base.r | |
| b:27:in `render' | |
| /Library/Ruby/Gems/1.8/gems/rspec-rails-1.3.2/lib/spec/rails/extensions/action_view/base.r | |
| b:27:in `render' | |
| /Library/Ruby/Gems/1.8/gems/hoptoad_notifier-2.2.2/lib/hoptoad_notifier/rack.rb:27:in `cal | |
| l' | |
| webrat (0.7.0) lib/webrat/adapters/rails.rb:46:in `send' | |
| webrat (0.7.0) lib/webrat/adapters/rails.rb:46:in `do_request' | |
| webrat (0.7.0) lib/webrat/adapters/rails.rb:15:in `get' (__FORWARDABLE__):3:in `__send__' | |
| (__FORWARDABLE__):3:in `get' | |
| webrat (0.7.0) lib/webrat/core/session.rb:277:in `send' | |
| webrat (0.7.0) lib/webrat/core/session.rb:277:in `process_request' | |
| webrat (0.7.0) lib/webrat/core/session.rb:118:in `request_page' | |
| webrat (0.7.0) lib/webrat/core/session.rb:216:in `visit' | |
| (eval):2:in `visit' | |
| features/support/step_helpers.rb:99:in `visit' | |
| features/step_definitions/user_steps.rb:30 | |
| cucumber (0.6.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec' | |
| cucumber (0.6.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `cucumber_instance_exec' | |
| cucumber (0.6.4) bin/./lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering' | |
| cucumber (0.6.4) bin/./lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec' | |
| cucumber (0.6.4) bin/./lib/cucumber/rb_support/rb_step_definition.rb:55:in `invoke' |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you see something like this, I recommend 'sudo gem uninstall json' and then choosing the option for "All Versions". ... It worked for me.