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.
It is not possible to run other than Rakefile.rb. To reproduce: - create Ruby Application - open new file wizard - select Ruby|Rakefile - finish the wizard - try to run it (Shift+F6) but it prints error message: :-1: no such file to load -- rake (LoadError) Build 200708060257, 1.6.0_02-b05.
This is because NetBeans detect just standard Rake files (Rake::Application::DEFAULT_RAKEFILES). If the user creates one with other name it is not automatically detected. But the wizard offers such one (new_rakefile.rb) by default. So I've change that it support one of standard names (rakefile.rb). projects/src/org/netbeans/modules/ruby/rubyproject/ui/resources/layer.xml; new revision: 1.9; previous revision: 1.8 If you want to run the one with custom name, put "require 'rubygems'" before other requires and then probably use "load 'rake'" at the end. Thanks for the catch.
Verified.