title: using ruby-debug with jruby-1.5.0
body: <p><a href="http://jruby.org/2010/05/12/jruby-1-5-0" rel="nofollow noreferrer">Release notes</a> say that ruby-debug is installed by default.  I'm using rvm.  In my rails app I figured something as simple as <code>script/server --debugger</code> would suffice, but it complains that the ruby-debug gem isn't installed, suggests using <code>gem install ruby-debug</code>, which of course doesn't work (building native extensions) and is contrary to the docs anyway.</p>
  
  <p>Just wondering if anyone's had any luck using the built in ruby-debug in jruby 1.5 and what one needs to do in order run jruby in debug mode.  </p>
  
  <p>Here's my output:</p>
  
  <pre><code>brad-robertsons-macbook-pro:trunk bradrobertson$ which ruby
  /Users/bradrobertson/.rvm/rubies/jruby-1.5.1/bin/ruby
  brad-robertsons-macbook-pro:trunk bradrobertson$ jruby --debug script/server --debugger
  =&gt; Booting WEBrick
  =&gt; Rails 2.3.5 application starting on http://0.0.0.0:3000
  You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'
  </code></pre>