Import of https://svn.dev.java.net/svn/glassfish-scripting/trunk/rails/gem