danlynn/ClamAvReport — Issue #3: application packaging issue on ruby 1.9.2/rails 3
Author: gittrout
Created: 2012-02-13 15:54:11+00:00
State: open

OSX Lion
ruby 1.9.2
rails 3.1.3
ClamXav v 2.2.2 (252) from Apple App Store

After doing rake package and exploding the zip into a user dir to execute, clamav.rb fails with the following error messages:
$ ./clamav.rb
/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- lib/growl (LoadError)
from /.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `block in require'
from /.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `block in load_dependency'
from /.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `load_dependency'
from /.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
from ./clamav.rb:33:in `

'

These errors did not happen before packaging the app.