Version
- GraalVM for JDK 22 (Latest)
- GraalVM for JDK 23 (Early Access)
- GraalVM for JDK 21
- GraalVM for JDK 17
- Archives
- Dev Build
- Java on Truffle
- JavaScript and Node.js Reference
- LLVM Languages Reference
- Python Reference
- Ruby Reference
- Compatibility
- Debugging Ruby
- Runtime Configurations
- Using Ruby with GraalVM
- Installing `libssl`
- Installing LibYAML
- Installing Make and GCC
- Installing `zlib`
- Migration from JRuby to Ruby
- TruffleRuby Options and Command Line
- Polyglot Programming
- Ruby Managers and Installers
- Standalone Distribution
- Development Tools for Ruby
- Ruby Additional Functionality
- Setting up a UTF-8 Locale
- Reporting Performance Problems
- Security
- Optcarrot Example
- FAQ
- GraalVM R Runtime
- GraalWasm
Installing Make and GCC
Since TruffleRuby 24.0.0, TruffleRuby no longer needs a LLVM toolchain and instead uses the system toolchain. The packages below are required to build C and C++ extensions.
Fedora-based: RHEL, Oracle Linux, etc #
sudo dnf install make gcc gcc-c++
gcc-c++
is only necessary for building C++ extensions.
Debian-based: Ubuntu, etc #
sudo apt-get install make gcc g++
g++
is only necessary for building C++ extensions.
macOS #
On macOS, make sure you have installed the command line developer tools from Xcode:
xcode-select --install