Skip to content

Instantly share code, notes, and snippets.

Created December 22, 2012 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/247dc952ca4167cd4d41 to your computer and use it in GitHub Desktop.
Save anonymous/247dc952ca4167cd4d41 to your computer and use it in GitHub Desktop.
Demonstration that the 'blip' rubygem doesn't work properly when arguments are provided, but rather only when input is piped in.
C:\Users\Micha>blip
867047615887
C:\Users\Micha>echo copy | blip
C:\Users\Micha>blip
copy
C:\Users\Micha>blip paste
C:/Ruby193/lib/ruby/gems/1.9.1/gems/blip-1.1.0/bin/blip:9:in `read': No such fil
e or directory - paste (Errno::ENOENT)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/blip-1.1.0/bin/blip:9:in `<top
(required)>'
from C:/Ruby193/bin/blip:23:in `load'
from C:/Ruby193/bin/blip:23:in `<main>'
C:\Users\Micha>blip
copy
C:\Users\Micha>blip "paste"
C:/Ruby193/lib/ruby/gems/1.9.1/gems/blip-1.1.0/bin/blip:9:in `read': No such fil
e or directory - paste (Errno::ENOENT)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/blip-1.1.0/bin/blip:9:in `<top
(required)>'
from C:/Ruby193/bin/blip:23:in `load'
from C:/Ruby193/bin/blip:23:in `<main>'
C:\Users\Micha>blip
copy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment