-
Notifications
You must be signed in to change notification settings - Fork 595
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
annotate --exclude tests,fixtures,factories
throw exception in v2.6.0
#152
Comments
I ran into this as well. in addition, using the shortcut
|
I'm experiencing the same issue. |
Same here! |
+1 |
the bundle install shows |
Looks like they've built a new version (https://rubygems.org/gems/annotate) which has a fix merged in. Try updating annotate and see if that doesn't fix the issues |
Looks like the PR didn't actually fix this issue. I have a fix in the "develop" branch that I'll release soon if someone can verify that it works for you. |
Weird. I just tried 2.6.1 and it looks like my fix worked if you were using the shortcut (-e) but not the full option (--exclude). sorry about that. glad there is another fix on the way. |
@bunnymatic yeah using github as source in Gemfile, had the same experience. --exclude breaks, -e works.
|
How are you using github as source? Make sure to use the "develop" branch specifier. |
@ctran How? But you're right, using the develop branch fixed the |
Works for me too with the latest develop branch! |
latest develop branch fixes issue for me too. |
This is a workaround for zsh
|
* release/2.6.2: v2.6.2 Add known changes for 2.6.2. Retain existing position unless :force is passed Temporarily ignore integration tests Revert "Replacing old block with new one." Change email address Add .travis.yml switch deprecated "mock" for "double" in annotate specs use general file resolution for test files as well Replacing old block with new one. Fixed gemspec files attribute migrate.rake should live in lib/tasks Always load models, since they may not be autoloaded by Rails Handle the "--exclude" option correctly, #152 and #160 FIX #157 Pump version to 2.6.1 which fixes #22
I no longer can annotate my models with
--exclude tests,fixtures,factories
argument, it now throw exception in v2.6.0The text was updated successfully, but these errors were encountered: