Sha256: 4f6953e27fda4a973839206dd3f857df7479aba480bab14845c76dc7d2fee95d
Contents?: true
Size: 1011 Bytes
Versions: 1
Compression:
Stored size: 1011 Bytes
Contents
#!/usr/bin/env jruby # == Synopsis # # jetty_rails: jetty server for rails applications # # == Usage # # jetty_rails [OPTION] ... BASEDIR # # -h, --help:: # show help # # --context-path PATH, -u PATH:: # change the application context path (default: '/') # # --port PORT, -p PORT:: # change server port (default: 3000) # # --environment ENV, -e ENV:: # change rails environment (default: development) # # --classes CLASSES_DIR:: # directory containing java classes used by the application (default: 'classes/') # # --lib LIB_DIR, --jars LIB_DIR:: # directory containing jars used by the application (default: 'lib/') # # --config FILE, -c FILE:: (optional) # config file to use instead of command line switches (allows for multiple servers) # # BASEDIR (optional): directory to be run (default: current). require "java" $LOAD_PATH << "#{File.dirname(__FILE__)}/../lib" require "jetty_rails" options = CommandLineReader.new.read(:rails) runner = JettyRails::Runner.new(options) runner.start
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jetty-rails-0.6 | bin/jetty_rails |