2012-01-25 4 views
3

나에게 똑같은 문제가있는 해결책을 찾을 수 없습니다. 내 시스템에 특정 보석을 설치할 수 없습니다. 나는 달린다 :windows ruby ​​debug ide gem 설치가 실패했습니다.

gem install ruby-debug-ide --platform=ruby --pre 

지금은 모든 것이 잘 설치되어있다. Ruby 1.9.3과 Ruby DevKit도 설치됩니다. 내가 루비 - 디버그 - base19x 버전 0.11.30.pre3뿐만 아니라 설치되어 원활하게 갔다. 지금 당장이게 문제를 일으키는 유일한 방법입니다. 나는 모든 것을 시도했다 - 내 컴퓨터를 다시 시작하고 심지어는 Ruby와 Ruby DevKit을 재설치한다. 여기

는 gem_make.out 파일에서 오류 발생 : 오류의 길이

C:/Ruby193/bin/ruby.exe mkrf_conf.rb 
Building native extensions. This could take a while... 
Building native extensions. This could take a while... 
ERROR: Failed to build gem native extension. 

    C:/Ruby193/bin/ruby.exe extconf.rb 
checking for rb_method_entry_t.called_id in method.h... no 
checking for rb_control_frame_t.method_id in method.h... no 
checking for if rb_iseq_compile_with_option was added an argument filepath... 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.called_id in method.h... yes 
checking for rb_method_entry() in method.h... yes 
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 
checking for if rb_iseq_compile_with_option was added an argument filepath... yes 
creating Makefile 

make 
generating ruby_debug-i386-mingw32.def 
compiling breakpoint.c 
compiling ruby_debug.c 
ruby_debug.c: In function 'filename_cmp': 
ruby_debug.c:522:9: warning: implicit declaration of function 'filename_cmp_impl' 
ruby_debug.c:530:7: warning: implicit declaration of function 'realpath' 
ruby_debug.c:530:34: warning: comparison between pointer and integer 
linking shared-object ruby_debug.so 
ruby_debug.o: In function `filename_cmp': 
C:\Ruby193\lib\ruby\gems\1.9.1\gems\ruby-debug-base19x-0.11.30.pre6\ext\ruby_debug/ruby_debug.c:530: undefined reference to `realpath' 
collect2: ld returned 1 exit status 
make: *** [ruby_debug.so] Error 1 


Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-base19x-0.11.30.pre6 for inspection. 
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-base19x-0.11.30.pre6/ext/ruby_debug/gem_make.out 
C:/Ruby193/lib/ruby/1.9.1/rubygems/installer.rb:552:in `rescue in block in build_extensions' 
C:/Ruby193/lib/ruby/1.9.1/rubygems/installer.rb:530:in `block in build_extensions' 
C:/Ruby193/lib/ruby/1.9.1/rubygems/installer.rb:505:in `each' 
C:/Ruby193/lib/ruby/1.9.1/rubygems/installer.rb:505:in `build_extensions' 
C:/Ruby193/lib/ruby/1.9.1/rubygems/installer.rb:180:in `install' 
C:/Ruby193/lib/ruby/1.9.1/rubygems/dependency_installer.rb:297:in `block in install' 
C:/Ruby193/lib/ruby/1.9.1/rubygems/dependency_installer.rb:270:in `each' 
C:/Ruby193/lib/ruby/1.9.1/rubygems/dependency_installer.rb:270:in `each_with_index' 
C:/Ruby193/lib/ruby/1.9.1/rubygems/dependency_installer.rb:270:in `install' 
mkrf_conf.rb:25:in `rescue in <main>' 
mkrf_conf.rb:20:in `<main>' 

나의 사과 - 나는 확실히 행운과 함께 처음부터 여러 번 다시 시작하고 만드는 단지 피곤 해요 모든 것이 I 내가하고있는 일은 정확하고 무엇이든 간과하지 않습니다. 정말 고맙습니다.

답변

0

recent commit이 수정되었을 수 있습니다. pre9 해볼래?

+0

저는 실제로 배치 파일에서 DevKit의 변수를 다시 실행했기 때문에 결국 작동합니다 (마침내!). 그래서 누군가가 이와 같은 문제를 겪고 있다면 도움이 될 것입니다. :-) – sutt0n

관련 문제