Unable to configure JRuby for IDE debugging based on the lack of mkmf support -----------------------------------------------------------------------------
Key: JRUBY-2611 URL: http://jira.codehaus.org/browse/JRUBY-2611 Project: JRuby Issue Type: Bug Components: Extensions Affects Versions: JRuby 1.1.1 Environment: Ubuntu 8.04, JRuby 1.1.1+ (from svn), NetBeans 6.1-Full with JRuby support Reporter: Eric M. Smith Fix For: JRuby 1.1.1 In order to debug JRuby applications under NetBeans 6.1 and other IDE's, the IDE requires the use of ruby-debug-ide. This has a dependency on ruby-debug-base which requires a native code module to be compiled. Due to the lack of support for native code, attempts to install this Gem result in: Building native extensions. This could take a while... extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) from extconf.rb:1 ERROR: Error installing ruby-debug-base: ERROR: Failed to build gem native extension. As a result of this, systems written under JRuby 1.1.1+ cannot be debugged using NetBeans 6.1 or other IDE's that require ruby-debug-ide to be installed as a gem. While it is understandable that the JRuby team does not want to support native code to enable easy application distribution, since there exists two distinct categories of gems that require native code (development specific gems like ruby-debug-base and production gems like mysql) there needs to be a way to use gems which require native code for development specific actions like debugging or a replacement/substitute should be provided such as one of either : 1) making an exception to allow gems necessary for standard development practice like debugging. or 2) gems which provide native platform integration like ruby-debug-base and ruby-debug-ide need to be provided as part of the JRuby platform. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email