Skip to content

NoMethodError: undefined method `tree' for nil:NilClass #6

@jmuheim

Description

@jmuheim

I always get the following error:

[10] iq »  git diff EmailImporter.queue_email_import                                                                                                                                         
NoMethodError: undefined method `tree' for nil:NilClass
from /Users/josh/.rvm/gems/ruby-1.9.3-p327-falcon@iq/gems/pry-git-0.2.3/lib/pry-git.rb:17:in `get_file_from_commit'

I'm in a pretty standard Rails 3.2 project, using the jazz_hands gem which includes your pry-git gem.

Any idea what's going wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions