Sha256: 5927d5a7e721ff55d8cb90e797ac683cbc299740174732f5c0aa4f9a5965da6b
Contents?: true
Size: 1.24 KB
Versions: 10
Compression:
Stored size: 1.24 KB
Contents
--- layout: post title: "Automated PiCrate Install" date: 2020-03-09 07:34:13 categories: PiCrate update permalink: /install_picrate/ --- For a semi-automated setup and install, download and extract [this gist](https://gist.github.com/monkstone/6ae9840d7b7008c177b4a9f589d14ec6). To keep your system clean put the file in a folder say `~/install_picrate` ```bash cd ~/picrate_install bash picrate2_install.sh # to run default task ``` #### What the script does ### 1. Downloads JRuby 2. Installs JRuby to `/opt` 3. Uses `update-alternatives` to configure `jruby`, `jgem` and `jirb` 4. The script checks for `GEM_HOME`, if undefined it modifies `~/.profile` to define `GEM_HOME` and puts gem binaries on your path, at logon. 5. Installs jdk11 if required sets `JAVA_HOME`, needed to support jruby 6. Creates `~/.gemrc` with `gem: no-document` 7. Installs `picrate` gem To install `picrate_samples` also configures `geanyIDE` for use with `picrate` run `picrate --install` in a bash console #### Note #### `GEM_HOME`, `JAVA_HOME` and path to `gem` binaries are not available until next logon, to use immediately you could:- ```bash source ~/.profile ``` NB: this only works in current shell, so if you want to use `geanyIDE` you should logout and logon again.
Version data entries
10 entries across 10 versions & 1 rubygems