NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

problem installing ruby fast debugger

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
sandy
Posted via mailing list.





PostPosted: Thu May 20, 2010 1:48 am    Post subject: problem installing ruby fast debugger Reply with quote

When I try to debug my Ruby project in Netbeans 6.8 on Windows 7
64-bit, I'm prompted to install the fast debugger. Unfortunately, I get
the following error :

"
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug-ide:
ERROR: Failed to build gem native extension.

C:/InstantRails-2.0-win/ruby/bin/ruby.exe mkrf_conf.rb
Building native extensions. This could take a while...


Gem files will remain installed in
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.
9 for inspection.
Results logged to
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.
9/ext/gem_make.out
"

I tried google, and saw mention that maybe gcc was needed. So I
installed cygwin/gcc, but still get the same error.

Any ideas ?
Back to top
Anthony Richardson
Posted via mailing list.





PostPosted: Thu May 20, 2010 1:56 am    Post subject: problem installing ruby fast debugger Reply with quote

As suggested in the error message, what is the contents of
Back to top
sreid2



Joined: 20 May 2010
Posts: 4

PostPosted: Thu May 20, 2010 9:06 am    Post subject: Reply with quote

Contents were not helpful :

"C:/InstantRails-2.0-win/ruby/bin/ruby.exe mkrf_conf.rb
Building native extensions. This could take a while...
"
Back to top
sreid2



Joined: 20 May 2010
Posts: 4

PostPosted: Thu May 20, 2010 10:13 am    Post subject: Reply with quote

I found out how to turn on debug for gem install, and get the following now

"
C:\InstantRails-2.0-win\ruby>gem install --debug ruby-debug-ide
Exception `NameError' at C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:164 - uninitialized constant Gem::Commands::InstallCommand
Exception `Gem::LoadError' at C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:779 - Could not find RubyGem test-unit (>= 0)

Exception `Gem::LoadError' at C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:779 - RubyGem version error: sources(0.0.1 not > 0.0.1)

Exception `IOError' at C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:50 - closed stream
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/bin
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug/comman

Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug/comman

Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug/comman

Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug/comman

Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug/comman

Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug/comman

Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug/comman

Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug/comman

Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug/comman

Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug/comman

Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug/comman

Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug/comman

Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/test
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/test
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/test
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/test
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/test
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/test
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/test
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/test
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/test/ruby-debug
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/test
Exception `Errno::EEXIST' at C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/ext
Building native extensions. This could take a while...
Exception `Gem::InstallError' at C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb:49 - rake failed:

C:/InstantRails-2.0-win/ruby/bin/ruby.exe mkrf_conf.rb
Building native extensions. This could take a while...

Exception `Gem::Installer::ExtensionBuildError' at C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:483 - ERROR: Failed to build gem native extension.

C:/InstantRails-2.0-win/ruby/bin/ruby.exe mkrf_conf.rb
Building native extensions. This could take a while...


Gem files will remain installed in C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9 for inspection.
Results logged to C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/ext/geERROR: Error installing ruby-debug-ide:
ERROR: Failed to build gem native extension.

C:/InstantRails-2.0-win/ruby/bin/ruby.exe mkrf_conf.rb
Building native extensions. This could take a while...


Gem files will remain installed in C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9 for inspection.
Results logged to C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/ext/gem_make.out

C:\InstantRails-2.0-win\ruby>
"
Back to top
sreid2



Joined: 20 May 2010
Posts: 4

PostPosted: Thu May 20, 2010 12:11 pm    Post subject: Reply with quote

I've found out that the problem is that instantrails relies on vc++, while ruby development kit relise on gcc (see http://groups.google.com/group/rubyinstaller/browse_thread/thread/b143f19080172700#). I've removed instantrails and am happily useing the newer 1.8.7 Ruby from http://rubyinstaller.org/download.html
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo