- loading...
Where oh where are my rails plugins?
I can’t be the only person to notice the disappearance of old faithful plugins like simply_helpful and others.
They got deprecated. Enough of their code is now in rails edge that if you’re on rails edge you don’t ever need the plugins.
Great.
Um, except not on rails edge. That is, new apps using 1.2.3, or old apps where you’ve imported the plugin via piston and now piston is spitting the dummy that the original svn url is wrong.
Josh Peek Josh Knowles [via ticket] educated me to their new hide-y-hole in the plugin legacy list (svn list http://svn.rubyonrails.org/rails/plugins/legacy/).
They got legacified then, instead.
So, I guess (i.e. what I did was…) you need to svn remove the old plugin, and then re-install it. This time, don’t use piston or svn:externals as I doubt those plugins are ever going to change again.
ruby script/plugin install http://svn.rubyonrails.org/rails/plugins/legacy/simply_helpful
And life moves on again.
Related posts:
- Using CoffeeScript in Rails and even on Heroku I’m pretty excited about CoffeeScript as a clean-syntax replacement for...
- First look at rails 3.0.pre This article is out of date in some aspects....
- Rails themes can remember things I was getting annoyed at having to remember all the...
- Install any HTML theme/template into your Rails app Have you ever even bothered to Google for “rails...
- Closing in on The Dream: “one-click-to-deploy Rails apps” Got a simple app you want to build? Allocate...
All the other features scheduled to be removed by Rails 2.0 will most likely suffer the same fate. So if anyone wants to take charge of a legacy plugin, just copy it into your own subversion repo and take good care of it.
I’ve found Piston to be an excellent tool to avoid problems like this.
Not that it matters, but it was me who commented on your ticket pointing out the legacy directory. Too many Joshs!!!
I think a ‘piston switch’ would have got the job done. Not on the web page but here is the blog http://blog.teksol.info/articles/2007/01/22/piston-1-3-0-switch-goodness
But that’s a little besides the point.
@Josh Knowles [via] –
LOL, I agree.
I am tired of this problem. Edge rails is that, the edge, not the main stream. I just downloaded the latest version of restful_authentication and all the test require edge because they use the assert_difference methods. Edge has a lot of cool features, but until it is out you should write your code and plugins to work with the current release.
@Nic – The path you gave failed for me
@Josh Knowles [via] – aye whoops. Fixed.
@Brian [via] – true, but there is no “1.2.3″ version of each plugin, only an “edge” set of plugins. The tag 1_2_3 doesn’t include the plugins. Perhaps future releases could include the
pluginsandspinoffsfolders.@adzap [via] – ooh, thx for that. Indeed piston is great.
@Brian [via] – sorry – I used the browser url. I’ve updated the commands to use the svn url.