C:\Documents and Settings\ted>gem install soap4r
Successfully installed soap4r-1.5.8
1 gem installed
Installing ri documentation for soap4r-1.5.8...
Installing RDoc documentation for soap4r-1.5.8...
C:\Documents and Settings\ted>gem install jira4r
Fetching: jira4r-0.3.0.gem (100%)
Successfully installed jira4r-0.3.0
1 gem installed
Installing ri documentation for jira4r-0.3.0...
Installing RDoc documentation for jira4r-0.3.0...
C:\Documents and Settings\ted>irb
irb(main):001:0> require 'jira4r/jira4r'
LoadError: cannot load such file -- jira4r/jira4r
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
from (irb):1
from C:/Ruby193/bin/irb:12:in `<main>'
irb(main):002:0>
所需的两个 gem(soap4r 和 jira4r)都成功 install 了,但是在 irb 中按照教程 require 就抱错,cannot load such file,gem 不是装上了吗?
http://svn.atlassian.com/svn/public/contrib/jira/jira-rpc-samples/src/ruby/jira4rsample.rb http://jira4r.rubyhaus.org/2+minute+walkthrough