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

Got an error on clarity /var/log --include '/*' #7

Open
rituka opened this issue Apr 15, 2010 · 4 comments
Open

Got an error on clarity /var/log --include '/*' #7

rituka opened this issue Apr 15, 2010 · 4 comments

Comments

@rituka
Copy link

rituka commented Apr 15, 2010

I am pretty naive to clarity. For trial I installed clarity at my mac. And when I try to run clarity /var/log --include '/*'
It gives me error like
/Users/ritu/.gem/ruby/1.8/gems/clarity-0.9.8/lib/clarity/cli.rb:47:in +': can't convert String into Array (TypeError) from /Users/ritu/.gem/ruby/1.8/gems/clarity-0.9.8/lib/clarity/cli.rb:47:inexecute'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1260:in call' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1260:inparse_in_order'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1247:in catch' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1247:inparse_in_order'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1241:in order!' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1332:inpermute!'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1353:in parse!' from /Users/ritu/.gem/ruby/1.8/gems/clarity-0.9.8/lib/clarity/cli.rb:76:inexecute'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1717:in options' from /Users/ritu/.gem/ruby/1.8/gems/clarity-0.9.8/lib/clarity/cli.rb:20:inexecute'
from /Users/ritu/.gem/ruby/1.8/gems/clarity-0.9.8/bin/clarity:10
from /usr/bin/clarity:19:in `load'
from /usr/bin/clarity:19

Can somebody help me in this?

@morten
Copy link

morten commented Aug 31, 2010

I see this as well, it's because v0.9.8 of the gem doesn't include this commit http://github.com/tobi/clarity/commit/8f39d2ea141afb9dfd6f58f46c0657cc3c72fbce - any chance of a version bump on the gem?

@anselmdk
Copy link

Just had to fix this locally.
I'd appreciate a version bump on the gem as well.

@sohaibiftikhar
Copy link

@anselmdk I am not familiar with either ruby on rails or gem. Could you give me a pointer as to how you fixed it.

@anselmdk
Copy link

anselmdk commented Apr 5, 2016

@sohaibiftikhar I'd love to, but unfortunately I moved my entire workflow away from ruby to npm years ago, so I'd be as lost as you. I've actually completely forgotten what I used this tool for in the first place :)

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

No branches or pull requests

4 participants