Update pool.rb

fix loading error