Rails appswith Netbeans are quite straight forward, but I've spent ages trying to get Cucumber working from Netbeans and have just solved the problem.
Anyway, this is how to get things working from inside the Netbeans IDE:
Cucumber
First of all install the gemgem install cucumberAdd this to the Rakefile in the project root
require 'rubygems'
require 'cucumber/rake/task'
Cucumber::Rake::Task.new
Now the project context menu will have "features" in the "Run rake task" menu item.
RSpec
require 'spec/rake/spectask'Spec::Rake::SpecTask.newThen create spec_helper.rb with
$:.unshift(File.dirname(__FILE__) + '/../lib/')and require
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')in each of your spec files