rails s エラー
Q&A
Closed
解決したいこと
プログラミング初心者です。
rails s でサーバーを立ち上げようとしたら以下のエラーが出ました。自分で調べたものの、対処法がわかりません。どなたかご教授いただけますと幸いです。
※Ruby 2.6.7
Ruby on rails 6.1.3.2
Windows 10
発生している問題・エラー
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch': No such file or directory - bs_fetch:open_current_file:open (Errno::ENOENT)
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/compile_cache/iseq.rb:55:in `load_iseq'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:332:in `block in require'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:299:in `load_dependency'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:332:in `require'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.3.2/lib/rails/commands/server/server_command.rb:138:in `block in perform'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.3.2/lib/rails/commands/server/server_command.rb:135:in `tap'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.3.2/lib/rails/commands/server/server_command.rb:135:in `perform'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.3.2/lib/rails/command/base.rb:69:in `perform'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.3.2/lib/rails/command.rb:50:in `invoke'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.1.3.2/lib/rails/commands.rb:18:in `<main>'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
from bin/rails:4:in `<main>'
自分で試したこと
rails s
0 likes