On Sat, Feb 06, 2010 at 03:16:55AM +0900, Ryan Davis wrote: > > On Feb 5, 2010, at 06:22 , Phrogz wrote: > > > On Feb 5, 6:43 am, Phrogz <phr... / mac.com> wrote: > >> I don't know what this means, though: > >> Slim2:~ phrogz$ ruby -e "puts `which gem`" > >> -e:1: unknown regexp options - lcal > > > > Silly me, wrong quotes: > > > > Slim2:~ phrogz$ ruby -e 'puts `which gem`, `which ruby`' > > /usr/local/bin/gem > > /usr/local/bin/ruby > > hrm... what does `gem env` say? When 'rdoc_osx_dictionary' is run in the at_exit handler from post_install hook it is run directly as INSTALLATION_DIRECTORY/gems/rdoc_osx_dictionary-1.2.0/bin/rdoc_osx_dictionary and not through the gem bin wrapper. % head -1 $(gemdir rdoc_osx_dictionary)/bin/rdoc_osx_dictionary #!/usr/bin/ruby -ws Looks like it is going to invoke the system ruby every time no matter what. enjoy, -jeremy -- ======================================================================== Jeremy Hinegardner jeremy / hinegardner.org