Possible Duplicate:
Rails 3.1 and Ruby 1.9.3p125: ruby-debug19 still crashes with “Symbol not found: _ruby_threadptr_data_type”rubí debug19 de rubí-1.9.3-preview1
estoy teniendo algunos problemas para conseguir la depuración de trabajo sobre la liberación preview1 rubí 1.9.3.
He instalado el 1.9.3 usando RVM con el siguiente comando:
rvm install 1.9.3 --reconfigure --debug -C --enable-pthread
e instalado rubí debug19 con esto:
gem install ruby-debug19 -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-preview1
La gema de depuración se instala bien, pero cuando voy para abrir una consola con la depuración o intente algo con un indicador de depuración rails c --debug
o rspec spec --debug
. Me sale el siguiente error:
/Users/mario/.rvm/gems/[email protected]/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `require': dlopen(/Users/mario/.rvm/gems/[email protected]/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle, 9): Symbol not found: _ruby_current_thread (LoadError)
Referenced from: /Users/mario/.rvm/gems/[email protected]/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle
Expected in: flat namespace
in /Users/mario/.rvm/gems/[email protected]/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle - /Users/mario/.rvm/gems/[email protected]/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle
from /Users/mario/.rvm/gems/[email protected]/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require'
from /Users/mario/.rvm/gems/[email protected]/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /Users/mario/.rvm/gems/[email protected]/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:596:in `new_constants_in'
from /Users/mario/.rvm/gems/[email protected]/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225:in `load_dependency'
from /Users/mario/.rvm/gems/ruby-[email protected]/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `require'
from /Users/mario/.rvm/gems/[email protected]/gems/ruby-debug-base19-0.11.25/lib/ruby-debug-base.rb:1:in `<top (required)>'
from /Users/mario/.rvm/gems/[email protected]/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `require'
from /Users/mario/.rvm/gems/[email protected]/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require'
from /Users/mario/.rvm/gems/[email protected]/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /Users/mario/.rvm/gems/[email protected]/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:596:in `new_constants_in'
from /Users/mario/.rvm/gems/[email protected]/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225:in `load_dependency'
from /Users/mario/.rvm/gems/[email protected]/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `require'
from /Users/mario/.rvm/gems/[email protected]/gems/ruby-debug19-0.11.6/cli/ruby-debug.rb:5:in `<top (required)>'
from /Users/mario/.rvm/gems/[email protected]/gems/bundler-1.0.17/lib/bundler/runtime.rb:68:in `require'
from /Users/mario/.rvm/gems/[email protected]/gems/bundler-1.0.17/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
from /Users/mario/.rvm/gems/[email protected]/gems/bundler-1.0.17/lib/bundler/runtime.rb:66:in `each'
from /Users/mario/.rvm/gems/[email protected]/gems/bundler-1.0.17/lib/bundler/runtime.rb:66:in `block in require'
from /Users/mario/.rvm/gems/[email protected]/gems/bundler-1.0.17/lib/bundler/runtime.rb:55:in `each'
from /Users/mario/.rvm/gems/[email protected]/gems/bundler-1.0.17/lib/bundler/runtime.rb:55:in `require'
from /Users/mario/.rvm/gems/[email protected]/gems/bundler-1.0.17/lib/bundler.rb:120:in `require'
from /Users/mario/Work/project/config/application.rb:7:in `<top (required)>'
from /Users/mario/.rvm/gems/[email protected]/gems/railties-3.0.9/lib/rails/commands.rb:21:in `require'
from /Users/mario/.rvm/gems/[email protected]/gems/railties-3.0.9/lib/rails/commands.rb:21:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Estás caminando en el borde de la sangría, entre León y 1.9.3-vista previa. Es posible que desee ponerse en contacto con el autor/partidarios de ruby-debug directamente. –
Sí me doy cuenta, que pensé en hacer la pregunta para ver si alguien tenía una solución ya o si hay algo que he echado de menos. Registraré un ticket si a nadie se le ocurre algo. –
ver http://stackoverflow.com/questions/6438116/rails-with-ruby-debugger-throw-symbol-not-found-ruby-current-thread-loaderror/7096617#7096617 –