General

Profile

anthonyaykut (Anthony Aykut)

  • Login: anthonyaykut
  • Registered on: 01/28/2022
  • Last sign in: 01/28/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

01/29/2022

08:34 PM Ruby Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
Right, I have an update -- I worked out that `syntax` was also a gem :) so in the end I added:
```
gem "middleman-syntax"
gem "middleman-sprockets"
gem "middleman-autoprefixer"
gem "nokogiri"
```
to get everything working! It'...
anthonyaykut (Anthony Aykut)
08:16 PM Ruby Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
mame (Yusuke Endoh) wrote in #note-9:
> anthonyaykut (Anthony Aykut) wrote in #note-8:
> ...
OK, I did as suggested... `bundle install` took a while to complete, but looked good. I tried to run `bundle exec middleman server`, but it co...
anthonyaykut (Anthony Aykut)

01/28/2022

08:04 PM Ruby Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
mame (Yusuke Endoh) wrote in #note-7:
> If you are using bundler, try the second one.
> ...
Thanks. So... `bundle config build.ffi --enable-libffi-alloc` gave me:
```
Your application has set build.ffi to "--enable-libffi-alloc". T...
anthonyaykut (Anthony Aykut)
02:02 PM Ruby Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
mame (Yusuke Endoh) wrote in #note-5:
> Ah, maybe it is a typo. Could you try `gem install ffi -- --enable-libffi-alloc`?
Yes, it was, but now I have a permissions error.
```
gem install ffi -- --enable-libffi-alloc
Ignoring red...
anthonyaykut (Anthony Aykut)
04:04 AM Ruby Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
mame (Yusuke Endoh) wrote in #note-3:
> Could you try this? https://github.com/ffi/ffi/issues/800#issuecomment-1008308614
Thank you -- so, I tried as suggested:
```
gem uninstall ffi
gem install ffi --enable-libffi-alloc
```
...
anthonyaykut (Anthony Aykut)
01:51 AM Ruby Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
Attaching my `gem env` output anthonyaykut (Anthony Aykut)
01:47 AM Ruby Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
By the way, I have noticed that running
`ruby -e 'require "rbconfig"; pp RbConfig::CONFIG' | grep "cpu"`
gives me
```
"target_cpu"=>"universal",
"host_cpu"=>"x86_64",
"build_cpu"=>"x86_64",
```
my previous system was a...
anthonyaykut (Anthony Aykut)
01:37 AM Ruby Bug #18555 (Closed): Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000
Hi All,
First of all, I am not a programmer or coder so I am having great difficulty solving this puzzle.
Since moving to a M1 Mac, I cannot get Slate API Docs (https://github.com/slatedocs/slate) to work, specifically the middlema...
anthonyaykut (Anthony Aykut)

Also available in: Atom