From: "Iñaki Baz Castillo" Date: 2011-03-01T00:26:02+09:00 Subject: Re: gemspec: How to install a Ruby extension into GEM/lib/SOME_DIR/ rather than GEM/lib/ 2011/2/28 Iñaki Baz Castillo : > when running "gem install xx-handler" the compiled extension > xxx_parser.so is installed into GEMS_DIR/xxx-handler/lib/ directory. > Is it possible to tell the gemspec file to install the extension in a > subdirectory within GEMS_DIR/xxx-handler/lib/ ? Solved. Using "create_makefile(dir/name)" does the work (thanks to Luis Lavena). -- Iñaki Baz Castillo