Skip to content

Instantly share code, notes, and snippets.

@kballenegger
Created May 26, 2012 02:54
Show Gist options
  • Save kballenegger/a2c902f008dc4ec567dd to your computer and use it in GitHub Desktop.
Save kballenegger/a2c902f008dc4ec567dd to your computer and use it in GitHub Desktop.
[d ~/chartbot•master]$ pry
[1] pry(main)> which zmq
NameError: undefined local variable or method `zmq' for main:Object
from (pry):1:in `<main>'
[2] pry(main)> require 'zmq'
LoadError: libzmq.so.1: cannot open shared object file: No such file or directory - /home/kenneth/.rvm/gems/ruby-1.9.3-p0/gems/zmq-2.1.4/lib/zmq.so
from /home/kenneth/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
[3] pry(main)> which 'zmq'
NoMethodError: undefined method `which' for main:Object
from (pry):3:in `<main>'
[4] pry(main)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment