unable to install ruby-debug

P

Parv G.

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

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
mkrf_conf.rb
Building native extensions. This could take a while...


Gem files will remain installed in
/Library/Ruby/Gems/1.8/gems/ruby-debug for inspection.
Results logged to
/Library/Ruby/Gems/1.8/gems/ruby-debug/ext/gem_make.out


Environment: mac os x 10.6
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72)
[universal-darwin10.0]
- INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
- RUBY EXECUTABLE:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-darwin-10
- GEM PATHS:
- /Library/Ruby/Gems/1.8
- /Library/Ruby/Gems/1.8/gems
-
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :gempath => "/Library/Ruby/Gems/1.8/gems"
- :sources => ["http://gems.rubyforge.org/",
"http://gems.github.com"]
- REMOTE SOURCES:
- http://gems.rubyforge.org/
- http://gems.github.com


I have tried to install on older version (0.7.5), but no luck.

Thanks in advance for your help!
 
L

Luis Lavena

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

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
mkrf_conf.rb
Building native extensions.  This could take a while...

Gem files will remain installed in
/Library/Ruby/Gems/1.8/gems/ruby-debug for inspection.
Results logged to
/Library/Ruby/Gems/1.8/gems/ruby-debug/ext/gem_make.out

Please paste the contents of gem_make.out indicated above.

It might be possible that Xcode hasn't been installed in your Snow
Leopard installation?
 
P

Parv G.

Thanks for the reply, here it is:

$ cat
/Library/Ruby/Gems/1.8/gems/ruby-debug-base-0.10.3/ext/gem_make.out
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
extconf.rb
mkmf.rb can't find header files for ruby at
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,962
Messages
2,570,134
Members
46,692
Latest member
JenniferTi

Latest Threads

Top