简体   繁体   中英

unable to start sensu-client service getting rubygems.rb not loaded error

I am trying to start sensu-client but getting below error

:4:in require': cannot load such file -- rubygems.rb (LoadError) from <internal:gem_prelude>:4:in '

ruby -v ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]

:4:in require': cannot load such file -- rubygems.rb (LoadError) from <internal:gem_prelude>:4:in '

Issue resolved after providing execute permissions for /opt/sensu/embedded/lib/ruby

drwxr-xr-x 6 root root 4.0K Jun 6 17:55 ruby

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM