# Support for ARM servers

**URL:** <https://meta.discourse.org/t/support-for-arm-servers/36349>\
**Category:** Feature\
**Tags:** arm\
**Created:** [December 5, 2015, 12:29pm UTC](https://meta.discourse.org/t/support-for-arm-servers/36349 "2015-12-05T12:29:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![rriemann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rriemann/32/115238_2.png) [@rriemann](https://meta.discourse.org/u/rriemann)\
**Post date:** [January 24, 2016, 5:51pm UTC](https://meta.discourse.org/t/support-for-arm-servers/36349/4 "2016-01-24T17:51:29Z")

</div>

`bundle install` is not an issue.

However, the _therubyracer_ and _v8_ gem requires some patches/different version. Otherwise, the  
`RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake assets:precompile`  
does not finish, but break with a stack trace.

```plaintext
Purging temp files
abort:

==== JS stack trace =========================================

Security context: 0x3fd36f3d <JS Object>#0#
    1: /* anonymous */ [<eval>:~56513] (this=0x3fd36fe5 <JS Global Object>#1#,data=0x4f74cec5 <JS Array[2]>#2#)
    2: intersection [<eval>:57141] (this=0x4f74d431 <JS Object>#3#,argument=0x4f74ce7d <JS Object>#4#)
    3: /* anonymous */ [<eval>:58617] (this=0x4f70b199 <an Object>#5#,_dereq_=0x4f70b0f1 <JS Function>#6#,module=0x4f70b1a5 <an Object>#7#,exports=0x4f70b199 <an Object>#5#)
    4: arguments adaptor frame: 7->3
    5: s [<eval>:~2] (this=0x3fd36fe5 <JS Global Object>#1#,o=591,u=0x3fd08091 <undefined>)
    6: arguments adaptor frame: 1->2
    7: /* anonymous */ [<eval>:2] (this=0x3fd36fe5 <JS Global Object>#1#,e=591)

```

[stacktrace.txt](https://global.discourse-cdn.com/meta/original/3X/3/9/393e4d77c757b597047de0c3ac25a0187ba0a586.txt) (291 KB)

This seems to be the upstream bug: [TheRubyRacer 0.12.1 Segmentation Fault · Issue #317 · rubyjs/therubyracer · GitHub](https://github.com/cowboyd/therubyracer/issues/317)  
I posted recently a comment, but did not get a response.

Scaleway patches the Gemfile and Gemfile.lock in order to use local versions that have been downloaded from elsewhere: [https://github.com/scaleway-community/scaleway-discourse/blob/master/Dockerfile#L53](https://github.com/scaleway-community/scaleway-discourse/blob/master/Dockerfile#L53)

---

_[View the full topic](https://meta.discourse.org/t/support-for-arm-servers/36349)._
