在创建rails项目的时候报如下错误。
An error occurred while installing psych (5.2.3), and Bundler cannot
continue.
In Gemfile:
debug was resolved to 1.10.0, which depends on
irb was resolved to 1.15.2, which depends on
rdoc was resolved to 6.13.1, which depends on
psych
要么是没有装psych包,要么是当前版本不匹配。尝试修改GemFile文件里psych版本。
gem "psych","~> 4"
再执行bunlder,成功创建!

917

被折叠的 条评论
为什么被折叠?



