On May 27, 2008, at 15:35 PM, Tim Hunter wrote: > 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] -- tells RubyGems to stop processing options. --configure-options or --build-flags are just dummy names for whatever it is you actually want to specify.