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 132265

Summary: Merb support
Product: ruby Reporter: Martin Krauskopf <mkrauskopf>
Component: RailsAssignee: Erno Mononen <emononen>
Status: STARTED ---    
Severity: blocker CC: bhauff, dentharg, flowolf, nicksieger, pjiricka, richo, slowhog
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Martin Krauskopf 2008-04-07 23:20:41 UTC
Reading through the blogosphere seems that Merb getting more and more attention. Not sure how much effort is needed to
provide support for it...
Comment 1 bhauff 2008-04-08 15:44:27 UTC
I would vote for supporting Merb.  I don't think it has near the number of developers using it right now, however, many
Rails developers are starting to use Merb in their Rails projects to provide fast services (like file uploads) that
rails can't do well.

As for supporting it, Merb has several different project generators (like using the 'rails projectname' command).  One
of the generators creates a full project very similar to a Rails project/folder hierarchy. The other two generators
create flat projects with only 1 or 3 files total.
Comment 2 digitalhobbit 2008-05-29 22:33:51 UTC
+1 for Merb support in NetBeans.

I am not familiar with how NetBeans' Rails support is implemented, but because of the more flexible application layout
of Merb, it may be more difficult to support arbitrary Merb apps (which might use the full app layout that is very
similar to Rails, or a completely custom, very compact app layout). Supporting at least the three predefined layouts
would be ideal. Even if only the full application layout was supported, that would be a great feature, as I assume that
most serious applications (which would benefit most from using NetBeans vs. a simple text editor) will use this layout.

It seems like the generators are fairly similar to Rails.

Merb also supports pluggable ORM frameworks, mainly ActiveRecord (which should work as in Rails), DataMapper, and
Sequel. I am not sure if DataMapper is supported by JRuby yet (or if this matters), as I believe that some of the
database adapters rely on native code. I think there was some talk of implementing a DataMapper / JDBC adapter, but I am
not sure what the status of this is.
Comment 3 Erno Mononen 2008-11-14 09:36:19 UTC
Bumping up the priority as I'm seeing more and more requests for this.
Comment 4 softmind 2008-12-02 08:37:44 UTC
I am just waiting for Merb support in Netbeans. If i am asked for a christmas gift... My gift would be full support
likare Rails for merb on Netbeans.

Pl. make the merb community as stronger as the Merb is.

SoftMind
Comment 5 Erno Mononen 2008-12-02 14:47:38 UTC
I've started to work on this, will continue on it after the stabilization period for M1. I think we'll have some 
rudimentary support available in 7.0 M2.
Comment 6 Quality Engineering 2008-12-22 15:14:54 UTC
Integrated into 'main-golden', will be available in build *200812221122* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a9b79337d45b
User: Erno Mononen <emononen@netbeans.org>
Log: #132265: Merb support
- initial commit, not yet in the build
- new project type for merb, initial implementations of:
	- new project wizard
	- running merb apps
	- logical view
	- project customizer
Comment 7 hipertracker 2009-01-22 01:29:19 UTC
What has happened to http://hg.netbeans.org/main/rev/a9b79337d45b commit? I checked source of the latest trunk
(netbeans-trunk-nightly-200901201401-src.zi) and there is nothing inside about Merb support. Where are those changings?
Comment 8 Erno Mononen 2009-01-22 09:34:05 UTC
Apparently the source zip doesn't contain it, I guess it includes sources only for the modules that are part of the 
standard build. So you'll need to clone the main repo (http://wiki.netbeans.org/HgHowTos#section-HgHowTos-
GettingAWorkingCopyCloningTheNetBeansRepository) to get it. See also http://wiki.netbeans.org/RubyBuildInstructions, 
after building the Ruby IDE you need to build the ruby.merbproject module, e.g.

path/to/nb_sources$ ant -f ruby.merbproject/build.xml 

I understand that this is cumbersome for people not working on NB on a regular basis, it's just that the module is not 
yet ready for the standard build. In any case, I'll make the module available for download in the near future and I 
also plan to spend some more time on developing it further.
Comment 9 redfox05 2010-05-19 12:43:33 UTC
+1 vote for merb support.

Currently am developing via Notepad++ and command line, and although Notepad++ is great, it nowhere near as good as using an IDE such as Netbeans. Can't wait for this feature to work.

And also, what about Rails 3 support? I have not looked into this, is this already supported, this would be very useful as well.