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 7519019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:50:07+00:00 2026-05-30T01:50:07+00:00

I have standard ruby-head and Rails 3.1rc4. I installed ruby-debug with following instructions from

  • 0

I have standard ruby-head and Rails 3.1rc4.
I installed ruby-debug with following instructions from http://dirk.net/2010/04/17/ruby-debug-with-ruby-19x-and-rails-3-on-rvm/

But when i run rails s --debugger it will throw this strange error

/Users/schovi/.rvm/gems/ruby-head/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:237:in `require': dlopen(/Users/schovi/.rvm/gems/ruby-head/gems/linecache19-0.5.12/lib/trace_nums19.bundle, 9): Symbol not found: _ruby_current_thread (LoadError)
  Referenced from: /Users/schovi/.rvm/gems/ruby-head/gems/linecache19-0.5.12/lib/trace_nums19.bundle
  Expected in: flat namespace
in /Users/schovi/.rvm/gems/ruby-head/gems/linecache19-0.5.12/lib/trace_nums19.bundle - /Users/schovi/.rvm/gems/ruby-head/gems/linecache19-0.5.12/lib/trace_nums19.bundle
from /Users/schovi/.rvm/gems/ruby-head/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:237:in `block in require'
from /Users/schovi/.rvm/gems/ruby-head/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:223:in `block in load_dependency'

Any idea?
Thanks, David

  • 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-30T01:50:07+00:00Added an answer on May 30, 2026 at 1:50 am

    UPDATE:

    Looks like you only need to put this in your gemfile:

    gem “debugger”

    and now works.

    Old article follows

    ====================================

    Jerome is correct, but lacking in the details. Here is the blow by blow, taken from this https://gist.github.com/1331533, in particular thanks to andrewroth’s post. I’ve tested this as of the time of this post. One hopes that the changes will be deployed somewhere standard soon.

    Installing ruby debugger on ruby 1.9.3-p125: 
    
    export PATCH_LEVEL=`ruby -e 'puts RUBY_PATCHLEVEL'`
    export RVM_SRC=$HOME/.rvm/rubies/ruby-1.9.3-p$PATCH_LEVEL/include/ruby-1.9.1
    gem install archive-tar-minitar
    gem install ruby_core_source -- --with-ruby-include=/$RVM_SRC
    export RVM_SRC=$HOME/.rvm/rubies/ruby-1.9.3-p$PATCH_LEVEL/include/ruby-1.9.1/ruby-1.9.3-p$PATCH_LEVEL
    
    wget http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem
    wget http://rubyforge.org/frs/download.php/63094/ruby-debug19-0.11.6.gem
    wget http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
    gem install linecache19-0.5.13.gem -- --with-ruby-include=/$RVM_SRC
    # if that step failed, and you are running OSX Lion, then following this post can help you: 
    # http://stackoverflow.com/questions/8032824/cant-install-ruby-under-lion-with-rvm-gcc-issues
    # this happens if you recently installed xcode from the app store. 
    # bizarrely, for me I had to do this: ln -s /usr/bin/gcc /usr/bin/gcc-4.2
    gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/$RVM_SRC
    
    Then edit Gemfile: 
    
    gem 'linecache19', '0.5.13', :path => "~/.rvm/gems/ruby-1.9.3-p#{RUBY_PATCHLEVEL}/gems/linecache19-0.5.13/"
    gem 'ruby-debug-base19', '0.11.26', :path => "~/.rvm/gems/ruby-1.9.3-p#{RUBY_PATCHLEVEL}/gems/ruby-debug-base19-0.11.26/"
    gem 'ruby-debug19', :require => 'ruby-debug'
    
    Then install: 
    
    bundle install
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am on rails 2.3.5 and have the latest Ruby installed and my application
I'm running Ubuntu 11.10 and have installed rvm using the standard instructions listed here
I have a standard Rails3 environment, RVM 1.2.9, Rails 3.0.5, Ruby 1.9.2p180, MySQL2 Gem
In the Ruby Standard Library we have the Singleton class: http://ruby-doc.org/stdlib/libdoc/singleton/rdoc/index.html We can make
I have build a standard Rails 3 application (using Ruby 1.9.2). I placed all
I have a Ruby/Rails app, which is standard Rails CRUD, with some jQuery and
I have a standard windows server that inherits from the ServiceBase class. On the
I have a standard .NET windows service written in C#. Can it install itself
I have a standard ASP.NET MVC (RC Refresh) web project, with the standard ASP.NET
I have a standard ASP.NET 2.0 web page with a Delete button on it.

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.