Rails Plugin Directory Structure

20Feb07

While converting my s3cache to a rails plugin, I could not figure out why when I installed the plugin, the directory structure it created was:

-vendor
–plugins
—svn
—-s3cache

I did not want it to create the svn directory and instead just have s3cache as the child under plugins.

I finally figured it out. Your svn repository for your plugin needs to have a plugin directory. So your repository might look something like this:

– svn
–branches
–tags
–trunk
—plugins
—-s3cache



No Responses Yet to “Rails Plugin Directory Structure”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: