You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Path Format: Use forward slashes (/) in Ruby paths, even on Windows.
Line Endings: Configure Git to avoid CRLF issues:
git config --global core.autocrlf false
Native Gems: Ensure the MSYS2 Devkit (installed via RubyInstaller) is available for compiling extensions.
PowerShell: Use it instead of CMD for better scripting compatibility.
Troubleshooting
Gem Installation Failures:
Run ridk enable (from RubyInstaller) to configure MSYS2.
Install missing DLLs via pacman -S mingw-w64-x86_64-toolchain in the MSYS2 shell.
Path Issues: Verify Ruby is in your PATH:
$env:Path-split";"|Select-String"Ruby"
This workflow ensures cross-platform compatibility, with Windows users leveraging RubyInstaller for native development. For fewer issues, consider WSL for Unix-like tooling. Let me know if you need further refinements! 🛠️
Requested by @strogonoff . FYI @CAMOBAP .
Originally posted by @ronaldtse in #953
The text was updated successfully, but these errors were encountered: