|
1 | 1 | # JRuby-Rack |
2 | 2 |
|
3 | | -[][5] |
4 | | -[][6] |
5 | | - |
| 3 | +[](https://rubygems.org/gems/jruby-rack) |
| 4 | +[](https://central.sonatype.com/artifact/org.jruby.rack/jruby-rack) |
| 5 | +[](https://github.com/jruby/jruby-rack/actions/workflows/maven.yml?query=branch%3Amaster) (master) |
| 6 | +[](https://github.com/jruby/jruby-rack/actions/workflows/maven.yml?query=branch%3A1.2-stable) (1.2.x) |
| 7 | + |
6 | 8 | JRuby-Rack is a lightweight adapter for the Java Servlet environment that allows |
7 | 9 | any (Ruby) Rack-based application to run unmodified in a Java Servlet container. |
8 | 10 | JRuby-Rack supports Rails as well as any Rack-compatible Ruby web framework. |
@@ -248,7 +250,13 @@ as context init parameters in web.xml or as VM-wide system properties. |
248 | 250 | this option to en empty string (or 'false') it acts as if the ENV hash was |
249 | 251 | cleared out (similar to the now removed `jruby.rack.ignore.env` option). |
250 | 252 | - `jruby.runtime.env.rubyopt`: Set to true to cause ENV['RUBYOPT'] |
251 | | - to be retained even when using `jruby.runtime.env` to override environemnt (similar to how the removed `jruby.rack.ignore.env` option behaved by default). |
| 253 | + to be retained even when using `jruby.runtime.env` to override the environment. |
| 254 | +- `jruby.rack.env.gem_path`: If set to `true` (the default) jruby-rack will |
| 255 | + ensure ENV['GEM_PATH'] is altered to include the `gem.path` above. If you set it to a |
| 256 | + value, this value will be used as GEM_PATH, overriding the environment and |
| 257 | + ignoring `gem.path` etc. By setting this option to en empty string the ENV['GEM_PATH'] will |
| 258 | + not be modified by jruby-rack at all and will retain its original values implied by |
| 259 | + the process environment and `jruby.runtime.env` setting. |
252 | 260 | - `jruby.rack.logging`: Specify the logging device to use. Defaults to |
253 | 261 | `servlet_context`. See below. |
254 | 262 | - `jruby.rack.request.size.initial.bytes`: Initial size for request body memory |
@@ -373,9 +381,7 @@ package and push the .jar every time a commit changes a source file). |
373 | 381 | Please use [github][3] to file bugs, patches and/or pull requests. |
374 | 382 | More information at the [wiki][4] or ask us at **#jruby**'s IRC channel. |
375 | 383 |
|
376 | | -[1]: https://github.com/jruby/warbler#warbler-- |
| 384 | +[1]: https://github.com/jruby/warbler |
377 | 385 | [2]: https://central.sonatype.com/artifact/org.jruby.rack/jruby-rack |
378 | 386 | [3]: https://github.com/jruby/jruby-rack/issues |
379 | 387 | [4]: https://github.com/jruby/jruby-rack/wiki |
380 | | -[5]: http://badge.fury.io/rb/jruby-rack |
381 | | -[6]: https://github.com/jruby/jruby-rack/actions/workflows/maven.yml |
|
0 commit comments