Fix rubygems for x86_64, add readline to packages