Hmm... but the gem dependency from ruby-debug is going to be a problem. There is no way specify a depency from the ruby-debug gem to ruby-debug-base or jruby-debug-base. And you won't be able to install ruby-debug-base (MRI version) on jruby because of c code. So changing the require is not enough. You would have to make jruby specific versions of ruby-debug and ruby-debug-ide if you wanted to get around this, which sounds like too much to me.
--Chris On Oct 31, 2007 2:46 PM, Martin Krauskopf <[EMAIL PROTECTED]> wrote: > Peter Brant wrote: > > On 10/31/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > >> Perhaps we should just leave it as a gem to be installed by the user > >> (through gem support in NB if necessary) and get it released the right > > I think that's probably just as well. Haste makes waste and all that. > > > > It would be nice if we could release the gem (and more importantly the > > subsequent bug fixes we'll almost certainly have once jruby-debug gets > > more testing) without the help of the ruby-debug guys, but if not, so > > be it. > > This is very good point. ruby-debug guys did not release for relatively > long time. And we can expect that we will need to release very often in > the beginning. > > It should not be a big problem to put into the ruby-debug-[cli|ide] some > code like: > > if PLATFORM == 'java' > require 'jruby-debug-base' > > else > require 'ruby-debug-base' > end > > > Then we would be free with regard to our releases. I'll contact Kent or > Rocky with some ideas when I have more times - after high-resistance in > NB (sometime next week I suppose); if nobody else does so in the meantime. > > m. > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > >
