I recently had a few minutes to create a subversion repository for the RJS Templates Plugin that I recently packaged.
Installation is now much simpler. First, run:
script/plugin discover
This will question you whether or not you want to add the plugin repositories that have been listed on the Rails Plugins wiki page to your local list of plugin repositories. Ensure that you add my repository, http://www.codyfauser.com/svn/projects/plugins/, when prompted. You can ensure that you have by ensuring my repository is listed when you execute:
script/plugin sources
Now all you have to do is:
script/plugin install javascript_generator_templates
If you don't want to add my repository to your list of plugin sources you can install the plugin in one shot as follows:
script/plugin install \
http://www.codyfauser.com/svn/projects/plugins/javascript_generator_templates/
Update: The plugin now has its own page
Sorry, comments are closed for this article.
December 5th, 2005 at 11:08 AM Cody - Thanks for making this available. I'v managed fine as far as 'script/plugin install ...', then I get a 'svn: PROPFIND request failed on ...' error. I'm pulling this from Windows, in this instance, so time for me to do a bit more digging before giving up!
December 5th, 2005 at 02:11 PM Robert, I couldn't get script/plugin to install it on my Windows machine either. I did, however, manage to install it by switching into my plugins directory: Then export the subversion repository: Let me know if this works for you.
December 5th, 2005 at 10:23 PM ( In the meantime: just confirming it works fine for me from a Mac... more tomorrow! ) I'll report back on the Windows advice - thanks Cody.
December 6th, 2005 at 02:16 AM Thanks for the feedback Robert!
December 6th, 2005 at 12:13 PM Oh dear: Did I break it?
December 6th, 2005 at 01:55 PM Robert, Is this from Windows again? Try installing a different plugin and see if that works. I just tried again from Windows and it was ok. Are you behind an http proxy?[This](http://comments.gmane.org/gmane.comp.jakarta.pluto.devel/3045) looks like a similar problem.