You can use directory-based deployment to deploy any Rails application to the Enterprise Server. To deploy the hello application to the Enterprise Server as a directory, do the following:
Start the Enterprise Server with the following command:
asadmin start-domain
Change to the directory where you created the sample application. For example:
/apps/jruby-apps/hello
Deploy the hello application with asadmin command:
asadmin deploy hello
Run the hello application using the following URL in your browser:
http://localhost:8080/hello/ |