Register a custom require extension for rhtml