danielpclark / rutie

“The Tie Between Ruby and Rust.”
MIT License
939 stars 62 forks source link

Saves the log file of Windows command execution #168

Open golirev opened 1 year ago

golirev commented 1 year ago

I saved each message to a log file when executing commands for Windows. This makes it possible to identify errors. Various errors can occur depending on the environment, so I think we should keep a log.

In my environment, the following error occurred when executing lib.exe.


Visual Studio 2019 Developer Command Prompt v16.11.23 Copyright (c) 2021 Microsoft Corporation


Microsoft (R) Library Manager Version 14.29.30147.0 Copyright (C) Microsoft Corporation. All rights reserved.

exports.def : fatal error LNK1242: '.weak.Init_extra_exts.ruby_push_include' is an invalid export symbol name

Also, in the case of RubyInstaller 3.2.0-1, it had to be "ridk disable". In the "ridk enable" condition, msys2 GNU toolchain's lib will start.