[tsc-devel] Re: Discourse forum
Marvin Gülker |
Wed, 27 Mar 2019 07:40:57 UTC
Am 26. März 2019 um 20:54 Uhr -0500 schrieb Ryan Gonzalez:
> Ack, I forgot about arm64 😅
> On Tue, Mar 26, 2019, 8:35 PM Lauri Ojansivu <…x@x…> wrote:
> > 3) I don't know is all of Rails etc available for arm. So it would be a
> > major effort to get Discourse running on arm.
From my experience with working with Ruby applications, I expect that
the Ruby part of it should be fine. Ruby itself is available on
arm64/aarch64 (it is already installed on the server as furbot is
written in Ruby). Ruby code itself runs on RITE, the Ruby VM, and is thus
platform-agnostic. The only problematic parts of Rails and its
dependencies would be C extensions, but most C extensions I have seen
yet are written in portable C code so that they should compile on any
platform.
For anything not written in Ruby (NodeJS, for example), I can't
comment. I assume xet7 is correct here. Last time I really worked with
RubyOnRails it did not hard-depend on a JavaScript implementation
available on the server (and I don't know why it does now).
I have just tested creating a new RubyOnRails project on alexandria and
running $ bundle install over it. All dependencies install flawlessly. I
haven't tested all of Discourse's multitude of dependencies, though. If
you want to try manual installation of any gems, I ask you to please not
pollute the global installation. Use bundler's --path option or at least
install gems to your user account with $ gem --user-install. What I did
was this:
$ mkdir ~/test && cd ~/test
$ bundle install --path .gems rails
$ bash
$$ cd ~/test
$$ export PATH="$PWD/.gems/ruby/2.5.0/bin:$PATH"
$$ rails new testproject [crashes on bundler]
$$ exit
$ cd testproject
$ bundle install --path vendor [succeeds]
As mentioned, this ran through successfully.
You see, another disadvantage of containers is an even slightly unusual
setup. But probably I'm just lamenting that the web world for “modern”
web sites got so complicated.
@everyone: Please, no top posting...
-quintus
--
Blog: https://mg.guelker.eu
_______________________________________________
tsc-devel mailing list -- …l@l…
To unsubscribe send an email to …e@l…