Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7607659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:43:12+00:00 2026-05-31T00:43:12+00:00

Cannot load ruby-debug on a Mac OS X 10.7.3 Lion. Not sure why the

  • 0

Cannot load ruby-debug on a Mac OS X 10.7.3 Lion.

Not sure why the path is incorrect.

Ruby version is 1.8.7 which came standard with Lion.

Installed Xcode

Developer Information:

  Version:  No version information available
  Location: /Applications/Xcode.app
  Applications:
  Xcode:    4.3 (1175)
  Instruments:  4.3 (4321)
  SDKs:
  Mac OS X:
  10.6: (10K549)
  10.7: (11D50a)
  iPhone OS:
  5.0:  (9A334)
  iPhone Simulator:
  5.0:  (9A334)


$ sudo gem install ruby-debug -v 0.10.4
Password:
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 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


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


$ 

Looking for the ruby.h path on the Lion system, the path’s are different.

./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Ruby.framework/Versions/1.8/Headers/ruby.h
./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0/ruby.h
./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Ruby.framework/Versions/1.8/Headers/ruby.h
./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin11.0/ruby.h

What is the best approach from this point?

thanks,

pb

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T00:43:13+00:00Added an answer on May 31, 2026 at 12:43 am

    Solution: Xcode 4.3 needs to be installed and then from Xcode Preferences-General the Xcode Command Line Tools must be installed.

    Without the Command Line Tools the above errors are generated.

    Once installed, Ruby-Debug loads.

    $ sudo gem install ruby-debug -v 0.10.4
    Password:
    Building native extensions.  This could take a while...
    Building native extensions.  This could take a while...
    Successfully installed linecache-0.46
    Successfully installed ruby-debug-base-0.10.4
    Successfully installed ruby-debug-0.10.4
    3 gems installed
    Installing ri documentation for linecache-0.46...
    Installing ri documentation for ruby-debug-base-0.10.4...
    Installing ri documentation for ruby-debug-0.10.4...
    Installing RDoc documentation for linecache-0.46...
    Installing RDoc documentation for ruby-debug-base-0.10.4...
    Installing RDoc documentation for ruby-debug-0.10.4...
    $ rdebug -v
    ruby-debug 0.10.4
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I do not know how to troubleshoot this problem. XMLHttpRequest cannot load http://gumball.wickedlysmart.com/?lastreporttime=1302212903099 .
Uh oh /Users/myname/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- classes/loginclass (LoadError) from /Users/myname/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
XMLHttpRequest cannot load http://localhost:4567/save . Origin chrome-extension://cbemaelkkmebiohhjgmlclegalijdbbh is not allowed by Access-Control-Allow-Origin. Even thought
I am getting a cannot load entity error because of {Incorrect syntax near the
I cannot load icons which contain Vista sized icons when using the 'Load icon'
I am using System.Reflection to load a type that I cannot otherwise load during
Possible Duplicate: Ruby 1.9.2 and Rails 3 cannot open rails console I have already
rails-project git:creating-models ❯ rails console Loading development environment (Rails 3.2.1) Couldn't load Wirble: cannot
I installed: Centos 6 Ruby 1.9.3-rc1 Passenger gem and passenger nginx module ( compiled
[gkaykck@main myApplication]$ rails console /usr/local/lib/ruby/1.9.1/irb/completion.rb:9:in `require': no such file to load -- readline (LoadError)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.