# Changes Requested to Support Discourse on TruffleRuby

**URL:** <https://meta.discourse.org/t/changes-requested-to-support-discourse-on-truffleruby/225578>\
**Category:** Development\
**Created:** [April 28, 2022, 5:06pm UTC](https://meta.discourse.org/t/changes-requested-to-support-discourse-on-truffleruby/225578 "2022-04-28T17:06:17Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [May 4, 2022, 8:10pm UTC](https://meta.discourse.org/t/changes-requested-to-support-discourse-on-truffleruby/225578/9 "2022-05-04T20:10:33Z")

</div>

Here’s a PR with the requested changes.

[https://github.com/discourse/discourse/pull/16641](https://github.com/discourse/discourse/pull/16641)

I still couldn’t get it to run successfully, there was a `java.lang.NullPointerException`, but that might be just me crudely disabling mini\_racer. I’m really looking forward to seeing a fully functional Discourse running on TruffleRuby.

> [@sam](#):
>
> mini\_profiler can still provide plenty value in truffle world, nothing MRI specific about this.

I didn’t look into this any further, but I noticed an error when I only disabled loading of stackprof and memory\_profiler. So I completely disabled mini\_profiler for now.

```plaintext
2022-05-04 21:48:13 +0200 Rack app ("POST /mini-profiler-resources/results" - (127.0.0.1)): #<SystemStackError: stack level too deep
        from StackOverflowCheckImpl.java:328:in `com.oracle.svm.core.graal.snippets.StackOverflowCheckImpl.newStackOverflowError0'>

```

It might have been a side effect of other problems. I guess we could investigate when other problems are solved.

---

_[View the full topic](https://meta.discourse.org/t/changes-requested-to-support-discourse-on-truffleruby/225578)._
