bobmcwhirter / jboss-rails
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (3)
- Wiki (1)
- Graphs
-
Tree:
0dec134
tree cbf43efe985dbfb3f684a6e0e781d8a5737bbb7a
parent 360c23e9bb6c57e4952148700e1674412556d54e
| name | age | message | |
|---|---|---|---|
| |
.classpath | ||
| |
.gitignore | ||
| |
.gitmodules | ||
| |
.project | ||
| |
INSTALL.txt | ||
| |
LICENSE-LGPL.txt | ||
| |
LICENSE-MIT.txt | ||
| |
LICENSE.txt | ||
| |
README.markdown | ||
| |
Rakefile | ||
| |
gems/ | ||
| |
pom.xml | ||
| |
src/ | ||
| |
util/ |
Overview
JBoss Rails is a deployer for JBoss AS 5.x to enable deployment of Ruby-on-Rails (RoR) projects. Applications run on the JVM by way of JRuby and JRuby-Rack.
Deployment
Live application directories can be deployed, allowing editing of views and controllers without having to redeploy the application.
A JBoss Rails deployment descriptor placed in the server's deploy/
directory will cause immediate deployment of the application. Editing,
touching, or removing the descriptor will cause either a redeployment
or an undeployment.
Deployment Descriptor
Once installed, the deployer recognizes deployment descriptors
matching the pattern of *-rails.yml. This YAML file contains
a configuration tree specifying the deployment information.
An example for groundhog-rails.yml
application:
RAILS_ROOT: /home/bob/checkouts/groundhog
RAILS_ENV: development
web:
context: /
- The
application.RAILS_ROOTentry points toRAILS_ROOTof the application to be deployed. - The
application.RAILS_ENVentry sets the RAILS_ENV for the deployment. - The
web.contextentry describes the URL to which the application should be bound.
Other Projects
To facilitate usage of JBoss Rails from a traditional Rails application,
the JBoss Rails Plugin
installs easily under your application's vendor/plugins/ directory and provides
a set of Rake tasks to make deploying and undeploying applications super-simple.
A pre-configured version of JBoss AS can be installed with via the JBoss Rails Plugin, or manually from GitHub.

