rails s
解決したいこと
Ruby on Railsで作業をしようとしています。
序盤のrails s がファイルが見つからないとなり、実行できずにそこで止まっています。
解決方法などの助言を頂けたら幸いです。
発生している問題・エラー
Traceback (most recent call last):
28: from bin/rails:4:in `<main>'
27: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require'
26: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:257:in `load_dependency'
25: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `block in require'
24: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
23: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
22: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
21: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
20: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
19: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.4/lib/rails/commands.rb:18:in `<main>'
18: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.4/lib/rails/command.rb:46:in `invoke'
17: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.4/lib/rails/command/base.rb:69:in `perform'
16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
14: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
13: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:142:in `perform'
12: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:142:in `tap'
11: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:145:in `block in perform'
10: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require'
9: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:257:in `load_dependency'
8: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `block in require'
7: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
6: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
5: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
4: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
3: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
2: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/compile_cache/iseq.rb:47:in `load_iseq'
1: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch': No such file or directory - bs_fetch:open_current_file:open (Errno::ENOENT)
該当するソースコード
rails s
自分で試したこと
何度かrubyを入れなおしたりしてインストールされていないものがあるのか確認したのですが治りませんでした。検索したのですが解決方法を見つけることができず質問させていただくことにしました。よろしくお願いします。
0 likes