Netbeans and SQLSERVER +debugger

Hi. I am learning Ruby on rails and i would like to use Netbeans for
editor. I want to use Ruby 1.9.2 -p0 for platform. when i create i
project i would like to use sqlserver adaptetr. How can i install
sqlserver adapter in Netbeans so i can select it from the "Specify
Database Information Directly " field? And does Netbeans has a good
debugger for ruby on rails or i have to do something else ?

Thank you for any help