(I asked an almost identical question on stackoverflow with no response. Am hoping that ask ubuntu is a better spot for this and so am re-asking here.)
I haven't used pipe much and am wondering if I'm doing something wrong. If I run:
bundle show jquery-rails
I get the following:
And if I run:
Nautilus opens to the correct location. So I want to save myself the trouble of copying and pasting the results of one command into the other and I thought this was what the pipe was for... but when I run the following:
bundle show jquery-rails | gnome-open
I get the following error:
Usage: gnome-open <url> /home/u1104/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.4/lib/bundler/vendor/thor/shell/basic.rb:63:in `flush': Broken pipe (Errno::EPIPE) from /home/u1104/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.4/lib/bundler/vendor/thor/shell/basic.rb:63:in `say' ...
Is there a way to get the results of my
bundle show to automatically open in nautilus?