As a follow up to my post yesterday, I’m below is a script that will install glassfish for deployment on Ubuntu 8.10.

About this script
The variables at the beginning are fairly self explanatory: the script works out of $HOME/Development/jruby, and installs to /opt/glassfishv3-prelude – feel free to change these options to suit your needs.

In order to install and warble-ize an application, you’ve got to have jruby in your path. The script I posted yesterday will install jruby to the same place this script expects it to be.

I’ve tried to document the step that this script takes in the comments – let me know if you think there is anything I should update. At some point, I’ll probably just merge all of this information together into an actual git repository on github so forking/pull requests will be easier.

In the next couple weeks I’ll be posting some follow-ups: deploying typo on glassfish; mysql connection pooling with jdbc; securing glassfish; and whatever else anyone (myself included) finds interesting. Let me know if there is anything you’d like me to cover.