Update README with new jruby plugin stuff
This commit is contained in:
parent
618ed1f5b2
commit
d132bba97b
15
README.md
15
README.md
|
@ -1,6 +1,8 @@
|
||||||
# Ruby + Gradle Example
|
# Ruby + Gradle Example
|
||||||
|
|
||||||
This project relies heavily on the marvelous [TorqueBox Rubygems Maven repo](http://rubygems-proxy.torquebox.org/).
|
This project relies heavily on the marvelous [TorqueBox Rubygems Maven
|
||||||
|
repo](http://rubygems-proxy.torquebox.org/) and my own
|
||||||
|
[jruby-gradle-plugin](http://plugins.gradle.org/plugin/com.lookout.jruby)
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
@ -9,7 +11,7 @@ In order to prepare the dependencies for the JRuby application you must invoke
|
||||||
gradle:
|
gradle:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
% ./gradlew war
|
% ./gradlew jrubyWar
|
||||||
```
|
```
|
||||||
|
|
||||||
This will do a few things:
|
This will do a few things:
|
||||||
|
@ -21,15 +23,6 @@ This will do a few things:
|
||||||
1. Create a runnable `.war` of what's in `src/main/webapp`
|
1. Create a runnable `.war` of what's in `src/main/webapp`
|
||||||
|
|
||||||
|
|
||||||
Alternatively you can run:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
% ./gradlew jettyRunWar
|
|
||||||
```
|
|
||||||
|
|
||||||
Which will do all of the above and also run the war [locally on port
|
|
||||||
`8080`](http://localhost:8080/rubygradle)
|
|
||||||
|
|
||||||
### Running locally
|
### Running locally
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in New Issue