Ruby 1.9.3-p0 Passenger“未找到符号:_ruby_current_thread”
可能的重复:
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看起来像是 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
无论如何,我建议不要在服务器上安装 dev gems(例如 ruby-debug)。
然后在你的 capistrano 文件中,使用即可。
这会跳过“开发”和“测试”组内的任何内容。
I'd suggest not installing dev gems (like
ruby-debug
) on your server anyway.Then in your capistrano file, just use.
This skips anything inside the "development" and "test" groups.