Hi! I'm trying to use the guard-shell
plugin to run reek
, and Guard-within-Pry is eating (at least) the standard-output stream.
Here's my task definition:
guard :shell do
watch(%r{^lib/.*/?[^/]+\.rb$}) { |m| "bin/reek -c config.reek --sort-by smelliness #{m[0]}" }
end
and when all tasks run, I get output including
bin/reek -c config.reek --sort-by smelliness lib/crypt_ident/change_password.rb
bin/reek -c config.reek --sort-by smelliness lib/crypt_ident/config.rb
bin/reek -c config.reek --sort-by smelliness lib/crypt_ident/sign_in.rb
bin/reek -c config.reek --sort-by smelliness lib/crypt_ident/sign_out.rb
bin/reek -c config.reek --sort-by smelliness lib/crypt_ident/sign_up.rb
bin/reek -c config.reek --sort-by smelliness lib/crypt_ident/version.rb
bin/reek -c config.reek --sort-by smelliness lib/crypt_ident.rb
so it sees each of my files and invokes the command properly, but I'm not getting any output at all.
I have similar problems running any other command within the shell
plugin. Help?