前提・実現したいこと
ドットインストールRuby on Rails #02 動作確認をしてみようにて
動画通り"ip a"にてIPアドレスを調べるところまで一応できたのですが、
"$ rails server -b 192.168.33.10 -d" からエラーが解決できません。
このエラー前はsqlite3のバージョンについてのエラーメッセージでしたが色々試行錯誤した結果変化しこのようになりました。
そこからもう様々な手順で試しすぎて解決策が思い浮かびません。
発生している問題・エラーメッセージ(とても長いです 一部省略)
[vagrant@localhost myapp]$ rails server -b 192.168.33.10 -d Traceback (most recent call last): 83: from bin/rails:3:in `<main>' 82: from bin/rails:3:in `load' 81: from /home/vagrant/rails_lessons/myapp/bin/spring:15:in `<top (required)>' 80: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' 略 71: from /home/vagrant/rails_lessons/myapp/bin/rails:9:in `<top (required)>' 70: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require' 69: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency' 68: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require' 略 49: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 48: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 47: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 46: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 45: from /home/vagrant/rails_lessons/myapp/config/application.rb:7:in `<main>' 44: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler.rb:174:in `require' 43: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in `require' 42: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in `each' 略 25: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 24: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails.rb:5:in `<main>' 23: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require' 22: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency' 21: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require' 20: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 19: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 18: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 17: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 16: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 15: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc.rb:31:in `<main>' 14: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative' 13: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require' 12: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency' 11: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require' 10: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' 9: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' 8: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 7: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' 6: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' 5: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native.rb:5:in `<main>' 4: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native.rb:6:in `<module:SassC>' 3: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native.rb:10:in `<module:Native>' 2: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/ffi-1.13.1/lib/ffi/library.rb:99:in `ffi_lib' 1: from /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/ffi-1.13.1/lib/ffi/library.rb:99:in `map' /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/ffi-1.13.1/lib/ffi/library.rb:145:in `block in ffi_lib': Could not open library '/home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/libsass.so': /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/libsass.so) (LoadError)
試したこと
*同じようなエラーが出ていた方の投稿を参考にしたものの同じようにいかず。
*固定インストールのとのことでrails 5.1.3 new specific_versionとしたもののversionを調べると変わらず。。
*Gemfileでは
gem 'sqlite3', '> 1.3.6'> 5.1.3'
gem 'rails', '
とあっています。
*Cyberduck内のMyCentOSを再度作成、ドットインストールでのCyberduckの使い方の復習。
*もしかするとsasscがDLできないためこれがなにかしら問題かもしれないです。
Version
Ruby 2.6.5
SQLite3 3.6.20
rails 6.0.3.2
Bundler version 2.1.4
gem list railsの結果
coffee-rails (4.2.2)
rails (6.0.3.2, 5.1.7, 5.1.3)
rails-dom-testing (2.0.3)
rails-html-sanitizer (1.3.0)
sass-rails (6.0.0, 5.0.7)
sassc-rails (2.1.2)
sprockets-rails (3.2.1)
まだ初心者で考え方が曖昧なため説明も足りないかもしれないですが、よろしくお願いします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/09/08 00:59