Skip to content

Instantly share code, notes, and snippets.

@swarley
Created November 20, 2012 00:47
Show Gist options
  • Select an option

  • Save swarley/4115209 to your computer and use it in GitHub Desktop.

Select an option

Save swarley/4115209 to your computer and use it in GitHub Desktop.
swarley@OctaviasViolin ~/Programming/pry $ rake test
bacon -Ispec -rubygems -a -q spec/syntax_checking_spec.rb spec/commands/ls_spec.rb spec/commands/find_method_spec.rb spec/commands/cat_spec.rb spec/completion_spec.rb spec/command_spec.rb spec/commands/help_spec.rb spec/history_array_spec.rb spec/input_stack_spec.rb spec/commands/jump_to_spec.rb spec/sticky_locals_spec.rb spec/commands/whereami_spec.rb spec/commands/amend_line_spec.rb spec/indent_spec.rb spec/exception_whitelist_spec.rb spec/commands/show_source_spec.rb spec/method_spec.rb spec/commands/bang_spec.rb spec/pry_defaults_spec.rb spec/commands/save_file_spec.rb spec/code_spec.rb spec/command_integration_spec.rb spec/commands/raise_up_spec.rb spec/command_set_spec.rb spec/commands/edit_method_spec.rb spec/commands/edit_spec.rb spec/prompt_spec.rb spec/commands/show_doc_spec.rb spec/pry_output_spec.rb spec/control_d_handler_spec.rb spec/wrapped_module_spec.rb spec/commands/hist_spec.rb spec/command_helpers_spec.rb spec/commands/exit_all_spec.rb spec/cli_spec.rb spec/commands/gem_list_spec.rb spec/pry_history_spec.rb spec/commands/exit_program_spec.rb spec/pry_spec.rb spec/commands/exit_spec.rb spec/hooks_spec.rb spec/commands/play_spec.rb spec/commands/show_input_spec.rb spec/commands/disable_pry_spec.rb spec/commands/cd_spec.rb
Ruby v1.9.3 (ruby), Pry v0.9.10, method_source v0.8.1, CodeRay v1.0.8, Slop v3.3.3
....................................................................................................................................................................................EEE........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
NoMethodError: undefined method `detect' for nil:NilClass
/home/swarley/Programming/pry/lib/pry/commands/whereami.rb:26:in `setup': whereami - should work at the top level
/home/swarley/Programming/pry/lib/pry/command.rb:484:in `call'
/home/swarley/Programming/pry/lib/pry/command.rb:414:in `call_with_hooks'
/home/swarley/Programming/pry/lib/pry/command.rb:387:in `call_safely'
/home/swarley/Programming/pry/lib/pry/command.rb:329:in `process_line'
/home/swarley/Programming/pry/lib/pry/command_set.rb:345:in `process_line'
/home/swarley/Programming/pry/lib/pry/pry_instance.rb:445:in `process_command'
/home/swarley/Programming/pry/spec/helper.rb:293:in `block in eval'
/home/swarley/Programming/pry/spec/helper.rb:291:in `each'
/home/swarley/Programming/pry/spec/helper.rb:291:in `eval'
/home/swarley/Programming/pry/spec/helper.rb:268:in `pry_eval'
spec/commands/whereami_spec.rb:131:in `block (2 levels) in <top (required)>'
/home/swarley/Programming/pry/spec/helper.rb:19:in `handle_requirement'
/home/swarley/Programming/pry/spec/helper.rb:58:in `it'
spec/commands/whereami_spec.rb:130:in `block in <top (required)>'
spec/commands/whereami_spec.rb:3:in `<top (required)>'
NoMethodError: undefined method `detect' for nil:NilClass
/home/swarley/Programming/pry/lib/pry/commands/whereami.rb:26:in `setup': whereami - should work inside a class
/home/swarley/Programming/pry/lib/pry/command.rb:484:in `call'
/home/swarley/Programming/pry/lib/pry/command.rb:414:in `call_with_hooks'
/home/swarley/Programming/pry/lib/pry/command.rb:387:in `call_safely'
/home/swarley/Programming/pry/lib/pry/command.rb:329:in `process_line'
/home/swarley/Programming/pry/lib/pry/command_set.rb:345:in `process_line'
/home/swarley/Programming/pry/lib/pry/pry_instance.rb:445:in `process_command'
/home/swarley/Programming/pry/spec/helper.rb:293:in `block in eval'
/home/swarley/Programming/pry/spec/helper.rb:291:in `each'
/home/swarley/Programming/pry/spec/helper.rb:291:in `eval'
/home/swarley/Programming/pry/spec/helper.rb:268:in `pry_eval'
spec/commands/whereami_spec.rb:136:in `block (2 levels) in <top (required)>'
/home/swarley/Programming/pry/spec/helper.rb:19:in `handle_requirement'
/home/swarley/Programming/pry/spec/helper.rb:58:in `it'
spec/commands/whereami_spec.rb:135:in `block in <top (required)>'
spec/commands/whereami_spec.rb:3:in `<top (required)>'
NoMethodError: undefined method `detect' for nil:NilClass
/home/swarley/Programming/pry/lib/pry/commands/whereami.rb:26:in `setup': whereami - should work inside an object
/home/swarley/Programming/pry/lib/pry/command.rb:484:in `call'
/home/swarley/Programming/pry/lib/pry/command.rb:414:in `call_with_hooks'
/home/swarley/Programming/pry/lib/pry/command.rb:387:in `call_safely'
/home/swarley/Programming/pry/lib/pry/command.rb:329:in `process_line'
/home/swarley/Programming/pry/lib/pry/command_set.rb:345:in `process_line'
/home/swarley/Programming/pry/lib/pry/pry_instance.rb:445:in `process_command'
/home/swarley/Programming/pry/spec/helper.rb:293:in `block in eval'
/home/swarley/Programming/pry/spec/helper.rb:291:in `each'
/home/swarley/Programming/pry/spec/helper.rb:291:in `eval'
/home/swarley/Programming/pry/spec/helper.rb:268:in `pry_eval'
spec/commands/whereami_spec.rb:140:in `block (2 levels) in <top (required)>'
/home/swarley/Programming/pry/spec/helper.rb:19:in `handle_requirement'
/home/swarley/Programming/pry/spec/helper.rb:58:in `it'
spec/commands/whereami_spec.rb:139:in `block in <top (required)>'
spec/commands/whereami_spec.rb:3:in `<top (required)>'
863 tests, 1232 assertions, 0 failures, 3 errors
rake aborted!
Command failed with status (1): [bacon -Ispec -rubygems -a -q spec/syntax_c...]
Tasks: TOP => test
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment