bundle install をすると以下のエラーが発生してしまいます。
C:\Users\名前\rails\asagao>bundle install Fetching gem metadata from https://rubygems.org/............. Fetching gem metadata from https://rubygems.org/. Resolving dependencies...NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/sass-3.7.4.gemspec:21. .NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/sprockets-3.7.2.gemspec:19. NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/i18n-0.9.5.gemspec:17. NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Fetching gem metadata from https://rubygems.org/............. Fetching gem metadata from https://rubygems.org/. Resolving dependencies...NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/sass-3.7.4.gemspec:21. .NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/sprockets-3.7.2.gemspec:19. NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/i18n-0.9.5.gemspec:17. NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/rack-test-0.6.3.gemspec:17. . NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/archive-zip-0.12.0.gemspec:16. NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/coderay-1.1.2.gemspec:21. NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/coffee-rails-4.2.2.gemspec:16. NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/coffee-script-source-1.12.2.gemspec:16. NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/erubis-2.7.0.gemspec:17. NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/formatador-0.2.5.gemspec:18. NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/minitest-reporters-1.1.14.gemspec:17. Using rake 13.0.1 Using concurrent-ruby 1.1.6 Using i18n 1.8.2 中略 Using jbuilder 2.10.0 Using method_source 1.0.0 Fetching puma 3.11.0 Installing puma 3.11.0 with native extensions 警告: mingw-w64-x86_64-openssl-1.1.1.f-1 は最新です -- スキップ Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/puma-3.11.0/ext/puma_http11 C:/Ruby24-x64/bin/ruby.exe -I C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0 -r ./siteconf20200520-7592-1jllvnv.rb extconf.rb checking for BIO_read() in -lcrypto... no checking for BIO_read() in -llibeay32... no creating Makefile current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/puma-3.11.0/ext/puma_http11 make "DESTDIR=" clean current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/puma-3.11.0/ext/puma_http11 make "DESTDIR=" generating puma_http11-x64-mingw32.def compiling http11_parser.c Cannot create temporary file in C:\Users????\AppData\Local\Temp\: Invalid argument make: *** [Makefile:242: http11_parser.o] エラー 3 make failed, exit code 2 Gem files will remain installed in C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/puma-3.11.0 for inspection. Results logged to C:/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/puma-3.11.0/gem_make.out An error occurred while installing puma (3.11.0), and Bundler cannot continue. Make sure that `gem install puma -v '3.11.0' --source 'https://rubygems.org/'` succeeds before bundling. In Gemfile: puma
名前の部分はひらがなです
bundle installをする前に
gem install puma を行うと下記の内容が返されます
C:\Users\名前\rails\asagao>gem install puma -v '3.11' NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/archive-zip-0.12.0.gemspec:16. NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. 中略 NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01. Gem::Specification#rubyforge_project= called from C:/Ruby24-x64/lib/ruby/gems/2.4.0/specifications/sprockets-3.7.2.gemspec:19. Temporarily enhancing PATH for MSYS/MINGW... Installing required msys2 packages: mingw-w64-x86_64-openssl 警告: mingw-w64-x86_64-openssl-1.1.1.f-1 は最新です -- スキップ Building native extensions. This could take a while... ERROR: Error installing puma: ERROR: Failed to build gem native extension. current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/puma-3.11.0/ext/puma_http11 C:/Ruby24-x64/bin/ruby.exe -I C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0 -r ./siteconf20200520-19360-1rw6yn6.rb extconf.rb checking for BIO_read() in -lcrypto... no checking for BIO_read() in -llibeay32... no creating Makefile current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/puma-3.11.0/ext/puma_http11 make "DESTDIR=" clean current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/puma-3.11.0/ext/puma_http11 make "DESTDIR=" generating puma_http11-x64-mingw32.def compiling http11_parser.c Cannot create temporary file in C:\Users????\AppData\Local\Temp\: Invalid argument make: *** [Makefile:242: http11_parser.o] エラー 3 make failed, exit code 2 Gem files will remain installed in C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/puma-3.11.0 for inspection. Results logged to C:/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/puma-3.11.0/gem_make.out
この文の意味がよくわからないので、どう解決すればよいかわかりません
誰か教えて頂けると幸いです
>C:\Users\名前\rails
>名前の部分はひらがなです
まずアドバイスですが、パスに全角文字を含めるのは止めたほうが
良いです。
予期せぬトラブルの元になりますので。
回答1件
あなたの回答
tips
プレビュー