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-linux
Writing lockfile to D:/railsfriends/friends/Gemfile.lock
run bundle binstubs bundler
Could 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 gems
rails importmap:install
Could 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 gems
Run bundle install
to install missing gems.
rails turbo:install stimulus:install
Could 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 gems
Run 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.
ARYANSH GUPTA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.