[英]Rails newbie need help: got an error running "rails generate devise:install"
Here is the error message:这是错误消息:
vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.9/lib/bootsnap/load_path_cache/core_ext/
kernel_require.rb:23:in `require': cannot load such file -- e2mmap (LoadError)
All I did before this step was在这一步之前我所做的就是
gem 'devise'
and和
bundle install
Cannot find any related solution online.在网上找不到任何相关的解决方案。 Please give me some advice!
请给我一些建议!
A couple of things to try:有几件事可以尝试:
Update bootsnap更新引导快照
bundle update bootsnap
Clear the bootsnap cache清除引导缓存
go to the project home, then cd into tmp/cache
delete bootsnap-load-path-cache and bootsnap-compile-cache
Suggestions taken from this thread on the bootsnap repo: https://github.com/Shopify/bootsnap/issues/73从 bootsnap repo 上的这个线程中获取的建议: https : //github.com/Shopify/bootsnap/issues/73
Try stopping the spring and then trying again尝试停止弹簧,然后再试一次
Use this in the terminal.在终端中使用它。
spring stop
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.