Brad Lucas

Programming, Clojure and other interests

Errors Install Ruby On Rails On Linux

August 18, 2006

If you see errors like the following while installing Ruby and Rails

custom_require.rb:21:in `require__': No such file to load -- zlib (LoadError)

See the following links as I found them helpful.

Continue reading →

Building Emacs On Linux

August 2, 2006

This is worth repeating if someone needs this tip and finds it earlier than I did.

When building on some versions of Linux, Emacs will seg fault during the build. It is mentioned in the etc/PROBLEMS but was unclear. Eric Raymond posted a cleaned up PROBLEMS file that makes it more clear. (His post is here ).

In short I entered the following and Emacs built fine.

setarch i386 ./configure
setarch i386 make
Continue reading →

Scp Timeouts

July 31, 2006

If you have put scripts using scp that timeout due to a slow connection or if you are tunneling out through a proxy. Ty the following flags passed into scp.

-o ServerAliveCountMax=1500 -o ServerAliveInterval=20
Continue reading →

Hsqldb Not Writing Changes To Disk

July 16, 2006

If you are working with HSQLDB v1.8 and you don’t see changes written to disk or if after you app runs you can view your data it’s because HSQL since 1.7 is not closing the database after the last connection is closed.

To fix this append the following to your JDBC url.


See the following link for more details:

Continue reading →

Pretty Printing Classpaths Within Ant

July 16, 2006

I found a great Ant tip over at

With it you can debug your classpath references quite nicely.

Continue reading →