Preparing Your Environment
Four software packages are required to run the examples in the book. They’re listed here along with the version needed:
- Java Development Kit (JDK) 8 (aka 1.8)
- JRuby 126.96.36.199
- Git 2.5
- Bundler 1.11
Java is supported in one form or another on a wide range of operating systems including Linux, Mac, Windows, and more. But the installation process will be different for each platform.
On Debian-based Linux platforms such as Ubuntu, the JVM can be installed with APT, like this:
|||$ sudo apt-get install openjdk-8-jdk|
On Fedora, Oracle Linux, and Red Hat, the JVM is installed with the yum command, like this:
|||$ su -c "yum install java-1.8.0-openjdk"|
For Mac OS X and Windows systems, ...