From: Ryan Davis Date: 2010-02-06T10:44:21+09:00 Subject: Re: rdoc_osx_dictionary 1.2.0 Released On Feb 5, 2010, at 11:45 , Jeremy Hinegardner wrote: > 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. kk. that'll be fixed in my next release... along with awesome indexing improvements... But I'd like to know how this happened in the first place: 1) your root doesn't have /opt/local/bin in the path. 2) if you head your wrapper script, its path is /usr/bin/ruby How'd you install? How'd you run? What are you seeing? I assume `sudo gem install blah` invoked it.