On Oct 21, 2007, at 7:45 PM, Darthen wrote:
In a video-training that I’m following right now I tired to update the
gems and the generate rdoc via the terminal. It didn’t work.
How can I uninstall rails and all the dependencies (is this
necessary?) and start over with a fresh install?
“It didn’t work” usually implies one of four outcomes:
You manually put some documentation files into some files from /
usr/local/lib/ruby, as well as copies of random system files and a
picture of your ex-wife.
You had originally run ‘gem install’ with sudo, but went to run
the doc install without sudo, thus getting a permissions error.
You thought about installing docs, but since you have not
actually yet completed your psychic training, the city of Phoenix
caught fire, and entire state of Arizona is at risk. The National
Guard confiscated your machine and secured it in a lead box through
which your psychic powers can do no further damage.
rdoc got confused by directories that looked like existing
directories, and issued an error to that effect.
If #1 or #3, I can’t help you. Also can anyone from Phoenix please
mail me off-list to let me know they’re ok?
If #2, run the commands with ‘sudo’ to override permissions.
If #4, rdoc will have complained that the directory looks like it’s
already in use. Create a ‘created.rid’ file in the directory so rdoc
knows it’s working with an rdoc directory.
If none of the above describe your problem then please describe (a)
what you did, (b) what you expected to happen, © what actually
happened, and (d) anything else you can think of that might be
relevant (e.g. how you installed rails, any specific config, etc.).