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 99989 - Allow usage of system-installed gems
Summary: Allow usage of system-installed gems
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-04 14:40 UTC by zerohalo
Modified: 2007-07-03 14:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zerohalo 2007-04-04 14:40:06 UTC
It would be nice if NB allowed the user to use the gems already installed on the
system, including Rails, rather than having to install another set of gems using
the Ruby Gem Manager. In most scenarios, user will need/want access to gems
outside of NetBeans, and it therefore means having to maintain/update two sets
of gems. This would include Rails. Therefore, NetBeans Ruby module wouldn't have
to ship with Rails (though a version could). 

This could perhaps be a preferences option, allowing the user to specify the
path where the gems are installed on the system (ie,
/usr/lib/ruby/gems/1.8/gems) depending on the setup.
Comment 1 Torbjorn Norbye 2007-06-19 23:07:59 UTC
This should already be working. The Gem Manager will show the gems installed for whatever Ruby interpreter you are using. If you switch to your native Ruby 
(e.g. /usr/bin/ruby), it should be showing all the gems installed with it.  If I misunderstood what you meant, feel free to reopen this issue.
Comment 2 Jiri Kovalsky 2007-07-03 14:09:15 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 3 Jiri Kovalsky 2007-07-03 14:39:09 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.