You most likely have more than one Ruby installed.
If you are using RVM, you probably need to run:
rvm use system
to set the version of ruby to use.
See http://rvm.io/rubies/default
ruby -v
will tell you the version you are currently using.