This is something I just found lately, but resource names should be unique. Chef may try to omit resources with the same name, or combine them in unwanted ways. Here maybe it's better to use something like this:

```ruby
bash "Checking out #{version} in #{destination}" do
    # ...
end
```