ruby-nessus
ruby-nessus copied to clipboard
Unable to use library
Using the require statement provides the following error
/home/user/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- ruby-nessus (LoadError) from /home/user/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from nessus.rb:2:in `
Same issue here. I have spent a few hours trying to solve the issue with no luck.
Just expirienced the same issue. The problem most likely is that you've downloaded it from rubygems, where the version of the gem still uses the name "nessus". Using:
require 'nessus'
should do the job for you.