Expose popular ruby paths and refactor a bit