Skip to content

Commit bb14b26

Browse files
committed
jruby-launcher
1 parent e7e2ed5 commit bb14b26

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

_jruby/propane.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,16 @@ permalink: /jruby/propane/
55
---
66

77
An installed version of JRuby is an absolute pre-requisite for installing propane, but you should install java first.
8+
9+
## Installing/Updating jruby-launcher gem debian linux
10+
11+
First set the `JAVA_HOME` environmental variable, you can do this by editing the `~/.profile` file:-
12+
13+
```bash
14+
echo "export JAVA_HOME=/opt/jdk13 >> ~/.profile" # wherever
15+
```
16+
then
17+
```bash
18+
source ~/.profile # to use the edited ~/.profile in current shell
19+
sudo jgem install jruby-launcher # NB: you do need sudo access here
20+
```

_jruby/raspberry.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ You need to do this to use gem executables.
6262
First set the `JAVA_HOME` environmental variable, you can do this by editing the `~/.profile` file:-
6363

6464
```bash
65-
source ~/.profile # to use the edited ~/.profile in current shell
6665
echo "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk >> ~/.profile"
66+
source ~/.profile # to use the edited ~/.profile in current shell
67+
sudo jgem install jruby-launcher # NB: you do need sudo access here
6768
```
6869

6970
Above assumes you are using `java-8-openjdk` on Buster, adjust for your setup. We do not currently recommend using `java-11-openjdk`, but if you are there is even more reason to install the `jruby-launcher` gem as it suppresses illegal-reflective access warning from `JRuby` (but not from the jogl jars)

0 commit comments

Comments
 (0)