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 138870 - Use GlassFish v3 Gem for running Rails apps
Summary: Use GlassFish v3 Gem for running Rails apps
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 22:11 UTC by arungupta
Modified: 2008-08-19 20:27 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 arungupta 2008-07-02 22:11:17 UTC
If GlassFish v3 Gem is installed in NetBeans JRuby installation, then it should be the default option to run any Rails
applications. Currently WEBrick is the default and JRuby gem list is not inspected at all.
Comment 1 _ pcw 2008-07-19 04:33:31 UTC
I added support for the GlassFish Gem to appear as a server.  Not sure if it's the default though.

Note that the current design of the Gem (specifically the use of the custom glassfish_rails startup script instead of
the standard script/server startup) prohibits ruby debugging as implemented in NetBeans from working at all.

Best way to resolve that is probably to redesign the gem to use script/server like the others.  There may also be less
pleasant ways of fixing this.
Comment 2 _ pcw 2008-08-19 20:27:32 UTC
There won't be any debugging support for Rails apps running on the GEM for 6.5 due to it's architecture so I don't agree
with making it the default server for 6.5.

Closing as WONTFIX.  We can revisit this decision for the next release if there is better support by then (either due to
new GEM architecture or support for Debug Attach by the ruby debugger).