Ruby 1.9.3-p0 Passenger“未找到符号:_ruby_current_thread”

发布于 2024-12-15 01:17:40 字数 917 浏览 4 评论 0原文

可能的重复:
Rails 3.1 和 Ruby 1.9.3p125:ruby-debug19 仍然崩溃并显示“未找到符号: _ruby_threadptr_data_type”

刚刚更新到 1.9.3-p0,更新了我所有的 gem 等等,但我的应用程序仍然无法启动。

乘客错误:

Error message:
dlopen(/Users/username/.rvm/gems/ruby-1.9.3-p0/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle,
9): Symbol not found: _ruby_current_thread Referenced from:
/Users/username/.rvm/gems/ruby-1.9.3-p0/gems/ruby-debug-base19-    0.11.25/lib/ruby_debug.bundle 
Expected in: flat namespace in /Users/username/.rvm/gems/ruby-1.9.3-p0/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle - /Users/username/.rvm/gems/ruby-1.9.3-p0/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle

Exception class: LoadError

有什么想法吗?

Possible Duplicate:
Rails 3.1 and Ruby 1.9.3p125: ruby-debug19 still crashes with “Symbol not found: _ruby_threadptr_data_type”

Just updated to 1.9.3-p0, updated all my gems and whatnot, but my application still cannot start.

Passenger error:

Error message:
dlopen(/Users/username/.rvm/gems/ruby-1.9.3-p0/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle,
9): Symbol not found: _ruby_current_thread Referenced from:
/Users/username/.rvm/gems/ruby-1.9.3-p0/gems/ruby-debug-base19-    0.11.25/lib/ruby_debug.bundle 
Expected in: flat namespace in /Users/username/.rvm/gems/ruby-1.9.3-p0/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle - /Users/username/.rvm/gems/ruby-1.9.3-p0/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle

Exception class: LoadError

Any ideas?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一页 2024-12-22 01:17:40

看起来像是 ruby​​-debug 的问题。在这里寻找可能的修复:
http://blog.wyeworks.com /2011/11/1/ruby-1-9-3-and-ruby-debug

Looks like a problem with ruby-debug. Look here for a possible fix:
http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug

笨笨の傻瓜 2024-12-22 01:17:40

无论如何,我建议不要在服务器上安装 dev gems(例如 ruby​​-debug)。

group :development do
  gem 'ruby-debug19', :require => 'ruby-debug'
end

然后在你的 capistrano 文件中,使用即可。

# bundler bootstrap
require 'bundler/capistrano'

这会跳过“开发”和“测试”组内的任何内容。

I'd suggest not installing dev gems (like ruby-debug) on your server anyway.

group :development do
  gem 'ruby-debug19', :require => 'ruby-debug'
end

Then in your capistrano file, just use.

# bundler bootstrap
require 'bundler/capistrano'

This skips anything inside the "development" and "test" groups.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文