Try looking a the RPA wiki site. They have some good documents that
might help. Also consider setup.rb as a manul install script.

http://rpa-base.rubyforge.org/wiki/wiki.cgi
http://i.loveruby.net/en/man/setup/