From: "anthonyaykut (Anthony Aykut)" Date: 2022-01-29T20:34:03+00:00 Subject: [ruby-core:107350] [Ruby master Bug#18555] Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000 Issue #18555 has been updated by anthonyaykut (Anthony Aykut). 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's alive! ``` bundle exec middleman server == The Middleman is loading == Sprockets will render css with SassC == View your site at "http://localhost:4567", "http://127.0.0.1:4567" == Inspect your site configuration at "http://localhost:4567/__middleman", "http://127.0.0.1:4567/__middleman" ``` Thank you so very much in getting this to work again!! ---------------------------------------- Bug #18555: Running "bundle exec middleman server" on M1 Mac gives [BUG] Bus Error at 0x0000000104b04000 https://bugs.ruby-lang.org/issues/18555#change-96248 * Author: anthonyaykut (Anthony Aykut) * Status: Open * Priority: Normal * ruby -v: ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21] * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- 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 middleman component. I'm getting a huge error message while trying to run "bundle exec middleman server" and it is telling me to log a ticket and attach logs. So here I am. I hope someone can help. Crash report is attached, together with the lengthy terminal output. Summary is, when I run "bundle exec middleman server" I get the following; full text is in "terminal_output.txt". ``` /Users/aaykut/Documents/apidocs/slate/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/lib/ffi/library.rb:275: [BUG] Bus Error at 0x0000000100594000 ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21] -- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports for more details. Don't forget to include the above Crash Report log file in bug reports. ``` Thanks, Anthony ---Files-------------------------------- terminal_output.txt (89.1 KB) ruby-2022-01-27-202050.ips (13.9 KB) gem_env.txt (1.59 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: