Friday, May 23, 2008

Ruby, Rails, Mongrel, Monit, Nginx on Ubuntu 7.10 Gutsy

Ubuntu 7.10 on SilverRack

I used to have a tutorial here, and I had gotten the files from an existing server. I made it for myself. Since ezra posted making sure I wasn't violating any copyrights, I've decided to take it down, since I can't prove where those files were taken from.

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

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