# Update Gemfile fast\_xor platform to :ruby

**URL:** https://meta.discourse.org/t/update-gemfile-fast-xor-platform-to-ruby/159064
**Category:** Development
**Created:** [July 28, 2020, 2:41pm UTC](https://meta.discourse.org/t/update-gemfile-fast-xor-platform-to-ruby/159064 "2020-07-28T14:41:43Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![eregon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eregon/32/188324_2.png) [@eregon](https://meta.discourse.org/u/eregon)
#### Post date: [July 29, 2020, 4:03pm UTC](https://meta.discourse.org/t/update-gemfile-fast-xor-platform-to-ruby/159064/3 "2020-07-29T16:03:28Z")

</div>

Thanks, [DEV: change platform mri to platform ruby on some gems · discourse/discourse@620c223 · GitHub](https://github.com/discourse/discourse/commit/620c223d50bdaa776169574a7d376f056f9dec1c) looks good.

`unicorn` will likely not work on TruffleRuby because it relies on `fork` but actually it installs.

Can Discourse run on Puma instead, any configuration needed for that?

> there are a few others I left which I am unsure about, what should I do with them? (byebug, ruby-prof, better\_errors, rbtrace, gc\_tracer, stackprof, memory\_profiler)

Yes those all seem very MRI-specific (until they start supporting different backends), so best as `platforms: :mri` for now.  
`better_errors` might work, but `binding_of_caller` does not support TruffleRuby yet.  
These gems also seem mostly debugging/performance tools which don’t seem necessary to get the app running.

Yes, we need to look at `mini_racer`.

I wonder, for context, why is JS used to render Markdown?  
To make sure it’s exactly the same result as when run in the client browser?

---

_[View the full topic](https://meta.discourse.org/t/update-gemfile-fast-xor-platform-to-ruby/159064)._
