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 https://gist.github.com/tamouse/9822711 shows what is
happening, I think.
The gist of the gist is:
https://gist.github.com/tamouse/9822711#file-gistfile1-txt-L35-L50
$ 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: https://github.com/tamouse/scrapers