title: ruby_threadptr_data_type error
body: <p>I'm starting up a new rails app with the latest version of rails (3.1.3).  Rails crashes when I try to start up the server. First I fixed <a href="https://stackoverflow.com/questions/6282307/rails-3-1-execjs-and-could-not-find-a-javascript-runtime">this bug</a>, and now I'm getting this one</p>
  
  <pre><code>ruby-debug-base19-0.11.25/lib/ruby_debug.so: undefined symbol: ruby_threadptr_data_type 
  </code></pre>
  
  <p>There's a discussion about this going on <a href="http://youtrack.jetbrains.net/issue/RUBY-9418" rel="nofollow noreferrer">here</a>, but I can't make enough sense of it to get things to work.</p>
  
  <h1>UPDATE</h1>
  
  <p>I updated the version of ruby-debug</p>
  
  <pre><code>gem 'ruby-debug-base19x', '~&gt; 0.11.30.pre4'
  </code></pre>
  
  <p>and have now moved on to this error</p>
  
  <pre><code>linecache19-0.5.12/lib/trace_nums19.so: undefined symbol: ruby_current_thread
  </code></pre>