LoadError: 运行bundle exec rake db:create 时出现 dlopen

发布于 2025-01-20 03:36:40 字数 1730 浏览 4 评论 0原文

运行捆绑包后,当我运行 Bundle exec rake rake db:Migrate 时,它给了我以下错误

loaderror: dlopen(/users/animesh/workspace/project/project/vendor/bundle/ruby/ruby/2.6.0/gems/therubyracer-0.12.3/lib/v8/init.bundle, 0x0009):在平面名称空间中找不到符号 '__zn2v810scriptData10 precompileepkci' - /users/animesh/workspace/project/vendor/bundle/ruby/2.6.0/gems/therubyracer-0.12.3/lib/v8/init.bundle

os: macos ymacos Macos

y ruby​​ 12.1 ruby​​ ruby​​ ruby​​ ruby version: ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]

Therubyracer Path: /Users/animesh/Workspace/project/vendor/bundle/ruby /2.6.0/gems/therubyracer-0.12.3

v8:

稳定9.9.115.8(瓶装)Google的JavaScript引擎 https://github.com/v8/v8/v8/wiki /usr/usr/local/local/homebrew/homebrew/homebrew/homebrew/地窖/V8/9.9.115.8 (200个文件,44.5MB) *在2022-04-09从瓶子倒入10:38:00 从: https://github.com/github.com/homebrew/homebrew/homebrew-core/ blob/head/formula/v8.rb 许可证:BSD-3-CAREASE ==>依赖项构建:ninja✘, ==>需求构建:Xcode> = 10.0✘ ==>分析安装:2,098(30天),9,117(90天),42,731(365天)安装在重新安装:2,064(30天),8,940(90天),41,598 (365天)建筑物:6(30天)

After running bundle install successfully when I ran bundle exec rake db:migrate its gives me the error below

LoadError:
dlopen(/Users/animesh/Workspace/project/vendor/bundle/ruby/2.6.0/gems/therubyracer-0.12.3/lib/v8/init.bundle,
0x0009): symbol not found in flat namespace
'__ZN2v810ScriptData10PreCompileEPKci' -
/Users/animesh/Workspace/project/vendor/bundle/ruby/2.6.0/gems/therubyracer-0.12.3/lib/v8/init.bundle

OS: macOS Monetery 12.1

Ruby version: ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]

Therubyracer Path: /Users/animesh/Workspace/project/vendor/bundle/ruby/2.6.0/gems/therubyracer-0.12.3

v8:

stable 9.9.115.8 (bottled) Google's JavaScript engine
https://github.com/v8/v8/wiki /usr/local/homebrew/Cellar/v8/9.9.115.8
(200 files, 44.5MB) * Poured from bottle on 2022-04-09 at 10:38:00
From:
https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/v8.rb
License: BSD-3-Clause
==> Dependencies Build: ninja ✘, [email protected] ✘, llvm ✘
==> Requirements Build: Xcode >= 10.0 ✘
==> Analytics install: 2,098 (30 days), 9,117 (90 days), 42,731 (365 days) install-on-request: 2,064 (30 days), 8,940 (90 days), 41,598
(365 days) build-error: 6 (30 days)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文