2

Windows 10x64 で bundle install を実行しようとすると、次のエラーが発生し続けます。

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/debug_inspector-0.0.2/ext/debug_inspector
C:/Ruby23-x64/bin/ruby.exe -r ./siteconf20161109-14104-1y5ai00.rb extconf.rb
creating Makefile

current directory:
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/debug_inspector-0.0.2/ext/debug_inspector
make "DESTDIR=" clean

current directory:
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/debug_inspector-0.0.2/ext/debug_inspector
make "DESTDIR="

make failed, uncaught signal 11

Gem files will remain installed in
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/debug_inspector-0.0.2 for inspection.
Results logged to
C:/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/debug_inspector-0.0.2/gem_make.out

An error occurred while installing debug_inspector (0.0.2), and Bundler cannot
continue.
Make sure that `gem install debug_inspector -v '0.0.2'` succeeds before
bundling.

Ruby バージョン 2.3.1 を使用しています。適切なバージョンの Ruby DevKit と rails バージョン「4.2.6」をインストールしました

Gemfile で web-console をコメントアウトすると、新しいエラーが発生します。

 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/byebug-9.0.6/ext/byebug
C:/Ruby23-x64/bin/ruby.exe -r ./siteconf20161109-9448-8vnaze.rb extconf.rb
creating Makefile

current directory:
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/byebug-9.0.6/ext/byebug
make "DESTDIR=" clean

current directory:
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/byebug-9.0.6/ext/byebug
make "DESTDIR="

make failed, uncaught signal 11

Gem files will remain installed in
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/byebug-9.0.6 for inspection.
Results logged to
C:/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/byebug-9.0.6/gem_make.out

An error occurred while installing byebug (9.0.6), and Bundler cannot
continue.
Make sure that `gem install byebug -v '9.0.6'` succeeds before bundling.

「byebug」gem もコメントアウトした後、バンドルのインストールは正常に機能します。ruby と devkit を再インストールしましたが、何も解決しないようです。

インストール後に問題が発生し、動作しないことがわかった直後に、ruby 2.2.5 をアンインストールしてから 2.3.1 バージョンを再インストールしました。ruby 2.2.5 をアンインストールした後、対応する ruby​​ フォルダーも削除しました。

私のクラスメートはそれを機能させたので、これらのエラーに何時間も費やした後、これらのエラーが発生する理由と、おそらくそれらを解決する方法を知りたいですか?

4

0 に答える 0