debugging - Unable to run debugger for jruby -


i've tried follow various online references jruby debugger not working.

i've tried following: first change root (does not work normal user) then:

jruby -s gem install ruby-debug-base   jruby -s gem install ruby-debug-base 

but following command fails:

jruby --debug -s rdebug ./classifier-wf.rb   gem::loaderror: not find columnize (>= 0.1) amongst [jdbc-mysql-5.1.24, rake-10.0.3, ruby-debug-0.10.4, ruby-debug-base-0.10.4-java]            to_specs @ /opt/jruby-1.7.3/lib/ruby/shared/rubygems/dependency.rb:247 activate_dependencies @ /opt/jruby-1.7.3/lib/ruby/shared/rubygems/specification.rb:777                each @ org/jruby/rubyarray.java:1613 activate_dependencies @ /opt/jruby-1.7.3/lib/ruby/shared/rubygems/specification.rb:766            activate @ /opt/jruby-1.7.3/lib/ruby/shared/rubygems/specification.rb:750                 gem @ /opt/jruby-1.7.3/lib/ruby/shared/rubygems.rb:1232              (root) @ /opt/jruby-1.7.3/bin/rdebug:22 

i running jruby 1.7.3. thanks.

use pry instead of other debugger gems, you'll addicted it.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -