[Ruby] Ruby/Rails/gemのバージョン確認

rails --version
# Rails 3.0.3
ruby --version
# ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2010.02
gem -v
# 1.3.7