running brew doctor

I installed rails, but once it finished it said that it didn’t like python. I had python on my computer from an old class, but I thought I had deleted it. It said do not do anything before running brew doctor. When I retry installation, my terminal says it already installed. How do I run brew doctor or what is the next step?

I don’t know anything about macs, but on my windows AND my Linux box I have python and rails coexisting nicely.

@Zak, Good Afternoon… did you unlinked python to brew?