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 122590 - Problem using Ruby "Warning: require_gem is obsolete"
Summary: Problem using Ruby "Warning: require_gem is obsolete"
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Gems (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-22 15:08 UTC by rwtibbs
Modified: 2008-02-07 09:31 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 rwtibbs 2007-11-22 15:08:28 UTC
I have this error with RC1:
./script/../config/boot.rb:65:Warning: require_gem is obsolete.  Use gem instead.
Comment 1 Tomas Danek 2007-11-22 15:29:58 UTC
it's harmless; it points that you have obsolete code in boot.rb of your rails app.  With Jruby/Rails 1.2.5 is code
generated ok, no warnings. However, you've probably met this during running Depot sample application, am I right? The
possible fix is to edit the sample, and replace require_gem with gem. But as i said, warning is just harmless - P4.

Btw.maybe we could consider creating "samples" subcomponent of ruby componet. 
Comment 2 Martin Krauskopf 2008-02-07 09:31:39 UTC
Depot sample application was already fixed. If it was not in Depot sample, you might want to fix your application
appropriately (s/require_gem/gem)