Hey all, I finally got around to fixing some of the bugs you reported,
and cut a new Warbler gem with JRuby 1.1.3. Please check it out, and
let me know if you see any issues.
Changes:
0.9.10
-
Upgraded to JRuby-Rack 0.9.1. Fixes JRUBY-2620, JRUBY-2594,
JRUBY-2507.
-
Now verified to work with Camping and Sinatra. See
http://github.com/nicksieger/jruby-rack/tree/master/examples for
examples of how to configure Warbler to package your Camping and
Sinatra apps.
-
Upgraded to JRuby 1.1.3.
-
Log files are no longer packaged in the .war file.
-
Fix #<Warbler::WebxmlOpenStruct …> appearing in web.xml and
document workarounds.
-
Add config.autodeploy_dir that, when specified, will create the war
there.
-
http://caldersphere.rubyforge.org/warbler
/Nick
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
There might be something wrong with my setup here, but when i tried to
create the war in my rails project, there was a permission error - i
couldnt copy jruby-complete-1.1.3.jar as it was set with permissions
600, and installed with another user than the the one i was using
warble as.
Otherwise, seems to work great!
Albert
On Sat, Jul 26, 2008 at 7:48 AM, Nick S. [email protected]
wrote:
http://github.com/nicksieger/jruby-rack/tree/master/examples for
/Nick
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I’m having an issue with the path to my war getting mangled, apparently
by
JRuby-Rack. The relevant stack trace is below. Somehow the path
“…/.netbeans/6.1/…” becomes “…/.netbeans.1/…” And of course it
can’t find my rails environment file since that directory doesn’t exist.
Has anyone seen this before? Any idea how to deal with it?
Thanks,
Myron
The stack trace:
org.jruby.rack.RackInitializationException: No such file to load –
C:\Users\Myron.netbeans.1\apache-tomcat-6.0.16_base\webapps\FractalComposerDotCom\WEB-INF/config/environment.rb
from
file:/C:/Users/Myron/.netbeans/6.1/apache-tomcat-6.0.16_base/webapps/FractalComposerDotCom/WEB-INF/lib/jruby-rack-0.9.1.jar!/jruby/rack/rails.rb:29:in
load_environment' from file:/C:/Users/Myron/.netbeans/6.1/apache-tomcat-6.0.16_base/webapps/FractalComposerDotCom/WEB-INF/lib/jruby-rack-0.9.1.jar!/jruby/rack/rails.rb:148:in
new’
from :3
from
file:/C:/Users/Myron/.netbeans/6.1/apache-tomcat-6.0.16_base/webapps/FractalComposerDotCom/WEB-INF/lib/jruby-rack-0.9.1.jar!/rack/builder.rb:22:in
instance_eval' from file:/C:/Users/Myron/.netbeans/6.1/apache-tomcat-6.0.16_base/webapps/FractalComposerDotCom/WEB-INF/lib/jruby-rack-0.9.1.jar!/rack/builder.rb:22:in
initialize’
from :3:in `new’
from :3
On Sun, Jul 27, 2008 at 10:20 PM, Albert R.
<[email protected]