Env build not working on M1 mac
- Dominant language
- HTML
- Stars
- 30
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the issue**:
I'm trying to contribute a blog but cannot build the ruby/jekyll software environment. Most likely because I'm on an M1 Mac.
**Minimal Complete Verifiable Example**:
`conda install rb-commonmarker`
OR
`bundle install` within the project directory
```
bundle install
```
partial output:
```
...
Installing nokogiri 1.13.9 (arm64-darwin)
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/rpelgrim/mambaforge/envs/dask-blog/share/rubygems/gems/commonmarker-0.23.6/ext/commonmarker
/Users/rpelgrim/mambaforge/envs/dask-blog/bin/ruby -I /Users/rpelgrim/mambaforge/envs/dask-blog/lib/ruby/3.1.0 -r
./siteconf20221121-16691-jyr1nw.rb extconf.rb
creating Makefile
current directory: /Users/rpelgrim/mambaforge/envs/dask-blog/share/rubygems/gems/commonmarker-0.23.6/ext/commonmarker
make DESTDIR\= clean
current directory: /Users/rpelgrim/mambaforge/envs/dask-blog/share/rubygems/gems/commonmarker-0.23.6/ext/commonmarker
make DESTDIR\=
compiling arena.c
make: arm64-apple-darwin20.0.0-clang: No such file or directory
make: *** [arena.o] Error 1
make failed, exit code 2
...
```
**Anything else we need to know?**:
**Environment**:
- Dask version: n/a
- Ruby version: 3.1.2
- Operating System: MacOS
- Install method (conda, pip, source): conda / gem
Contributor guide
Research direction
Start by running `bundle install` in the project directory and compare the failure with the reported `commonmarker` native-extension output; the alternative command mentioned is `conda install rb-commonmarker`. Trace the M1-specific Ruby and gem environment involved, and consider the issue done when the blog environment builds successfully on the reported macOS setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- anaconda, jekyll, ruby
- Domain
- build-system, developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100