On Aug 19, 2009, at 23:46 , Martin Glein wrote: >>> % gem spec shotgun-0.4.gem | egrep "files|bin" >>> bindir: bin >>> extra_rdoc_files: >>> files: >>> - bin/shotgun >>> test_files: [] > > I'm getting the same output. There is no /bin/shotgun file, though. > And there are no shotgun-files in /usr/lib/ruby/1.8, neither. 506 % sudo gem install --no-ri --no-rdoc shotgun Successfully installed configuration-0.0.5 Successfully installed launchy-0.3.3 Successfully installed shotgun-0.4 3 gems installed 507 % gem contents shotgun README COPYING Rakefile shotgun.gemspec lib/shotgun.rb bin/shotgun 508 % gem contents --prefix shotgun /Library/Ruby/Gems/1.8/gems/shotgun-0.4/README /Library/Ruby/Gems/1.8/gems/shotgun-0.4/COPYING /Library/Ruby/Gems/1.8/gems/shotgun-0.4/Rakefile /Library/Ruby/Gems/1.8/gems/shotgun-0.4/shotgun.gemspec /Library/Ruby/Gems/1.8/gems/shotgun-0.4/lib/shotgun.rb /Library/Ruby/Gems/1.8/gems/shotgun-0.4/bin/shotgun 509 % ll /usr/bin/shotgun -rwxr-xr-x 1 root wheel 430 Aug 20 00:09 /usr/bin/shotgun* you _did_ use sudo, right? Maybe you have write perms into the gem directory but not into /usr/bin/? If so, I'd remove the write perms from the gem directory so the problem is more obvious from now on. try: sudo gem pristine shotgun