Move between prod and spec code working for rubby