Friday, May 23, 2008
Sunday, May 11, 2008
Rails.vim breaks in Hardy Heron
Well, Vim breaks when using rails.vim in Ubuntu 8.04 Hardy Heron. Took me a few days to decide to actually try and fix it and not downgrade back down to Gutsy.
This post explains what you can do to fix this error. We'll upgrade to the latest Vim. Because the error is caused by an old version of Vim and rails.vim, you need to update it. You can read about it in this thread. That was my starting point to find the fix.
1) Download and install the latest version of Vim
2) Install all the plugins and scripts again
3) If you use haml, when I downloaded the latest version today of the haml syntax script, I had some illegal carriage return errors. I had to open haml.vim then save it via
This post explains what you can do to fix this error. We'll upgrade to the latest Vim. Because the error is caused by an old version of Vim and rails.vim, you need to update it. You can read about it in this thread. That was my starting point to find the fix.
1) Download and install the latest version of Vim
svn co https://vim.svn.sourceforge.net/svnroot/vim/vim7
cd vim7
./configure --with-features=huge
sudo make
sudo make install
2) Install all the plugins and scripts again
3) If you use haml, when I downloaded the latest version today of the haml syntax script, I had some illegal carriage return errors. I had to open haml.vim then save it via
:w ++ff=unix
Subscribe to:
Posts (Atom)