On 5/12/05, Jim Freeze <jim / freeze.org> wrote: > * Ara.T.Howard / noaa.gov <Ara.T.Howard / noaa.gov> [2005-05-13 01:35:28 +0900]: > > > On Fri, 13 May 2005, Jim Freeze wrote: > > > > % cd > > > /Users/jdf/local_ruby/ruby-1.8.2/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3/ext > > > % ruby extconf.rb > > > checking for main() in -lsqlite... no > > > checking for sqlite.h... no > > > > > >Are there some tricks to get extconf to find my lib and include files? > > > > --with-sqlite-dir=/Users/jdf/local > > Wow, thanks. > > % ruby extconf.rb --with-sqlite-dir=/Users/jdf/local > checking for main() in -lsqlite... yes > checking for sqlite.h... yes > checking for sqlite_open() in -lsqlite... yes > creating Makefile > > How do I get rubygems to do this? Chad, Jim, anyone?? > > -- > Jim Freeze > Ruby: I can explain it to ya but I can't understand it fer ya. > > gem install sqlite-ruby -v 2.2.3 -- --with-sqlite-dir=/Users/jdf/local Uses the double dash separate similar to the old startx script with X. -- Chad Fowler http://chadfowler.com http://rubycentral.org http://rubygarden.org http://rubygems.rubyforge.org (over 300,000 gems served!)