Adding specs for delegate attributes

This is a first step adding specs.

- added RVM support
- added specs for delegate_attributes