Fix breakage caused by gem update change.
Update gems.
Update hgignore.
Add public/ to follow passenger style.