I currently use Ruby 3.3.0 with the devkit, downloaded through RubyInstaller. I installed gosu using gem install gosu and gosu-examples using gem install gosu-examples - so the usual installation process.
I load up gosu-examples and everything seems normal, but attempting to see any program's source code or open the examples folder immediately crashes the demo program while returning this error in the command prompt/terminal.
C:/Users/user/.local/share/gem/ruby/3.3.0/gems/gosu-examples-1.0.7/bin/gosu-examples:90:in `fork': fork() function is unimplemented on this machine (NotImplementedError)
from C:/Users/user/.local/share/gem/ruby/3.3.0/gems/gosu-examples-1.0.7/bin/gosu-examples:90:in `open_file_or_folder'
from C:/Users/user/.local/share/gem/ruby/3.3.0/gems/gosu-examples-1.0.7/bin/gosu-examples:52:in `button_down'
from C:/Users/user/.local/share/gem/ruby/3.3.0/gems/gosu-1.4.6/lib/gosu/patches.rb:64:in `tick'
from C:/Users/user/.local/share/gem/ruby/3.3.0/gems/gosu-examples-1.0.7/bin/gosu-examples:95:in `<top (required)>'
from C:/Users/user/AppData/Local/Microsoft/WindowsApps/gosu-examples:32:in `load'
from C:/Users/user/AppData/Local/Microsoft/WindowsApps/gosu-examples:32:in `<main>'
From my search, it seems that fork() is a POSIX (Linux) function... which doesn't make sense, because this is a Windows machine I installed it on and I have everything else set up properly.
It's also worth noting that I tried the same steps with Ruby 3.2.3, and the same issues occurred. And yes, I already uninstalled Ruby 3.2.3 before reinstalling Ruby 3.3.0.
I currently use Ruby 3.3.0 with the devkit, downloaded through RubyInstaller. I installed gosu using
gem install gosuand gosu-examples usinggem install gosu-examples- so the usual installation process.I load up
gosu-examplesand everything seems normal, but attempting to see any program's source code or open the examples folder immediately crashes the demo program while returning this error in the command prompt/terminal.From my search, it seems that fork() is a POSIX (Linux) function... which doesn't make sense, because this is a Windows machine I installed it on and I have everything else set up properly.
It's also worth noting that I tried the same steps with Ruby 3.2.3, and the same issues occurred. And yes, I already uninstalled Ruby 3.2.3 before reinstalling Ruby 3.3.0.