実現したいこと
以下のサイトを参考に、アプリケーションの作成をしています。
https://medium-company.com/ruby-on-rails-%E7%92%B0%E5%A2%83%E6%A7%8B%E7%AF%89/
環境構築が終わり、[rails new]で作成はできたのですが、[rails server]または[rails s]でサーバーを立ち上げようとすると、以下のようなエラーが出てしまいます。
PS C:\Users\beleth\desktop\fox_tweet> rails server C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.16.0/lib/bootsnap/compile_cache/iseq.rb:60:in `fetch': No such file or directory - bs_fetch:open_current_file:open (Errno::ENOENT) from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.16.0/lib/bootsnap/compile_cache/iseq.rb:60:in `fetch' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.16.0/lib/bootsnap/compile_cache/iseq.rb:85:in `load_iseq' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/railties-7.0.4.2/lib/rails/commands/server/server_command.rb:137:in `block in perform' from <internal:kernel>:90:in `tap' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/railties-7.0.4.2/lib/rails/commands/server/server_command.rb:134:in `perform' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/railties-7.0.4.2/lib/rails/command/base.rb:87:in `perform' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/railties-7.0.4.2/lib/rails/command.rb:48:in `invoke' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/railties-7.0.4.2/lib/rails/commands.rb:18:in `<main>' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require' from bin/rails:4:in `<main>'
[rails] [ No such file or directory - bs_fetch:open_current_file:open (Errno::ENOENT)]等で調べてみましたが、解決方法が全く出てきません。
解決方法をご存知の方がいらっしゃいましたら、教えていただきたいです。
補足情報(FW/ツールのバージョンなど)
OS:Windows11 HOME
Ruby:3.0.5p211 (2022-11-24 revision ba5cf0f7c5) [x64-mingw32]
Ruby on rails:7.0.4.2
Git:2.39.2.windows.1
回答1件
あなたの回答
tips
プレビュー