From: "Shareef J." Date: 2012-08-17T21:34:42+09:00 Subject: Debugging failed Ruby Gem require Hi there, I'm trying to debug why my Ruby installation cannot find gems even though we've followed what I think is a standard install. In this case I'm trying to use micro-optparse and the require fails as follows: :29:in `require': no such file to load -- micro-optparse (LoadError) from :29:in `require' from /home/sjalloq/bin/checkout:3:in `
' The gem was installed using 'gem install ...' and I can list the gem: $ gem list mic *** LOCAL GEMS *** micro-optparse (1.1.5) If I set RUBYLIB to point to the gem installation then it loads but I thought RUBYLIB was only needed for non-standard installs. Is my understanding of installing gems correct and if so how do I debug this further? $ gem --version 1.3.7 $ ruby --version ruby 1.9.2p136 (2010-12-25) [x86_64-linux] Thanks, Shareef. -- Posted via http://www.ruby-forum.com/.