我在 irb 下测试:
irb(main):001:0> require 'rubygems'
=> false
irb(main):002:0> require 'roo'
=> true
irb(main):003:0> s = Excel.new("/Users/tangmonk/Desktop/zhongshikehua/import.xls")
NameError: uninitialized constant Excel
from (irb):3
from /Users/tangmonk/.rvm/rubies/ruby-2.0.0-p247/bin/irb:12:in `<main>'
irb(main):004:0>