Oddthesis-logo

Page: Installation

Installing with ./script/plugin

To install using ./script/plugin, simply execute

./script/plugin install git://github.com/bobmcwhirter/jboss-rails-plugin.git 

That will pull down a copy of the plugin into vendor/plugins/jboss-rails-plugin.

Installing with Git submodules

The way I like to handle plugins is through Git submodules.  Executing this command from the top of your source tree will cause the plugin to be pulled and installed at $RAILS_ROOT/vendor/plugins/jboss-rails-plugin

git submodule add git://github.com/bobmcwhirter/jboss-rails-plugin.git vendor/plugins/jboss-rails-plugin

To change/update the version of the plugin being used, simply change into its directory and issue normal git checkout/pull/etc commands.  Change back to your app's directory and commit.

Using the plugin

Before attempting to use the plugin, you need to make sure that JBoss AS and the JBoss Rails Deployer are installed correctly.

Creative Commons License Copyright 2008. Odd Thesis by Bob McWhirter is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.