On Tue, May 31, 2011 at 4:58 PM, Ruby Student <ruby.student / gmail.com> wrote: > gem install rubywmq > > <internal:lib/rubygems/custom_require>:29:in `require': no such file to load > -- generate/generate_reason (LoadError) > from <internal:lib/rubygems/custom_require>:29:in `require' > from extconf.rb:18:in `<main>' The first problem is an incompatibility between this gem's code and 1.9.2's default load path (in 1.9.2 "." is not in the load path so the require fails). I worry that there will be more serious complications to come, but we can get past this by running extconf directly: cd /usr/local/lib/ruby/gems/1.9.1/gems/rubywmq-1.0.0/ext ruby -I. extconf.rb At this point it fails for me, becuase I do not have the WebSphere MQ libraries: ....rvm/gems/ruby-1.9.2-p180/gems/rubywmq-1.0.0/ext/generate/generate_reason.rb:6:in `initialize': No such file or directory - /opt/mqm/inc/cmqc.h (Errno::ENOENT) But, I assume you do; so, you should get farther down the road.