I am trying to create a rails app using: rails new app_nameI am getting the error pasted below. I looked around but haven't been able to find a solution.I am on linux if that matters. Going to install ruby on windows and try there for now.
Fetching gem metadata from https://rubygems.org/...........Resolving dependencies...Bundle complete! 14 Gemfile dependencies, 81 gems now installed.Use `bundle info [gemname]` to see where a bundled gem is installed. run bundle lock --add-platform=x86_64-linuxWriting lockfile to /home/isaac/git/frameworks/ruby/rails_blog/test_app/Gemfile.lock run bundle binstubs bundler rails importmap:install/usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require': cannot load such file -- json (LoadError) from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require' from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap/compile_cache/json.rb:49:in `init!' from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap/compile_cache/json.rb:42:in `install!' from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap/compile_cache.rb:34:in `setup' from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap.rb:68:in `setup' from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap.rb:112:in `default_setup' from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap/setup.rb:5:in `<top (required)>' from /home/isaac/git/frameworks/ruby/rails_blog/test_app/config/boot.rb:4:in `require' from /home/isaac/git/frameworks/ruby/rails_blog/test_app/config/boot.rb:4:in `<top (required)>' from bin/rails:3:in `require_relative' from bin/rails:3:in `<main>' rails turbo:install stimulus:install/usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require': cannot load such file -- json (LoadError) from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require' from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap/compile_cache/json.rb:49:in `init!' from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap/compile_cache/json.rb:42:in `install!' from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap/compile_cache.rb:34:in `setup' from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap.rb:68:in `setup' from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap.rb:112:in `default_setup' from /usr/lib/ruby/gems/3.0.0/gems/bootsnap-1.18.3/lib/bootsnap/setup.rb:5:in `<top (required)>' from /home/isaac/git/frameworks/ruby/rails_blog/test_app/config/boot.rb:4:in `require' from /home/isaac/git/frameworks/ruby/rails_blog/test_app/config/boot.rb:4:in `<top (required)>' from bin/rails:3:in `require_relative' from bin/rails:3:in `<main>'