Dir[“lib/extensions/*.jar”].each do |jar|
val = require jar
class ApplicationController < ActionController::Base
- When I don’t use a .war file but deploy from an Eclipse Tomcat
server, I get:
INFO: Server startup in 9572 ms
As you can see, no “false” or “true” is printed.
But, everything works.
- When I deploy as .war file under Tomcat,
I get “true” for each of these requires printed as well.
And I get the error that “MyClass” could not be linked because of a
missing dependency (it seems as if the requires didn’t work and the
classes are not loaded as ruby extensions).
Does anybody know what’s going on? Is the wrong ‘require’ used when
deployed as .war file or something?
To unsubscribe from this list, please visit: