# js mySourceFile.js
# export PATH=/path/to/GraalVM/bin:$PATH
# node myNodeApplication.js
TruffleRuby is high performance implementation of the Ruby programming language, compatible with MRI 2.3.
TruffleRuby is progressing fast but is currently probably not ready for you to try running your full Ruby application on. Support for critical C extensions such as OpenSSL and Nokogiri is missing. TruffleRuby is ready for experimentation and curious end-users to try on their gems and smaller applications.
# ruby my_source_file.rb
TruffleRuby currently cannot run gem install out of the box because of incomplete support for OpenSSL and Nokogiri. However there is a workaround which can be used to get both gem install and bundler install working.
ruby -r bundler-workarounds -S gem install bundler ruby -r bundler-workarounds -S bundle install ruby -r bundler-workarounds -S bundle update
`bundle exec` does not need the `bundler-workarounds` module loaded.
ruby -S bundle exec bin/rails server
# ./bin/RScript mySourceFile.js