From: "Jonas Pfenniger (zimbatm)" Date: 2011-01-13T21:44:35+09:00 Subject: Re: Embedding Ruby Interpreter + RUBYGEMS 2011/1/13 Ryan Davis : > > On Jan 13, 2011, at 1:56, Christoph Müller wrote: > >> # will results always result in the LoadError: "no such file to load - >> facets" >> rb_require("facets") > > That's the pure c require, not rubygem's extension of require. > Right, you'll have to rb_funcall the require method, because rubygems overrides the original method, which you won't see by using the C-version obviously.