elliottomlinson / cardmaster

A simplified tabletop role-playing game emphasizing casual play
https://cardmaster.io
0 stars 1 forks source link

Linux Compatibility #177

Closed elliottomlinson closed 2 years ago

elliottomlinson commented 3 years ago

Apparently the product of disparity between the handling of temp files on ubuntu vs. osx, we run into a 'No such file or directory' issue when generating cards on Linux.

image

For reference, the installation process has looked like this so far (followed by a shell restart):

image

and an edit to the first line of the exe, changing

  1. #!/usr/bin/env ruby --disable-gems

to

  1. #!/usr/bin/env ruby
elliottomlinson commented 3 years ago

Suspecting this had something to do with my ruby installation, I've tried the following (each from a fresh install of ubuntu):

to be met with the same error each time - giving me the confidence to assert that it's emergent from a discrepancy between mktmpdir on osx and ubuntu.

In case it matters I'm now using rbenv (once again from a fresh install).

DuncanUszkay1 commented 3 years ago

Now that @elliottomlinson has this working on his Windows machine, I'm going to de-escalate this from "Bug" to "Enhancement", since we don't really need it.