Netbeans and rackup

Hi

I’m currently dabbling with Rack. For that I have created a Ruby project
in Netbeans 6.9 with an application class in a Ruby source file and a
rackup configuration file config.ru.

But how can I configure the project so that Netbeans does not try to
start ruby.exe, but rackup (with some parameters)?

Thanks
Thomas