$:.unshift('.') $:.unshift(File.dirname(__FILE__)) require File.join(File.dirname(__FILE__),"../lib/logo") yml='/Users/cuizheng/Documents/rca_project/rca.cv/test/suite/suite.yml' sco = Logo::Scouts.new(yml) puts sco.show_hand('./test/1371714252.jpg') puts sco.show_hand('./test/1371714902.jpg')