2012-03-14 8 views
7

मैं NetBeans आईडीई पर सक्रिय डिबग, जब मैं निष्पादित करने के लिए आदेश में माणिक डिबग-base19 स्थापित करने की आवश्यकता:रूबी में विंडोज पर माणिक डिबग-base19 स्थापित कर रहा है 1.9.3

$ gem install ruby-debug-base19 

मैं निम्नलिखित त्रुटि मिली । लॉग से निकाले उत्पन्न

C:/Ruby193/bin/ruby.exe extconf.rb 
checking for rb_method_entry_t.body in method.h... no 
checking for vm_core.h... no 
C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config. 
checking for rb_method_entry_t.body in method.h... no 
checking for vm_core.h... yes 
checking for iseq.h... yes 
checking for insns.inc... yes 
checking for insns_info.inc... yes 
checking for eval_intern.h... yes 
creating Makefile 

make 
generating ruby_debug-i386-mingw32.def 
compiling breakpoint.c 
compiling ruby_debug.c 
ruby_debug.c:24:19: error: conflicting types for 'rb_iseq_compile_with_option' 
C:/Ruby193/include/ruby-1.9.1/ruby-1.9.3-p125/vm_core.h:505:7: note: previous declaration of 'rb_iseq_compile_with_option' was here 
ruby_debug.c: In function 'context_jump': 
ruby_debug.c:2378:53: warning: comparison between signed and unsigned integer expressions 
ruby_debug.c:2392:27: warning: comparison between signed and unsigned integer expressions 
make: *** [ruby_debug.o] Error 1 

आवश्यक:

रूबी स्थापित सफलतापूर्वक

$ ruby --version 
>>ruby 1.9.3p125 (2012-02-16) [i386-mingw32] 

DevKit सफलतापूर्वक

$ gem install rdiscount --platform=ruby 
>>Temporarily enhancing PATH to include DevKit... 
>>Building native extensions. This could take a while... 
>>Successfully installed rdiscount-1.6.8 
>>1 gem installed 
>>Installing ri documentation for rdiscount-1.6.8... 
>>Installing RDoc documentation for rdiscount-1.6.8... 

$ ruby -rubygems -e "require 'rdiscount'; puts RDiscount.new('**Hello RubyInstaller**').to_html" 
>><p><strong>Hello RubyInstaller</strong></p> 

स्थापित मैं सफलता के बिना this article पढ़ा है।

मुझे क्या याद आ रही है?

+0

मैं स्टैंड नहीं कर सकता इस त्रुटि के साथ। मैं इसके बजाए '' 'मणि डीबगर''' का उपयोग करता हूं! – duykhoa

उत्तर

9

1) डाउनलोड linecache19-0.5.13.gem और माणिक डिबग-base19-0.11.26.gem से http://rubyforge.org/frs/?group_id=8883

2) मणि linecache19-0.5.13.gem

3) मणि स्थापित ruby-debug-base19-0.11.26.gem इंस्टॉल करें - साथ-रूबी-शामिल = सी: \ रूबी 1 9 3 \ \ ruby-1.9.1 \ ruby-1.9.3-p125

+0

दुर्भाग्यवश यह मेरे लिए काम नहीं करेगा। –

+0

उपर्युक्त कदम मेरे लिए काम करते थे, लेकिन इससे पहले मुझे पृष्ठ 6 http://csc.columbusstate.edu/woolbright/class/wkenna.pdf पर सूचीबद्ध अन्य रत्नों को नहीं मिला था – Ketan

संबंधित मुद्दे