Skip to content

Instantly share code, notes, and snippets.

@LoveJessyChen
LoveJessyChen / ext4fuse.rb
Created June 16, 2022 09:27 — forked from mietzen/ext4fuse.rb
ext4fuse for M1 Macs running macOS 12.x, code from @marcuspridham + corrections from @FelixLisczyk, install instructions below
class MacFuseRequirement < Requirement
fatal true
satisfy(build_env: false) { self.class.binary_mac_fuse_installed? }
def self.binary_mac_fuse_installed?
File.exist?("/usr/local/include/fuse/fuse.h") &&
!File.symlink?("/usr/local/include/fuse")
end