Skip to content

Instantly share code, notes, and snippets.

@greenmoss
Created March 25, 2010 17:11
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 greenmoss/343834 to your computer and use it in GitHub Desktop.
Save greenmoss/343834 to your computer and use it in GitHub Desktop.
$ /usr/bin/python /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/lib/chef/provider/package/yum-dump.py | wc
8669 8669 395280
$ which python
/usr/local/bin/python
$ /usr/local/bin/python /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/lib/chef/provider/package/yum-dump.py
Traceback (most recent call last):
File "/usr/lib/ruby/gems/1.8/gems/chef-0.8.8/lib/chef/provider/package/yum-dump.py", line 33, in <module>
import yum
ImportError: No module named yum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment