I recently started running into trouble with my ruby install. Anytime
I tried to run 'gem' or 'rake' I'd get the following output:
gem list
c:/ruby/lib/ruby/1.8/i386-mswin32/digest/sha2.so: no such file to load
-- digest.so (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:
11
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:501:in
`require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:501
from c:/ruby/bin/gem.bat:5:in `require'
from c:/ruby/bin/gem.bat:5
I initially worked around this yesterday by reinstalling ruby & rails,
but then today the issue recurred, so I started digging deeper. I
tracked this down to my anti-virus software identifying digest.so as
"Trojan horse Generic10.JXS" and moving it into the Virus Vault
(effectively deleting it). I'm assuming that this is a false-
positive, as it occurred on both my work & home machines.
According to my virus scanner log, this was first detected on
2008-04-11 (the software updates itself daily).
Details:
OS: XP (home) Vista (work)
ruby --version
ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-mswin32]
AVG Free Edition (
http://free.grisoft.com/)
Internal Virus Database version: 269.22.13/1376
"Virus" details:
Object name: digest.so
Object path: C:\ruby\lib\ruby\1.8\i386-mswin32\
Discovery: Trojan horse Generic10.JXS
Date of detection: 4/13/2008 7:13:40 AM
Source computer: ....
Finder: SYSTEM
File size: 20 KB (20566 bytes)
Healable: No
Source: Backup copy
Status: Infected