Forum: Ruby on Rails Need help developing a plugin

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
6e0df11a3326dfcf8e81f05ffd3f5502?d=identicon&s=25 schof (Guest)
on 2007-07-25 23:40
(Received via mailing list)
I'm working on a plugin and I'm having some issues.  I'm trying to
check in the code so that it is always usable as a plugin for general
users.  So my stylesheets, etc. are in an 'assets' directory instead
of 'public', etc.  (I should also mention I am using the engines

During development I have an empty top level project and my plugin is
in vendors/plugin.  The problem is the IDE's and Rails scripts are all
geared towards development in the project root.  Any suggestions for a
simple way to develop a plugin in the "top level" but still work as a
plugin when I check it into SVN?  I was thinking there might be some
scripts that I could keep local to my machine to set things right.
Perhaps alter the server startup script?  Or maybe I'm going about
this all wrong.


A2c85dc5ee81b12e3cc0a6522e8d079d?d=identicon&s=25 Chris Hall (au5lander)
on 2007-07-26 00:01
(Received via mailing list)
not sure if i understood what you want but it sounds like you might
want something like svn:externals

see if that is what you want, and if not, let the group know.

6e0df11a3326dfcf8e81f05ffd3f5502?d=identicon&s=25 schof (Guest)
on 2007-07-26 01:23
(Received via mailing list)
Hmmm.  I hadn't thought of svn:externals (although I've used them -
and been burned by them in the past.)  I guess if this would purely
for developer convenience we could avoid some of the pitfalls of that
approach.  The biggest problem I've had in the past with externals is
keeping them all consistent when branching and tagging.  I

Thanks for the tip.

A05834e9b5954947eb0ba3b570c47d5e?d=identicon&s=25 Pratik Naik (pratik)
on 2007-07-26 01:27
(Received via mailing list)
May be

On 7/26/07, schof <> wrote:
> > On 7/25/07, schof <> wrote:
> > > in vendors/plugin.  The problem is the IDE's and Rails scripts are all
> >

- Pratik
6e0df11a3326dfcf8e81f05ffd3f5502?d=identicon&s=25 schof (Guest)
on 2007-07-26 21:58
(Received via mailing list)
OK one problem though is with individual files.  svn:externals does
not support individual files.  Maybe we tweak the server script  to
copy over these from a different location?  Any other suggestions?

This topic is locked and can not be replied to.