At 12:42 AM -0400 3/24/08, Chris Nelson wrote:
>All,
>
>Has anyone had any luck getting JRuby 1.1RC3 running a Rails app using 
>Warbler.  The current version of warbler bundles RC2 and I built a 
>jruby-complete jar with RC3 and copied it into the war file.  Now I'm getting:

I wasn't able to get it to work -- but I did have success deploying a Rails app 
using JRuby-trunk, Warbler and JRuby-Rack.

I added a bunch to the JRuby-Rack README file here:

http://svn.jruby.codehaus.org/browse/~raw,r=108/jruby-contrib/trunk/rack/README.txt

describing how to setup a rails app for this deployment model.

I discovered a problem that might only occur using JRuby-Rack and the Java 
database H2 -- I had to specify the full path to the database like this in 
config/database.yml:

production:
  adapter: jdbch2
  database: <%= RAILS_ROOT %>/db/sds_h2_database

see:

http://www.nabble.com/problem-accessing-H2-db-in-tomcat%2C-w-warble-war-and-jruby-rack-td16136614.html#a16136614

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to