Problem with gem

I am trying to install rails on OSX, but gem does not seem to be
working. I type in the command and it does nothing, there is no error
message. It does this for any command, such as gem -v. Any help is
appreciated.

Hi Bryan.

Hope these steps will help you

http://crypto.stanford.edu/cs142/projects/6/macRubyInstall.html
http://spyrestudios.com/setting-up-a-rails-development-system-on-mac-osx-snow-leopard/

Note: Installing X-Code is must for dependent installation files