Sha256: 2a47f1fd30ebef58660f7f20d4febff18c7d2cc3fa75db313eeef44359fa010e

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

= tomcat-rails

Tomcat Rails allows you to run a rails application within a Tomcat container.

This project has just born, there are a lot of things to do. Take a look at the TODO.txt file and feel free to add new features, tests, patches...

== INSTALL:

  jgem install calavera-tomcat-rails -s http://gems.github.com

== USAGE:

  cd myrailsapp
  jruby -S tomcat_rails
  
== CONFIGURATION:

Tomcat-Rails allows you to configure some parameters when the server is started from the command line, the following is a list of the currently supported options:

  * -p, --port PORT         =>    port to bind to.
  * -e, --env ENVIRONMENT   =>    rails environment.
  * -c, --context CONTEXT   =>    application context path.
  * --lib, --jars LIBS_DIR  =>    directory containing jars.
  * --classes CLASSES_DIR   =>    directory containing classes.    

The server can also be configured from a yaml file. If a file is not especified, the server tries to load the file <em>config/tomcat.yml</em>. Within this file you can add other options like jruby.min.runtimes(:jruby_min_runtimes) or jruby.max.runtimes(:jruby_max_runtimes).

  jruby -S tomcat_rails -f
  jruby -S tomcat_rails --config my_custom_configuration.yml

== Copyright

Copyright (c) 2009 David Calavera<calavera@apache.org>. See LICENSE for details.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
calavera-tomcat-rails-0.2.0 README.rdoc