ruby のインストールは成功したのですが、
railsのインストールで失敗します。
理由が分かりません。
CMDの出力を一通りコピペします。
すみませんが、どなたかご教授願います。
----------------------
C:\Users\ttana\ruby_lesson>ruby -v
ruby 2.6.6p146 (2020-03-31 revision 67876) [x64-mingw32]
C:\Users\ttana\ruby_lesson>gem install rails -v "5.2.3"
Fetching rack-test-1.1.0.gem
Fetching rack-2.2.3.gem
Fetching thread_safe-0.3.6.gem
Fetching i18n-1.8.3.gem
Fetching activesupport-5.2.3.gem
Fetching concurrent-ruby-1.1.6.gem
Fetching tzinfo-1.2.7.gem
Fetching mini_portile2-2.4.0.gem
Fetching nokogiri-1.10.9-x64-mingw32.gem
Fetching crass-1.0.6.gem
Fetching loofah-2.6.0.gem
Fetching rails-html-sanitizer-1.3.0.gem
Fetching rails-dom-testing-2.0.3.gem
Fetching builder-3.2.4.gem
Fetching erubi-1.9.0.gem
Fetching arel-9.0.0.gem
Fetching globalid-0.4.2.gem
Fetching mini_mime-1.0.2.gem
Fetching actionview-5.2.3.gem
Fetching actionpack-5.2.3.gem
Fetching activemodel-5.2.3.gem
Fetching mail-2.7.1.gem
Fetching activerecord-5.2.3.gem
Fetching activejob-5.2.3.gem
Fetching nio4r-2.5.2.gem
Fetching websocket-extensions-0.1.5.gem
Fetching websocket-driver-0.7.2.gem
Fetching mimemagic-0.3.5.gem
Fetching marcel-0.3.3.gem
Fetching actionmailer-5.2.3.gem
Fetching thor-1.0.1.gem
Fetching method_source-1.0.0.gem
Fetching actioncable-5.2.3.gem
Fetching sprockets-4.0.2.gem
Fetching sprockets-rails-3.2.1.gem
Fetching rails-5.2.3.gem
Fetching activestorage-5.2.3.gem
Fetching railties-5.2.3.gem
Successfully installed concurrent-ruby-1.1.6
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Successfully installed i18n-1.8.3
Successfully installed thread_safe-0.3.6
Successfully installed tzinfo-1.2.7
Successfully installed activesupport-5.2.3
Successfully installed rack-2.2.3
Successfully installed rack-test-1.1.0
Successfully installed mini_portile2-2.4.0
Nokogiri is built with the packaged libraries: libxml2-2.9.10, libxslt-1.1.34, zlib-1.2.11, libiconv-1.15.
Successfully installed nokogiri-1.10.9-x64-mingw32
Successfully installed crass-1.0.6
Successfully installed loofah-2.6.0
Successfully installed rails-html-sanitizer-1.3.0
Successfully installed rails-dom-testing-2.0.3
Successfully installed builder-3.2.4
Successfully installed erubi-1.9.0
Successfully installed actionview-5.2.3
Successfully installed actionpack-5.2.3
Successfully installed activemodel-5.2.3
Successfully installed arel-9.0.0
Successfully installed activerecord-5.2.3
Successfully installed globalid-0.4.2
Successfully installed activejob-5.2.3
Successfully installed mini_mime-1.0.2
Successfully installed mail-2.7.1
Successfully installed actionmailer-5.2.3
0 [main] locale (19296) shared_info::initialize: size of shared memory region changed from 51128 to 40888
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
0 [main] make (19172) shared_info::initialize: size of shared memory region changed from 51128 to 40888
0 [main] make (7548) shared_info::initialize: size of shared memory region changed from 51128 to 40888
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
current directory: C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/nio4r-2.5.2/ext/nio4r
C:/Ruby26-x64/bin/ruby.exe -I C:/Ruby26-x64/lib/ruby/2.6.0 -r ./siteconf20200618-13192-sryno5.rb extconf.rb
current directory: C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/nio4r-2.5.2/ext/nio4r
make "DESTDIR=" clean
0 [main] make (19172) shared_info::initialize: size of shared memory region changed from 51128 to 40888
current directory: C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/nio4r-2.5.2/ext/nio4r
make "DESTDIR="
0 [main] make (7548) shared_info::initialize: size of shared memory region changed from 51128 to 40888
make failed, uncaught signal 11
Gem files will remain installed in C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/nio4r-2.5.2 for inspection.
Results logged to C:/Ruby26-x64/lib/ruby/gems/2.6.0/extensions/x64-mingw32/2.6.0/nio4r-2.5.2/gem_make.out
-------------------------
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。