These are chat archives for opal/opal
Ok, I was finally able to install the Opal gem on Windows using the RubyInstaller2 / MSYS2 / MinGW stack, which again will be the standard going forward (Ruby 2.4 and higher). Turns out that the
bin symlink to the
exe/ dir cannot be written unless the command prompt is "Run as administrator" (Window's equivalent to
sudo, sort of). It's probably not a reasonable expectation for gem installation to require such elevated privileges, so maybe there's a better solution here.
@elia Could you share the reason the symlink was originally added here: https://github.com/opal/opal/commit/66849b5da5c54236eea5a0e5eaf95ba06a744fe3#diff-98e83379d45538379c2ac4e47c3be81d
Doing a quick Google search for
windows rb_file_s_symlink turns up a bunch of GitHub issues where people have been removing symlinks from their gems to avoid the same error.
exec "exe/opal"preceded to something like
warn "Please use the new path exe/opal etc"