Closed ebdavison closed 13 years ago
You rails gems are out of date, You need to upgrade. The best way to do this is to do a gem install nessusdb and it will install all of the gems required and the correct versions.
I tried that and got errors. I will try again and let you know the results.
ERROR: Error installing nessusdb: i18n requires RubyGems version >= 1.3.5
Follow this to upgrade your rubygems, http://docs.rubygems.org/read/chapter/3#page14
I figured out that I could do 'gem update --system' (prior to seeing your post) to get an update done rather than 'apt-get install rubygems' which did nothing. Now at version 1.5.2 from 1.3.1. I will try to run this 'gem install nessusdb' again now.
Update: the nessusdb install is working and pulling new library versions.
Thanks.
Are you on ubuntu? I really dont recommend using the "apt-get" ruby. I am going to post a video on how to do rvm and nessusdb with ubuntu at some point. Just haven't had time
Worked but get errors on execution still.
No, I am actually on BackTrack 4.0 which is Debian based.
What are the errors? I am trying to get a list of native os errors for a faq
Are you running the version from GIT or the gem?
git = ./bin/nessusdb gem = nessusdb from any path
Try running nessusdb from any directory that should solve the problem
Are the issues resolved?
Closed based on the other ticket.
I just updated from git and tried to execute nessusdb and am getting the following error:
Error: undefined method
where' for #<Class:0xb65436a0> ./bin/../lib/nessusdb/prawn_templater.rb:31:in
generate' ./bin/../lib/nessusdb/models/report.rb:20:inscan_date' (eval):15:in
generate' /var/lib/gems/1.8/gems/prawn-core-0.8.4/lib/prawn/document.rb:238:ineval' ./bin/../lib/nessusdb/prawn_templater.rb:31:in
generate' /var/lib/gems/1.8/gems/prawn-core-0.8.4/lib/prawn/document.rb:238:ininstance_eval' /var/lib/gems/1.8/gems/prawn-core-0.8.4/lib/prawn/document.rb:238:in
initialize' /var/lib/gems/1.8/gems/prawn-core-0.8.4/lib/prawn/document.rb:130:innew' /var/lib/gems/1.8/gems/prawn-core-0.8.4/lib/prawn/document.rb:130:in
generate' ./bin/../lib/nessusdb/prawn_templater.rb:29:ingenerate' bin/nessusdb:230:in
main' bin/nessusdb:241