Sashimi: A Rails Plugins Manager Gem

I have a really, really bad memory: each time I need to install a Rails plugin, I Google to find the repository, then try to download the code. Often, I remember the url, but the server is down. Damn!

All this annoying issues kill the Rails rapidity on application prototyping. But, what if all the plugins which I need are available offline on my notebook? I can forget about all that urls, and I should stop to worry about the server status.

To solve this problems, I wrote Sashimi, it's a gem that manages you favourite Rails plugins in a local repository.

How It Works?

First you need to install it with:

   1  $ (sudo) gem install jodosha-sashimi --source=http://gems.github.com


Now you can install a plugin on your local repository:

   1  $ sashimi install git://github.com/jodosha/click-to-globalize.git


Ta-daaaa!! Now Click to Globalize is available offline:

   1  $ sashimi list
   2  
   3  click-to-globalize


If you need to add it to your Rails app, just move to your app root, then type:

   1  $ sashimi add click-to-globalize

Conclusion

I found Sashimi really useful, I hope you too.

For the complete reference, please check out at the official gem page.

advertising

Comments

  1. Luis Lavena's Gravatar

    Posted by Luis Lavena on 2008-05-20 14:59:15 UTC (permalink)

    Great Idea!

    Feature request: I'll love the sashimi report the revision/sha of the installed plugins :-D

    Also it seems that when doing the list of plugins, your current directory get lost and it' jump into the local repository one...

    I'll check that later and send a patch! :-)

    Thank you for your work!

  2. Luca Guidi's Gravatar

    Posted by Luca Guidi on 2008-05-21 09:34:35 UTC (permalink)

    @Luis Why do you need to store the revision?

  3. Luca Guidi's Gravatar

    Posted by Luca Guidi on 2008-05-21 09:36:15 UTC (permalink)

    @Luis Why do you need to store the revision id?