Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Message #186

Closed
emmx opened this issue May 7, 2014 · 2 comments
Closed

Error Message #186

emmx opened this issue May 7, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@emmx
Copy link

emmx commented May 7, 2014

While in ~/myapp/app/models:

$ annotate

/var/lib/gems/1.9.1/gems/annotate-2.6.3/bin/annotate:146:in `<top (required)>': undefined method `blank?' for nil:NilClass (NoMethodError)
    from /usr/local/bin/annotate:23:in `load'
    from /usr/local/bin/annotate:23:in `<main>'

I didn't realize at the beginning that I was in the wrong directory, somehow moving back to the root of the project fixed the problem.

Maybe this should be validated in order to print an appropriate error message.

@ctran ctran added the bug label May 26, 2014
@ctran ctran self-assigned this May 26, 2014
@ctran ctran added this to the v2.6.4 milestone May 26, 2014
@ctran ctran closed this as completed May 26, 2014
@henrik
Copy link
Contributor

henrik commented Jun 11, 2014

I get the same error message, also with 2.6.3, but from the project root.

@henrik
Copy link
Contributor

henrik commented Jun 11, 2014

Oh, turns out it's due to some optimizations in our app that make the "environment" task hard to find. So it's not you, it's us ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants