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.

Bug 161974

Summary: Rails projects should still allow setting sources and tests
Product: ruby Reporter: bronson <bronson>
Component: RailsAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description bronson 2009-04-05 02:20:00 UTC
Why won't NetBeans let me specify my own source and test paths for Rails projects?  This is needlessly limiting isn't
it?  They would be added to the default Rails paths of course.

Background:

When I view the properties of my Ruby project, I am given a Sources tab where I can specify directories that contain
source code and tests.  It's quite nice.

However, when I view the properties of my Rails project, this tab doesn't show up!

My Rails project has a number of plugins and gems installed in vendor but NetBeans won't navigate to any of them!  I
suspect that's because it doesn't know to check i.e. vendor/gems/*/lib for source code?  It's quite painful.
Comment 1 Erno Mononen 2009-04-06 15:45:40 UTC
Thanks for the report, I'll have a look at this. The IDE should automatically index vendor/* without having to specify 
it as a source path, seems that you're running into a bug. Can you please post the build info for your version from 
Help -> About?
Comment 2 bronson 2009-04-08 21:42:28 UTC
This is what I'm running:

Product Version: NetBeans IDE Dev (Build 200904011705)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.27-11-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/bronson/.netbeans/6.7m3

Is there another reason why I can't navigate to any code found in /vendor, /test, or /opt?  I'm happy to investigate.