This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Step to reproduce: - install NetBeans 6.5 Ruby Bundle - run new project wizard - choose Ruby > Ruby on Rails Application - on next dialog click Next button - choose Specify Database Information Directly - select Database Adapter - javadb or mysql - checked checkbox Access Database Using JDBC - click Finish button - after creating new project right click on project node - choose Run/Debug Rake Task menu item from pop-up menu - select db:create task on dialog and click Run button After these steps database does not created.
Thanks for the report. This a problem in the activerecord-jdbc adapter which the IDE uses; it should get fixed for mysql once we bundle the jdbcmysql adapter (issue 138316). As for JavaDB, I'm not sure now what we should do -- there is no specific jdbc adapter for it that would support creating databases, and while using it in the embedded mode would work, it is not recommended.
This should be fixed now by the fixes for issue 138316. The IDE now bundles the jdbcmysql and jdbcpostgresql adapters and the new Rails project wizard uses those adapters in the generated database.yml. Of course, this works out-of-the- box only for the bundled JRuby, for external JRuby installations you need to install those gems.