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

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

Ruby 3.2 Upgrade, therubyracer gem cant bundle

问题

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

这个 gem 是否与 Ruby 3.2 兼容?

日志中没有太多信息:

#35 229.4 /usr/local/bundle/gems/bundler-2.4.9/lib/bundler/worker.rb:54:in
#35 229.4 `process_queue'
#35 229.4 /usr/local/bundle/gems/bundler-2.4.9/lib/bundler/worker.rb:90:in `block (2
#35 229.4 levels) in create_threads'
#35 229.4
#35 229.4 在安装 therubyracer (0.12.3) 时发生了错误,Bundler 无法继续。
#35 229.4
#35 229.4 在 Gemfile 中:
#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:

#35 229.4 /usr/local/bundle/gems/bundler-2.4.9/lib/bundler/worker.rb:54:in
#35 229.4 `process_queue'
#35 229.4 /usr/local/bundle/gems/bundler-2.4.9/lib/bundler/worker.rb:90:in `block (2
#35 229.4 levels) in create_threads'
#35 229.4
#35 229.4 An error occurred while installing therubyracer (0.12.3), and Bundler cannot
#35 229.4 continue.
#35 229.4
#35 229.4 In Gemfile:
#35 229.4   therubyracer

</details>


# 答案1
**得分**: 1

gem [therubyracer][1]不再维护([请参见相关问题][2])。

[mini_racer][3]可能包含您所需的功能。

  [1]: https://github.com/rubyjs/therubyracer
  [2]: https://github.com/rubyjs/therubyracer/issues/462
  [3]: https://github.com/rubyjs/mini_racer

<details>
<summary>英文:</summary>

The gem [therubyracer][1] is no longer being maintained ([see related issue][2]).

[mini_racer][3] might contain the functionality you need


  [1]: https://github.com/rubyjs/therubyracer
  [2]: https://github.com/rubyjs/therubyracer/issues/462
  [3]: https://github.com/rubyjs/mini_racer

</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:

确定