Skip to content

Instantly share code, notes, and snippets.

@walterheck
Created July 28, 2014 14:41
Show Gist options
  • Save walterheck/871317e7910a87edb8ae to your computer and use it in GitHub Desktop.
Save walterheck/871317e7910a87edb8ae to your computer and use it in GitHub Desktop.
[root@puppet puppet]# ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
[root@puppet puppet]# gem list json
*** LOCAL GEMS ***
json (1.5.5)
[root@puppet puppet]# ruby /usr/lib/ruby/site_ruby/1.8/puppet/reports/foreman.rb
/usr/lib/ruby/site_ruby/1.8/puppet/module.rb:3:in `require': no such file to load -- json (LoadError)
from /usr/lib/ruby/site_ruby/1.8/puppet/module.rb:3
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/files.rb:1:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/files.rb:1
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/templatewrapper.rb:1:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/templatewrapper.rb:1
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/scope.rb:6:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/scope.rb:6
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/methods.rb:2:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/methods.rb:2
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/method_call.rb:2:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/method_call.rb:2
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:115:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:115
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/parser.rb:11:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/parser.rb:11
from /usr/lib/ruby/site_ruby/1.8/puppet/parser.rb:4:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser.rb:4
from /usr/lib/ruby/site_ruby/1.8/puppet.rb:260:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet.rb:260
from /usr/lib/ruby/site_ruby/1.8/puppet/reports/foreman.rb:13:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/reports/foreman.rb:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment