Ruby 1.9.3-p0 Passenger "Character not found: _ruby_current_thread"

Possible duplicate:
Rails 3.1 and Ruby 1.9.3p125: ruby-debug19 still crashes with "Symbol not found: _ruby_threadptr_data_type"

Just upgraded to 1.9.3-p0, updated all my gems and more, but my application still does not 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?

+4
source share
2 answers

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

+4
source

I would suggest not installing dev gems (e.g. ruby-debug ) on your server.

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

Then in your capistrano file just use.

 # bundler bootstrap require 'bundler/capistrano' 

This misses something inside the development and testing teams.

0
source

Source: https://habr.com/ru/post/1380683/


All Articles