Rails already searches the correct path for template because of lib module context

Fixes #2146