-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Env build not working on M1 mac #152
Comments
@jacobtomlinson - I see you've most recently published a blog. Have you encountered anything like this? |
Sorry I haven't tried building this on an M1 machine. Ruby headaches were one of the reasons why I moved my blog away from Jekyll a few years ago. I use docker for building this blog on the occasions that I need to, it's not ideal but it works. I aliased |
I know @quasiben uses conda to manage jekyll things so maybe has some thoughts? |
Thanks @jacobtomlinson - I suppose I could also just skip the local build and push straight to |
I'm also happy to build your PR locally and check that it looks ok if you aren't able to get your local install working. |
@jacobtomlinson I wonder how easy it would be to get a build preview (e.g. through readthedocs) on PRs here. Maybe since we're using Jekyll it's not straightforward?
Thoughts on switching the Dask blog to to something like, for example, Hugo? |
@jacobtomlinson - PR is ready here #153 |
I tried this on an M1 machine, and also was not able to install some ruby packages from conda-forge:
I was sort-of able to get it working by trying these commands (from this tweet)
and then
There were a bunch of unhappy messages, but it did also output .html files to the Details:
Edit: I don't see any problems with the formatting here, looks good to me. |
Just in case anyone else stumbles across this issue: building the blog locally is not a requirement for contributing a blog post! Writing the markdown draft is enough 😄 Some people like to proofread things they contribute this way, which is fine. But you can always ask the reviewer to do it instead (like Jacob's done here), and it's also super easy to submit a correction/update PR to fix any wonky formatting. It's not a big deal either way. |
I use netlify on my personal blog for build previews and I think it would be a good option here. RTD would also work but might be overkill for this.
I would be very +1 on switching to Hugo, it's my favourite SSG by far and it's so fast and portable, working on themes does require some knowledge of the Go templating language though. We could also consider switching to Sphinx given that our community has strong Sphinx skills. Someone was advocating for the ablog Sphinx extension on Twitter recently (maybe @choldgraf?). |
I've used both Hugo and Sphinx/ABlog, I like 'em both! I ended up using Sphinx for my personal blog because it's familiar to me and because I loved the idea of customizing with Python instead of Go (Hugo templates still confuse the crap outta me). I also liked the idea of upstreaming contributions to ABlog open source-style (it is maintained by the SunPy project), and that is much easier for me in Python than in Hugo (which is basically impossible for me to contribute to). But I think either is nice! |
Quick note in case it helps, I'm able to run the blog locally on my M1 with ruby+jekyll if I do so without conda envs (not even using I did need to install I did:
|
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 directorypartial output:
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: