前提・実現したいこと
前提
Ruby on Rails6にてアプリを作成しました
AWS 本番環境の構築中
実現したいこと
rails sで出てくるnokogiriのエラーを解決したい
発生している問題・エラーメッセージ
ターミナル *********@**********noMacBook-Pro Dr_nishi % rails s Ignoring nokogiri-1.10.9 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.9 Ignoring nokogiri-1.10.7 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.7 Ignoring nokogiri-1.10.9 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.9 Ignoring nokogiri-1.10.7 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.7
該当するソースコード
ターミナル rails t /Users/.rbenv/versions/2.5.1/lib/ruby/2.5.0/drb/drb.rb:1006:in `wait_readable': Bad file descriptor (Errno::EBADF) /Users/.rbenv/versions/2.5.1/lib/ruby/2.5.0/drb/drb.rb:1006:in `wait_readable': Bad file descriptor (Errno::EBADF) /Users/.rbenv/versions/2.5.1/lib/ruby/2.5.0/drb/drb.rb:1006:in `wait_readable': Bad file descriptor (Errno::EBADF) /Users/.rbenv/versions/2.5.1/lib/ruby/2.5.0/drb/drb.rb:1006:in `wait_readable': Bad file descriptor (Errno::EBADF) /Users/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-6.0.3.4/lib/active_support/testing/parallelization.rb:124:in `shutdown': Queue not empty, but all workers have finished. This probably means that a worker crashed and 5 tests were missed. (RuntimeError)
試したこと(仮説)
nokogiriについて調べ下記のリンクを参照に実行しましたが変化はありませんでした。
リンク内容
リンク内容
補足
ターミナルではrails s、bundle install 共に通ります。
初心者で言葉足らずで申し訳ありませんがご教示頂けたらと思い質問させて頂きました。
宜しくお願い致します。
###補足2
ターミナル $ bundle install **********@*************MacBook-Pro Dr_nishi % bundle install The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. Using rake 13.0.1 Using concurrent-ruby 1.1.7 Using i18n 1.8.5 Using minitest 5.14.2 Using thread_safe 0.3.6 Using tzinfo 1.2.8 Using zeitwerk 2.4.1 Using activesupport 6.0.3.4 Using builder 3.2.4 Using erubi 1.9.0 Using mini_portile2 2.4.0 Using nokogiri 1.10.10 Using rails-dom-testing 2.0.3 Using crass 1.0.6 Using loofah 2.7.0 Using rails-html-sanitizer 1.3.0 Using actionview 6.0.3.4 Using rack 2.2.3 Using rack-test 1.1.0 Using actionpack 6.0.3.4 Using nio4r 2.5.4 Using websocket-extensions 0.1.5 Using websocket-driver 0.7.3 Using actioncable 6.0.3.4 Using globalid 0.4.2 Using activejob 6.0.3.4 Using activemodel 6.0.3.4 Using activerecord 6.0.3.4 Using mimemagic 0.3.5 Using marcel 0.3.3 Using activestorage 6.0.3.4 Using mini_mime 1.0.2 Using mail 2.7.1 Using actionmailbox 6.0.3.4 Using actionmailer 6.0.3.4 Using actiontext 6.0.3.4 Using public_suffix 4.0.6 Using addressable 2.7.0 Using bcrypt 3.1.16 Using bindex 0.8.1 Using msgpack 1.3.3 Using bootsnap 1.5.0 Using thor 1.0.1 Using bourbon 7.0.0 Using bundler 2.1.4 Using byebug 11.1.3 Using regexp_parser 1.8.2 Using xpath 3.2.0 Using capybara 3.33.0 Using childprocess 3.0.0 Using orm_adapter 0.5.0 Using method_source 1.0.0 Using railties 6.0.3.4 Using responders 3.0.1 Using warden 1.2.9 Using devise 4.7.3 Using erubis 2.7.0 Using ffi 1.13.1 Using sassc 2.4.0 Using font-awesome-sass 5.15.1 Using temple 0.8.2 Using tilt 2.0.10 Using haml 5.2.0 Using sexp_processor 4.15.1 Using ruby_parser 3.15.0 Using html2haml 2.2.0 Using haml-rails 2.0.1 Using mini_magick 4.11.0 Using ruby-vips 2.0.17 Using image_processing 1.12.1 Using jbuilder 2.10.1 Using jquery-rails 4.4.0 Using rb-fsevent 0.10.4 Using rb-inotify 0.10.1 Using listen 3.2.1 Using mysql2 0.4.10 Using puma 4.3.6 Using rack-proxy 0.6.5 Using sprockets 4.0.2 Using sprockets-rails 3.2.2 Using rails 6.0.3.4 Using rubyzip 2.3.0 Using sassc-rails 2.1.2 Using sass-rails 6.0.0 Using selenium-webdriver 3.142.7 Using spring 2.1.1 Using spring-watcher-listen 2.0.1 Using turbolinks-source 5.2.0 Using turbolinks 5.2.1 Using web-console 4.1.0 Using webdrivers 4.4.1 Using webpacker 4.3.0 Bundle complete! 25 Gemfile dependencies, 92 gems now installed. Gems in the group production were not installed.
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/11/23 06:17
2020/11/23 06:28
2020/11/23 06:38