I realize this question has been long dead, but I thought an answer would be helpful to others directed here by Google (like me). So here's the solution:
Along with installing the vim-textobj-rubyblock and vim-textobject-user plugins, you'll need to add the following line to your
Note: In most situations, the
matchit.vim plugin does not need to be installed; it's been included in the standard distribution since vim 6.0.
For more information, see the entry A Text-Object for Ruby Blocks on vimcasts.org.