Add lib directory to rails dirs.
Add rcodetools with anything support.