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 125507 - Depot application not runnable due to obsolete 'require_gem' usage
Summary: Depot application not runnable due to obsolete 'require_gem' usage
Status: VERIFIED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
: 121769 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-17 17:51 UTC by Tomas Danek
Modified: 2008-02-14 12:46 UTC (History)
3 users (show)

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 2008-01-17 17:51:45 UTC
cretaing and running depot app end with:

./script/../config/boot.rb:65: undefined method `require_gem' for main:Object (NoMethodError)
        from ./script/../config/boot.rb:47:in `require'
        from script/server:2

to make it work, one needs to replace 
require_gem "rails" 

with 

gem "rails" 

in boot.rb to make it work.  Martine, are you still maintaining this sample? If not, please reassingn. This need to be
fixed for 6.1M1
Comment 1 Martin Krauskopf 2008-01-17 17:59:53 UTC
The problem is that I can touch the sources since they are not source. I'm little confused who is responsible for this.
As soon as I get 'go', I can fix it.
Comment 2 Martin Krauskopf 2008-01-17 18:02:47 UTC
Ups. Should be "....since they are not *our*".
Comment 3 Martin Krauskopf 2008-01-21 09:32:45 UTC
Reassigning... I just need a legal 'go', John. Thanks.
Depot simply does not work -> increasing to P1.
Comment 4 John Jullion-ceccarelli 2008-01-21 12:07:41 UTC
Pinged the PragProgrammers team about it, hopefully they'll respond.
Comment 5 John Jullion-ceccarelli 2008-01-21 15:57:34 UTC
Change was OK'ed.
Comment 6 Martin Krauskopf 2008-01-21 15:59:25 UTC
Thanks John, reassigning back....
Comment 7 Martin Krauskopf 2008-01-21 19:03:35 UTC
Fixed.

external/DepotProject.zip;
new revision: 1.2; previous revision: 1.1
Comment 8 Petr Blaha 2008-01-22 10:47:49 UTC
The issue should be fixed in M1 branch as well after verification.
Comment 9 Jiri Skrivanek 2008-01-23 12:24:14 UTC
Verified in trunk build 20080123091304.
Comment 10 Martin Krauskopf 2008-01-23 12:49:43 UTC
backported to 6.1M1

DepotProject.zip;
new revision: 1.1.6.1; previous revision: 1.1
Comment 11 Jiri Skrivanek 2008-02-12 14:50:21 UTC
Verified.
Comment 12 Martin Krauskopf 2008-02-14 12:46:05 UTC
*** Issue 121769 has been marked as a duplicate of this issue. ***