The following article explains detailed how to create a custom Tomcat based AMI for Beanstalk. The key is running the following commands before creating your AMI:
sudo -s
cd /etc/init.d
./httpd start
./tomcat7 start
However I didn't find any documentation what the configuration must look like on the new Ruby based Beanstalk servers.
Does anyone already have experiance with it?