From: John Joyce Date: 2008-02-21T03:10:18+09:00 Subject: Re: ruby tk -- how do you get it working? On Feb 20, 2008, at 8:52 AM, Leslie Viljoen wrote: > On Feb 20, 2008 8:59 AM, 7stud -- wrote: >> Morton Goldberg wrote: >>> On Feb 19, 2008, at 7:41 PM, 7stud -- wrote: >>> >>>> manifest or an uninstaller. >>> After the installer launches, select File>Show Files from the menu >>> bar. Or just hit cmd-I. >>> >>> Regards, Morton >> >> Ok, I did that, and I would estimate that there are around 500-1500 >> files listed. Here are the first few: >> >> . >> ./usr >> ./usr/local >> ./usr/local/bin >> ./usr/local/bin/erb >> ./usr/local/bin/gem >> ./usr/local/bin/gem_mirror >> ./usr/local/bin/gem_server >> ./usr/local/bin/gemlock >> ./usr/local/bin/gemri >> ./usr/local/bin/gemwhich >> ./usr/local/bin/gpgen >> ./usr/local/bin/index_gem_repository.rb >> ./usr/local/bin/irb >> ./usr/local/bin/mongrel_rails >> ./usr/local/bin/ragel >> ./usr/local/bin/rake >> ./usr/local/bin/rdoc >> ./usr/local/bin/ri >> ./usr/local/bin/rlgen-cd >> ./usr/local/bin/rlgen-dot >> ./usr/local/bin/rlgen-java >> ./usr/local/bin/rlgen-ruby >> >> >> 1) I can't go through all those and delete them by hand. > > You could search the drive for "rlgen-ruby". If it is only in /usr/ > local/bin, > you have it on good authority that the installed was in "/" when > it ran (so "." refers to "/"). > > You should then be able to: > > cd / > for file in `cat /receipts/filelist.txt`; do ls -la $file; done > > ..then if you are happy with that list of file, you can do the more > dangerous: > > cd / > for file in `cat /receipts/filelist.txt`; do rm $file; done > > These should work on Linux under bash. OSX uses tcsh I think: > http://www.ss64.com/osx/ > > ..so it looks the same but I haven't tested on the macbook. > > Les > No. OS X uses Bash as default shell. It used to use tcsh before 10.4 it's been Bash for several years... At this point, I'm going to recommend the OP get a book such as UNIX in a Nutshell from Oreilly. It's a great reference to keep around. If new to *nix get Learning Unix for Mac OS X Tiger (since that's apparently the version you've got) I'm not trying to say RTFM, but if you want to get farther with Ruby (or Perl, Python, PHP, etc...) these books will help you get up to speed on the unix things you should learn. You'll feel a lot more comfortable with what you're doing, I promise. Regardless, definitely go for the Hivelogic install, building it yourself gives you some practice and experience with command line tools. Nothing to fear. If you hose your system, reinstall. If you don't already, do backups.