Ruby 3.2 升级,therubyracer gem 无法打包。

huangapple go评论127阅读模式
英文:

Ruby 3.2 Upgrade, therubyracer gem cant bundle

问题

我正在升级我的应用程序中的Ruby版本到3.2,但是我遇到了一个问题,therubyracer无法进行捆绑。

这个 gem 是否与 Ruby 3.2 兼容?

日志中没有太多信息:

  1. #35 229.4 /usr/local/bundle/gems/bundler-2.4.9/lib/bundler/worker.rb:54:in
  2. #35 229.4 `process_queue'
  3. #35 229.4 /usr/local/bundle/gems/bundler-2.4.9/lib/bundler/worker.rb:90:in `block (2
  4. #35 229.4 levels) in create_threads'
  5. #35 229.4
  6. #35 229.4 在安装 therubyracer (0.12.3) 时发生了错误,Bundler 无法继续。
  7. #35 229.4
  8. #35 229.4 在 Gemfile 中:
  9. #35 229.4 therubyracer
英文:

I'm currently upgrading the Ruby version in my application to 3.2 and I'm having an issue with therubyracer not being able to bundle.

Is this gem compatible with ruby 3.2?

Theres not much to go off in the logs:

  1. #35 229.4 /usr/local/bundle/gems/bundler-2.4.9/lib/bundler/worker.rb:54:in
  2. #35 229.4 `process_queue'
  3. #35 229.4 /usr/local/bundle/gems/bundler-2.4.9/lib/bundler/worker.rb:90:in `block (2
  4. #35 229.4 levels) in create_threads'
  5. #35 229.4
  6. #35 229.4 An error occurred while installing therubyracer (0.12.3), and Bundler cannot
  7. #35 229.4 continue.
  8. #35 229.4
  9. #35 229.4 In Gemfile:
  10. #35 229.4 therubyracer
  11. </details>
  12. # 答案1
  13. **得分**: 1
  14. gem [therubyracer][1]不再维护([请参见相关问题][2])。
  15. [mini_racer][3]可能包含您所需的功能。
  16. [1]: https://github.com/rubyjs/therubyracer
  17. [2]: https://github.com/rubyjs/therubyracer/issues/462
  18. [3]: https://github.com/rubyjs/mini_racer
  19. <details>
  20. <summary>英文:</summary>
  21. The gem [therubyracer][1] is no longer being maintained ([see related issue][2]).
  22. [mini_racer][3] might contain the functionality you need
  23. [1]: https://github.com/rubyjs/therubyracer
  24. [2]: https://github.com/rubyjs/therubyracer/issues/462
  25. [3]: https://github.com/rubyjs/mini_racer
  26. </details>

huangapple
  • 本文由 发表于 2023年8月8日 23:16:07
  • 转载请务必保留本文链接:https://go.coder-hub.com/76860938.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定