An error occurred while installing psych (5.1.2), and Bundler cannot continue.
In Gemfile: debug was resolved to 1.9.2, which depends on irb was resolved to 1.13.1, which depends on rdoc was resolved to 6.6.3.1, which depends on psych run bundle lock --add-platform=x86_64-linuxWriting lockfile to D:/railsfriends/friends/Gemfile.lock run bundle binstubs bundlerCould not find importmap-rails-2.0.1, turbo-rails-2.0.5, stimulus-rails-1.3.3,debug-1.9.2, web-console-4.2.1, irb-1.13.1, rdoc-6.6.3.1, psych-5.1.2 in locallyinstalled gems rails importmap:installCould not find importmap-rails-2.0.1, turbo-rails-2.0.5, stimulus-rails-1.3.3, debug-1.9.2, web-console-4.2.1, irb-1.13.1, rdoc-6.6.3.1, psych-5.1.2 in locally installed gemsRun `bundle install` to install missing gems. rails turbo:install stimulus:installCould not find importmap-rails-2.0.1, turbo-rails-2.0.5, stimulus-rails-1.3.3, debug-1.9.2, web-console-4.2.1, irb-1.13.1, rdoc-6.6.3.1, psych-5.1.2 in locally installed gemsRun `bundle install` to install missing gems.
This exactly is the error message.I tried all the stuffs but still doesn't work for me.
- Ruby version- 3.1.2p20
- Rails version- 7.1.3.2
I tried all the solutions suggested in the article but couldn't resolve the installation error. This error is coming while running the command rails new 'file_name'
. It is depending on the pysch which i want to install.