Using JRuby with AR Migrations standalone

Hi All,

I have a couple questions regarding JRuby and ActiveRecord migrations, I'd like to introduce Ruby to a Java-based project for managing database migrations initially, so here they are:

1- Is it possible to package everything needed for JRuby/ActiveRecord migrations so that I can run it through a web-based interface as part of the app or a batch script or something? In otherwords, without have to physically install JRuby, AR, gems, etc?

2- Can AR migrations handle tables with the non default ID column (eg table customers has cust_id)?

Thanks in advance for any advice!

-Abdullah