# Fwd: "can't convert Subclass\_..." when isolating an interface

**URL:** <https://www.ruby-forum.com/t/fwd-cant-convert-subclass-when-isolating-an-interface/192752>\
**Category:** IronRuby\
**Created:** [August 4, 2010, 11:41pm UTC](https://www.ruby-forum.com/t/fwd-cant-convert-subclass-when-isolating-an-interface/192752 "2010-08-04T23:41:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![barby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@barby](https://www.ruby-forum.com/u/barby)\
**Post date:** [August 4, 2010, 11:41pm UTC](https://www.ruby-forum.com/t/fwd-cant-convert-subclass-when-isolating-an-interface/192752/1 "2010-08-04T23:41:20Z")

</div>

I just looked at your sample project

It’s best to require spec before caricature because caricature hooks  
into  
spec  
The IHomeRepository interface is empty. Try adding a method to that and  
see  
if it still occurs.

you can also add require ‘caricature/aspnet\_mvc’

## I don’t have a windows machine running atm but I’ll check tomorrow if this didn’t help you

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))  
Microsoft IronRuby/C# MVP
