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 94633 - Indexing is not triggered if interpreter (+stdlibs) is changed
Summary: Indexing is not triggered if interpreter (+stdlibs) is changed
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-06 14:33 UTC by Tomas Danek
Modified: 2007-07-03 14:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2007-02-06 14:33:21 UTC
#273
have script with:

puts $LOAD_PATH

and run it. You can see that stdlibs come from bundled jruby:
STARTING
/space/netbeans/extra/jruby-0.9.2/lib/ruby/site_ruby/1.8
/space/netbeans/extra/jruby-0.9.2/lib/ruby/site_ruby
/space/netbeans/extra/jruby-0.9.2/lib/ruby/1.8
/space/netbeans/extra/jruby-0.9.2/lib/ruby/1.8/java
lib/ruby/1.8
.
RUN COMPLETED

now change interpreter to ruby. Run script again:
STARTING
/usr/local/lib/site_ruby/1.8
/usr/local/lib/site_ruby/1.8/i486-linux
/usr/local/lib/site_ruby/1.8/i386-linux
/usr/local/lib/site_ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/i486-linux
/usr/lib/ruby/1.8/i386-linux
.
RUN COMPLETED

load path changed, so probably indexing should be triggered, in order to reindex
new stdlibs?
Comment 1 Tomas Danek 2007-03-06 16:43:40 UTC
as a workaround works for me to create new project. that triggered indexing.
Comment 2 Torbjorn Norbye 2007-03-20 00:47:01 UTC
Fixed in Feature | Ruby version 0.41.
Comment 3 Jiri Kovalsky 2007-07-03 13:58:37 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 4 Jiri Kovalsky 2007-07-03 14:42:23 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.