プログラミング初学者です。
Railsアプリケーションを制作しておりましたが、rails s
実行時に下記のようなエラーが出ており先に進めない状況です。
また、rails new
実行時も同様にしてエラーが出ております。
解決方法がお分かりでしたらお力添えいただければと思います。
追加で必要な情報等ありましたらご指示をお願い致します。
発生している問題・エラーメッセージ
rails_s実行時
$ rails s C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/compile_cache/iseq.rb:60:in `fetch': The operation completed successfully. - bs_fetch:open_current_file:open (Errno::E-01) from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/compile_cache/iseq.rb:60:in `fetch' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/compile_cache/iseq.rb:85:in `load_iseq' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/dependencies.rb:332:in `block in require' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/dependencies.rb:299:in `load_dependency' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7/lib/active_support/dependencies.rb:332:in `require' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-6.1.7/lib/rails/commands/server/server_command.rb:138:in `block in perform' from <internal:kernel>:90:in `tap' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-6.1.7/lib/rails/commands/server/server_command.rb:135:in `perform' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-6.1.7/lib/rails/command/base.rb:69:in `perform' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-6.1.7/lib/rails/command.rb:48:in `invoke' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-6.1.7/lib/rails/commands.rb:18:in `<main>' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require' from bin/rails:5:in `<main>'
rails_new_testapp実行時
$ rails new testapp create create README.md create Rakefile create .ruby-version create config.ru create .gitignore create .gitattributes create Gemfile run git init from "." Initialized empty Git repository in C:/*****/************ create app ︙ ︙ create tmp/storage/.keep remove config/initializers/cors.rb remove config/initializers/new_framework_defaults_7_0.rb run bundle install Fetching gem metadata from https://rubygems.org/........... Resolving dependencies...... Using rake 13.0.6 ︙ ︙ Using web-console 4.2.0 Using rails 7.0.4 Bundle complete! 15 Gemfile dependencies, 73 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. run bundle binstubs bundler rails importmap:install rails aborted! Errno::E-01: The operation completed successfully. - bs_fetch:open_current_file:open bin/rails:4:in `<main>' (See full trace by running task with --trace) rails turbo:install stimulus:install rails aborted! Errno::E-01: The operation completed successfully. - bs_fetch:open_current_file:open bin/rails:4:in `<main>' (See full trace by running task with --trace)
試したこと
下記サイトなど参考にしておりますが、解決に至っていません。
https://qiita.com/TEEEEEEEE/questions/d91eb1935ecda8cd103d
環境
OS:Windows 11 64bit
Ruby:3.1.2
Rails:7.0.4 (上記 rails s
実行のアプリはGemfileに gem 'rails', '~> 6.1.7'
あり)
0 コメント