Open TastyPi opened 1 year ago
The following code:
MemFs.activate { Tempfile.create }
produces the following error:
ruby/3.2.0/tempfile.rb:400:in `create': uninitialized constant MemFs::Dir::Tmpname (NameError) Dir::Tmpname.create(basename, tmpdir, **options) do |tmpname, n, opts| ^^^^^^^^^
This is with Ruby 3.2.0 and memfs 1.0.0
It looks like there hasn't been a release since 2017?
I tried with gem "memfs", github: "simonc/memfs" but the error still occurs.
gem "memfs", github: "simonc/memfs"
The following code:
produces the following error:
This is with Ruby 3.2.0 and memfs 1.0.0