From: Tim Hunter Date: 2008-05-28T07:35:13+09:00 Subject: Re: Gem configuration options Eric Hodel wrote: > On May 27, 2008, at 12:41 PM, Jon A. Lambert wrote: > >> How do you pass configuration options to extconf.rb when installing a >> gem? >> Specifically I'd like to configure ruby-gd. >> >> $ gem install ruby-gd ??something?? --with-freetype --with-ttf >> --with-jpeg --enable-gd2_0 > > gem install ruby-gd -- --configure-options > Is that a new option? I thought it was --build-flags. ~$ gem --version 1.0.1 ~$ gem help install Usage: gem install GEMNAME [GEMNAME ...] [options] -- --build-flags [options] -- RMagick: http://rmagick.rubyforge.org/ RMagick 2: http://rmagick.rubyforge.org/rmagick2.html