You don't need to enter the directory twice; you can:

```ruby
cd 'spim' do
  system 'make'
  system 'make install'
end
```