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 122535 - Depot sample app does not work
Summary: Depot sample app does not work
Status: RESOLVED INVALID
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-21 18:34 UTC by Chris Kutler
Modified: 2007-11-25 01:45 UTC (History)
5 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 Chris Kutler 2007-11-21 18:34:10 UTC
Using RC1 Java EE download with all the Ruby plugins installed, the Depot sample application does not run. The browser
displays the following error message.

Application error (Apache)

Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html

Nathan also encountered this bug: http://www.nabble.com/Depot-Application-does-not-start.-tf4848960.html. I believe he
has the All download.

Note: I realize that this should be filed under the Sample Apps category, but there isn't one.
Comment 1 Martin Krauskopf 2007-11-22 10:45:12 UTC
I've just got the same (on Linux) without doing any steps in Readme. It's just a default page Depot Sample app uses when
something is wrong. You should see the culprit in the log file, likely the log/development.log page. Is there something
useful?
(in my case it was bad mysql gem, which is my fault, since I'm using the same GEM_HOME for CRuby and JRuby).
Comment 2 Petr Jiricka 2007-11-22 14:52:07 UTC
I just tried on Mac OS X and after doing all the steps in README-DEPOT.html, everything works correctly.

I would say that if everything works after correctly following the README steps, then this is not a stopper for the 6.0
release. If things do not work even after following the README, then this may be a stopper.
Comment 3 Jiri Skrivanek 2007-11-22 15:07:51 UTC
I tried it on Windows and it works if you follow steps in README-DEPOT.html. I agree with Petr Jiricka that this should
not be a stopper.
Comment 4 Tomas Danek 2007-11-22 15:14:10 UTC
Cannot reproduce with rc2 (ruby distro), running in kUbuntu. Works with jruby, and also MRI.

Product Version: NetBeans IDE 6.0 RC2 (Build 200711201000)
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
Userdir: /tmp/ud
Comment 5 Martin Krauskopf 2007-11-22 15:34:00 UTC
It is probably not bug at all. This is just how Depot application is constructed by Pragmatics Programmers. We just
bundle it, without any changes. I can imagine, there might be filed a new RFE to give some hints to Rails newbie, where
they should look and so on.
Comment 6 John Jullion-ceccarelli 2007-11-22 17:20:42 UTC
yes, the readme shows how to do it. this isn't a just run out of the box sample. the readme opens automatically when you
open the project, right? not much more we can do, i'm afraid.
Comment 7 Martin Krauskopf 2007-11-22 17:25:30 UTC
> the readme opens automatically when you open the project, right?

Exactly.

I'm closing this for now, since there are holidays in the US AFAIK so this could hang around until next week and very
likely we know what's going on. Chris if you have more information or we did not get it right, please reopen, thanks.
Comment 8 Chris Kutler 2007-11-25 01:45:47 UTC
I see my user error. Sometimes you have to restart the server for the changes made to database.yml to take affect. So,
my changes per the README were not yet "in the system".