I think you also need to specify:
```ruby
spec.bindir = 'bin'
```