Ricalsin
May 12th, 2011, 07:53 AM
Has anyone else noticed that you cannot get ruby to work in vim on the new Natty 11.04? No vim-ruby in Natty. Vim 7.3 states it needs ruby1.9.1-dev but even that is not getting the "+ruby" in a "vim --version" command after compiling the binaries. This problem stops some significant vim scripts from working.
I have exhausted myself and cannot find an answer. I think the problem is somewhere in the vim version released by Natty (vim-7.3.035) and the latest vim release on the mercurial site. When I used the very latest release of vim (vim-7.3.277) from Mercurial, I WAS able to get the "vim --version" = "+ruby" But that version of vim did not work within Natty, showing a significant error after running "make test" about not being able to locate an object or something (sorry, didn't write it down) - couldn't even get a file to load when running that version of vim. So it loaded the ruby code but then had other problems. Going back to the vim version that was released within Natty (vim-7.3.035) still produced no +ruby in a "vim --version" command though it can open a file and read it.
Yes, I'm doing the obvious; changing the Makefile "--enable-rubyinterp", doing a "make uninstall" a "make clean" and a "make install". Still no success. I'm dreary and a bit pissed that Ubuntu seems to have missed this (significant) error. But I would be happy to know I missed something simple.
Any thoughts? (Thanks.)
Rick
I have exhausted myself and cannot find an answer. I think the problem is somewhere in the vim version released by Natty (vim-7.3.035) and the latest vim release on the mercurial site. When I used the very latest release of vim (vim-7.3.277) from Mercurial, I WAS able to get the "vim --version" = "+ruby" But that version of vim did not work within Natty, showing a significant error after running "make test" about not being able to locate an object or something (sorry, didn't write it down) - couldn't even get a file to load when running that version of vim. So it loaded the ruby code but then had other problems. Going back to the vim version that was released within Natty (vim-7.3.035) still produced no +ruby in a "vim --version" command though it can open a file and read it.
Yes, I'm doing the obvious; changing the Makefile "--enable-rubyinterp", doing a "make uninstall" a "make clean" and a "make install". Still no success. I'm dreary and a bit pissed that Ubuntu seems to have missed this (significant) error. But I would be happy to know I missed something simple.
Any thoughts? (Thanks.)
Rick