Wrong syntax, reference: http://docs.opscode.com/resource_ruby_block.html

```
ruby_block "name" do
  block do
    # some Ruby code
  end
  action :action
en
```