我用
$ gem build <gemspec>
它构建成功,我成功安装了它。
但是当我执行以下操作时:
$ irb -rubygems
irb(main):003:0 require 'xxxx'
我收到以下错误:
LoadError: no such file to load -- xxxx
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in 'gem_original_require'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in 'require'
我究竟做错了什么?