|
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. |
@@ -231,7 +233,13 @@ as context init parameters in web.xml or as VM-wide system properties. |
231 | 233 | this option to en empty string (or 'false') it acts as if the ENV hash was |
232 | 234 | cleared out (similar to the now removed `jruby.rack.ignore.env` option). |
233 | 235 | - `jruby.runtime.env.rubyopt`: Set to true to cause ENV['RUBYOPT'] |
234 | | - 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). |
| 236 | + to be retained even when using `jruby.runtime.env` to override the environment. |
| 237 | +- `jruby.rack.env.gem_path`: If set to `true` (the default) jruby-rack will |
| 238 | + ensure ENV['GEM_PATH'] is altered to include the `gem.path` above. If you set it to a |
| 239 | + value, this value will be used as GEM_PATH, overriding the environment and |
| 240 | + ignoring `gem.path` etc. By setting this option to en empty string the ENV['GEM_PATH'] will |
| 241 | + not be modified by jruby-rack at all and will retain its original values implied by |
| 242 | + the process environment and `jruby.runtime.env` setting. |
235 | 243 | - `jruby.rack.logging`: Specify the logging device to use. Defaults to |
236 | 244 | `servlet_context`. See below. |
237 | 245 | - `jruby.rack.request.size.initial.bytes`: Initial size for request body memory |
@@ -356,9 +364,7 @@ package and push the .jar every time a commit changes a source file). |
356 | 364 | Please use [github][3] to file bugs, patches and/or pull requests. |
357 | 365 | More information at the [wiki][4] or ask us at **#jruby**'s IRC channel. |
358 | 366 |
|
359 | | -[1]: https://github.com/jruby/warbler#warbler-- |
| 367 | +[1]: https://github.com/jruby/warbler |
360 | 368 | [2]: https://central.sonatype.com/artifact/org.jruby.rack/jruby-rack |
361 | 369 | [3]: https://github.com/jruby/jruby-rack/issues |
362 | 370 | [4]: https://github.com/jruby/jruby-rack/wiki |
363 | | -[5]: http://badge.fury.io/rb/jruby-rack |
364 | | -[6]: https://github.com/jruby/jruby-rack/actions/workflows/maven.yml |
|
0 commit comments