It might also be worthwhile for your friend to consider
deploying their application as a virtual appliance. This
way they can package up a fully configured operating system
(eg debian etch) along with all the neccessary components to
run their rails application. The customer would then just need
to run the appropriate virtualization software to handle the
container. It's a nice solution really, you can just package
up a linux container and they can run it on a windows machine
if that's their preference. Mind you, I've never tried this
stuff on windows, so I'm just assuming that it's relatively
easy.
If the customers are likely to be non-tech, then VMware is
probably a good virtualization platform to target. From a
quick glance at their site it appears that at least one of
their server solutions is free (as in beer). They also have
some sort of appliance "market-place" that might be worth a
browse (http://www.vmware.com/appliances/).
Incidentally, I'm not advocating VMware over Open Source
software. If the target customer is going to be non-tech, then
VMware is probably the safest bet. Once you've got one
container/appliance working it's trivial to make versions to
target other virtualization platforms (eg Xen, kvm, OpenVZ,
etc).
Rory
Could be licensing issues distributing your software along
with GPL'd code (a linux distro) like this. Might want to
read the following (pdf) - haven't time to read it myself,
unfortunatly:
http://www.rpath.com/corp/images/stories/Collateral/licensing_and_packaging_for_virt_appliances.pdf
There's also a wiki at rPath that should be useful on
this stuff: http://wiki.rpath.com/
Regards,
Rory