Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@00-50-45-5f-13-ce /facter]# mv /opt/local/bin/ruby /opt/local/bin/ruby.ORIG
- [root@00-50-45-5f-13-ce /facter]# ln -s /opt/local/bin/ruby193 /opt/local/bin/ruby
- [root@00-50-45-5f-13-ce /facter]# ruby --version
- ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-solaris2.11]
- [root@00-50-45-5f-13-ce /facter]# pwd
- /facter
- [root@00-50-45-5f-13-ce /facter]# bin/facter
- Error: invalid byte sequence in UTF-8
- [root@00-50-45-5f-13-ce /facter]# bin/facter interfaces
- lo0,bge0
- [root@00-50-45-5f-13-ce /facter]# RUBYLIB=lib bin/facter
- [root@00-50-45-5f-13-ce /facter]# RUBYLIB=lib bin/facter interfaces
- No facts loaded from /opt/local/lib/ruby/site_ruby/1.9.3/facter:/opt/local/lib/ruby/site_ruby/1.9.3/x86_64-solaris2.11/facter:/opt/local/lib/ruby/site_ruby/facter:/opt/local/lib/ruby/vendor_ruby/1.9.3/facter:/opt/local/lib/ruby/vendor_ruby/1.9.3/x86_64-solaris2.11/facter:/opt/local/lib/ruby/vendor_ruby/facter:/opt/local/lib/ruby/1.9.3/facter:/opt/local/lib/ruby/1.9.3/x86_64-solaris2.11/facter
Advertisement
Add Comment
Please, Sign In to add comment