Deploy Rails app on Tomcat
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
tasks
test
.gitignore
README.rdoc
Rakefile
set_env
spec_helper.rb

README.rdoc

JerryMice v 0.1.0

Install:

sudo rake manifest
sudo rake install

Alternatively

gem install --local /path/to/jerrymice-0.1.0.gem

Rakefile:

Add the following two lines of code to your Rakefile.

require 'jerrymice'
JerryMice.load

Config:

Edit lib/config/jerrymice.rb.

Deploy:

rake jerry:gems
warble config

Edit config/warble.rb to add dependencies

warble
rake jerry:deploy

Task:

rake jerry:deploy     # Upload war to tomcat/webapps/
rake jerry:gems       # Install gems in local directory
rake jerry:gitignore  # Create .gitignore file
rake jerry:war        # Run warble script