fix rubygems path
add some patterns
change some