I have a gem installed system-wide called scrapers
that has a binary
called rubytapas
. It will run nearly everywhere except within a
directory that contains a Gemfile.
It can be a completely empty directory otherwise, and the Gemfile can
be empty. It still fails by getting confused about finding
dependencies.
The gist **SOLVED** Why does globally installed gem/script fail when run in a directory with a Gemfile? · GitHub shows what is
happening, I think.
The gist of the gist is:
$ rubytapas
Commands:
rubytapas all # Download all rubytapas episodes
rubytapas download # Downloads the listed episode’s files
into a new directory with the episode tag in the given directory
rubytapas help [COMMAND] # Describe available commands or one
specific command
$ touch Gemfile
$ rubytapas
/opt/rubies/ruby-2.0.0-p353/bin/rubytapas:4:in require': cannot load such file -- thor (LoadError) from /opt/rubies/ruby-2.0.0-p353/bin/rubytapas:4:in
’
Gem scrapers: GitHub - tamouse/scrapers: Web site scrapers using Mechanize and other goodies.