-
Notifications
You must be signed in to change notification settings - Fork 26
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
Find out what Ruby versions ksv is compatible with on Windows #51
Comments
The reasons why I did this were:
|
See #51 for how Ruby 2.4 was determined to be the target version.
Ruby 2.4 is now specified in
so this issue can be closed. |
Ruby installations come from https://rubyinstaller.org/downloads/, everything is run in Windows Sandbox.
kaitai-struct-visualizer-0.7.gem
was built manually from #49 by usinggem build kaitai-struct-visualizer.gemspec
with thehumdogm:master
branch checked out.Ruby 1.8
kaitai_struct_visualizer/bin/ksv
Line 9 in 5b3ec3d
Ruby 1.9
kaitai_struct_visualizer/lib/kaitai/tui.rb
Line 16 in 5b3ec3d
Ruby 2.0
kaitai_struct_visualizer/lib/kaitai/struct/visualizer/hex_viewer.rb
Line 128 in 5b3ec3d
https://stackoverflow.com/a/36812667/12940655:
Ruby 2.3
I was actually trying out #49, so line 97 is the following:
kaitai_struct_visualizer/lib/kaitai/console_windows.rb
Line 97 in 2e19269
And I already know that
String#unpack1
was introduced in Ruby 2.4: kaitai-io/kaitai_struct_ruby_runtime#8Ruby 2.4
It seems to work fine (with changes from #49), the hex viewer finally shows up.
Ruby 2.7
Works the same as Ruby 2.4.
Ruby 3.0
For Ruby 3.0+ support on Windows (since the version from RubyGems fails with
in `require': cannot load such file -- Win32API (LoadError)
on linelib/kaitai/console_windows.rb:2
since Ruby 3 - see #48), I checked out #49 and builtkaitai-struct-visualizer-0.7.gem
from sources usinggem build kaitai-struct-visualizer.gemspec
.Works, same as Ruby 2.4 and 2.7.
Ruby 3.1
Same as Ruby 2.4, 2.7 and 3.0.
The text was updated successfully, but these errors were encountered: