failing to load not being logged
Reported by Vince | September 19th, 2008 @ 10:16 AM
line 492 bootloader.rb
in the terminal:
/Users/vintrepid/.gems/gems/merb-core-0.9.8/lib/merb-core/bootloader.rb:494:in
load_classes_with_requirements': Could not load
["/Users/vintrepid/projects/wt/phoenix/app/helpers/form_spam_helper.rb"]
(see log for details). (LoadError)
but in log/merb.4000.log, the trace stops at the line above this message
Comments and changes to this ticket
-
Yehuda Katz (wycats) September 19th, 2008 @ 11:33 AM
- → Assigned user changed from to Fabien Franzen (loob2)
-

Fabien Franzen (loob2) September 19th, 2008 @ 06:35 PM
- → State changed from new to resolved
I've added a more descriptive message to the load error; here's an example:
/opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/bootloader.rb:495:in `load_classes_with_requirements': Could not load /Development/merb-related/frozen-app/app/models/foo.rb: (LoadError) uninitialized constant Merb::Bar - (NameError) (see log for details) from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/bootloader.rb:400:in `load_classes' from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/bootloader.rb:370:in `run' from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/vendor/facets/dictionary.rb:268:in `each' from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/vendor/facets/dictionary.rb:268:in `each' from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/bootloader.rb:368:in `run' from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/bootloader.rb:69:in `run' from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core/server.rb:57:in `start' from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/lib/merb-core.rb:108:in `start' from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.8/bin/merb:11 from /opt/local/bin/merb:19:in `load' from /opt/local/bin/merb:19
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
