fix capfile load rb file