Questions tagged [truffleruby]

A high performance implementation of the Ruby programming language. Built on the GraalVM by Oracle Labs.

6 questions
6
votes
2 answers

Why does truffleruby need C extensions?

Current status of truffleruby says: 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. Why does…
bbozo
  • 7,075
  • 3
  • 30
  • 56
1
vote
1 answer

Extending (monkey patching) Java classes in Truffle Ruby

I'm currently checking the possibility of porting a big project from JRuby to Truffle Ruby and have hit a potential deal breaker in that the truffle documentation says Java classes cannot be reopened. We are using the polyglot package from the…
David Semeria
  • 542
  • 3
  • 15
1
vote
1 answer

How to switch to truffleruby on Rails?

I'd like to try running Rails 6 with TruffleRuby, so I installed truffleruby-22.0.0.2 with rbenv, added in my Gemfile ruby 'truffleruby-22.0.0.2 and ran bundle install, but that didn't work. I got an error with "... error parsing Gemfile: Illformed…
user63764
  • 41
  • 8
1
vote
2 answers

gem command not found when install rbenv in debian

I'm creating a Dockerfile to run truffleruby. I'm getting an error when trying to install bundler and foreman. The error is /bin/sh: 1: gem: not found Dockerfile FROM debian:buster-slim # Install packages for building ruby RUN apt update -y && apt…
Antarr Byrd
  • 24,863
  • 33
  • 100
  • 188
0
votes
1 answer

How exactly Truffle does "Tree Rewriting"?

A ubiquitous phrase in literature describing the Truffle language implementation framework is "Tree Rewriting". It's often said that this allows tree nodes to become more specialized to their operands (like their types). However, in tutorials such…
most m
  • 1
-1
votes
1 answer

Unexpected token issue in truffle on Windows

I am trying to install truffle on node version 8.9.0 and npm version 5.5.1. It got installed but am not able to do anything in that. every time I try any command, even try to unbox it shows an…