You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
Hey all,
I am working on a Rails 3.0.7 application that is using JRuby 1.6.3,
running on Debian. I keep encountering an error regarding a missing
"Log" file when I am trying to run some Unit tests (among various
other activities). The cryptic error in question:
LoadError: No such file to load -- Log
Has anyone seen anything like this before? I am baffled as to where to
even begin to solve this. I was able to surpress the same warning when
running `jruby -S rails console` by adding the following lines to /
config/environments/development.rb
Obviously this isn't a sustainable solution as I need my logs and I
need to be able to do some Unit testing. Any help / tips is greatly
appreciated.
Full stack trace:
---
depend_on at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
activesupport-3.0.9/lib/active_support/dependencies.rb:304
depend_on at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
activesupport-3.0.9/lib/active_support/dependencies.rb:300
require_dependency at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
activesupport-3.0.9/lib/active_support/dependencies.rb:216
eager_load! at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
railties-3.0.9/lib/rails/engine.rb:138
each at org/jruby/RubyArray.java:1603
eager_load! at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
railties-3.0.9/lib/rails/engine.rb:137
each at org/jruby/RubyArray.java:1603
eager_load! at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
railties-3.0.9/lib/rails/engine.rb:135
eager_load! at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
railties-3.0.9/lib/rails/application.rb:108
Finisher at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
railties-3.0.9/lib/rails/application/finisher.rb:41
instance_exec at org/jruby/RubyKernel.java:2078
run at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
railties-3.0.9/lib/rails/initializable.rb:25
run_initializers at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
railties-3.0.9/lib/rails/initializable.rb:50
each at org/jruby/RubyArray.java:1603
run_initializers at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
railties-3.0.9/lib/rails/initializable.rb:49
initialize! at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
railties-3.0.9/lib/rails/application.rb:134
send at org/jruby/RubyKernel.java:2092
method_missing at /opt/jruby-1.6.3/lib/ruby/gems/1.8/gems/
railties-3.0.9/lib/rails/application.rb:77
(root) at /home/ereeves/workspace/CargoOps/config/
environment.rb:5
require at org/jruby/RubyKernel.java:1038
(root) at /home/ereeves/workspace/CargoOps/config/
environment.rb:2
require at org/jruby/RubyKernel.java:1038
(root) at test/unit/transaction_charge_type_test.rb:1
---