I believe that there are 2 possible ways to solve your problem.
First, temporarily remove the Janus distribution and replace it with a minimum of .vimrc . Then install the ERuby plugin and see if it works. If it works now, the problem should be in conflict with one of the other plugins, and you should try to reconnect the different Janus plugins one by one to see where the error is. However, if it still does not work, you know that the plugin itself does not work on your system, and you can send a detailed error report to the author (including the operating system you are using and the version of vim).
Alternatively, it is very easy to reconfigure Vim to use a different indentation method. You can use another built-in indent ( :h indentexpr ), for example for XML:
autocmd FileType eruby setl indentexpr=XmlIndentGet(v:lnum,1)
Or you can configure Vim to use an external indentation program ( :h equalprg ).
source share