gem which narou をためすと、
ERROR: Can't find Ruby library file or shared library narou
と出ます。
以下、gem install narou
をした時のエラー表示
_______
c:\>gem install narou
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR: Error installing narou:
ERROR: Failed to build gem native extension.
current directory: C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/sassc-2.4.0/ext
C:/Ruby32-x64/bin/ruby.exe extconf.rb
creating Makefile
current directory: C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/sassc-2.4.0/ext
make DESTDIR\= sitearchdir\=./.gem.20240406-8836-13mkuh sitelibdir\=./.gem.20240406-8836-13mkuh clean
current directory: C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/sassc-2.4.0/ext
make DESTDIR\= sitearchdir\=./.gem.20240406-8836-13mkuh sitelibdir\=./.gem.20240406-8836-13mkuh
compiling ./libsass/src/ast.cpp
make: g++: コマンドが見つかりませんでした
make: *** [Makefile:240: ast.o] エラー 127
make failed, exit code 2
Gem files will remain installed in C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/sassc-2.4.0 for inspection.
Results logged to C:/Ruby32-x64/lib/ruby/gems/3.2.0/extensions/x64-mingw-ucrt/3.2.0/sassc-2.4.0/gem_make.out