From: Jamis Buck Date: 2005-01-26T03:58:55+09:00 Subject: Re: SQLite-Ruby and Cygwin: Problem and Solution On 03:32 Wed 26 Jan , Jim Weirich wrote: > > Jamis Buck said: > > Non-standard install locations are problematic for compiled gems (like > > sqlite-ruby). If you installed by hand, you could easily specify the > > necessary "--with-sqlite-lib" and "--with-sqlite-include" parameters > > to the install script, but with gems.. > > > > Chad, Jim, et. al.: is there a way (or could there be a way) to allow > > the gem command to take optional parameters that get passed through > > directly to the extconf.rb script? > > Just add the extconf.rb options to the gem install command after a "--". > > See http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/106092 Wonderful! I should have known you gems guys would already have figured this one out. :) So, for future reference, if you are installing sqlite-ruby via gems and you have sqlite installed in a location other than /usr, try: gem install sqlite-ruby -- --with-sqlite-lib=/usr/local/lib --with-sqlite-include=/usr/local/include - Jamis -- Jamis Buck jamis_buck@byu.edu http://jamis.jamisbuck.org ------------------------------ "I am Victor of Borge. You will be assimil-nine-ed."