Released Sashimi 0.2.1

Posted by luca
on Monday, September 29

I've just released a new version of Sashimi (0.2.1), it fixes a bug for Ubuntu.

The Problem

When the script starts tries to load repository concerned classes: GitRepository and SvnRepository, which are subclasses of AbstractRepository. In repositories.rb I use Dir#[] to load all the .rb files in a certain directory, but the order of the resulting array is unpredictable, so if the first class was not AbstractRepository Sashimi was crashing.

The Solution

I've fixed it, so, if you have experienced this problem, please update Sashimi with:

$ (sudo) gem update sashimi

Comments

Leave a response

  1. Philipe FariasSeptember 30, 2008 @ 09:06 AM
    Hi, I've heard of Sashimi and got really interested. Installed 0.2.1 version a little ago but when I try to install a plugin (rspec-rails) in a new Rails app on Ubuntu 8.04.1 I got this: "Rspec Rails Initialized empty Git repository in /home/nativo/.rails/plugins/rspec-rails/.git/ remote: Counting objects: 47261, done. remote: Compressing objects: 100% (10991/10991), done. remote: Total 47261 (delta 33695), reused 47116 (delta 33618) Receiving objects: 100% (47261/47261), 6.03 MiB | 106 KiB/s, done. Resolving deltas: 100% (33695/33695), done. Invalid cross-device link - /tmp/.plugins.7147.0 or .plugins" See the last line? Problem... After that the rspec-rails directory is in the ~/.rails/plugins/ but a sashimi add rspec-rails give this: "rspec-rails isn't in the local repository." Do you know how to solve this?
  2. Luca GuidiSeptember 30, 2008 @ 10:12 AM
    Hi Philipe, thanks for reporting. Another Ubuntu user just reported this issue. I created a ticket with the explanation (http://tinyurl.com/4cojcz). I'm not sure if it's a Sashimi bug or ActiveSupport. Please check the ticket and report your results. Thank you.
  3. Luis LavenaOctober 05, 2008 @ 01:24 AM
    Hey Luca, I'm also a user and lover of sashimi tool, and I can say it works on Windows (I've forked it on GitHub). I'm using it with Git repositories and works great for installing plugins, but when I try to update those (update --rails) it fails with random svn errors arguing that the lib/something is not a valid subversion working copy :-P both svn and git are in the path, but note that git on Windows don't have all the git-* commands (only git <space> command). Regards and thank you for your work.
  4. Luca GuidiOctober 05, 2008 @ 10:29 PM
    Hi Luis, Please can you report all the issues to http://sushistar.lighthouseapp.com ? Thank you, I'm glad you've appreciated my work.