Using Ruby Gems On Ruby On Rails

Is it possible to use ruby gems such as "gosu" or "fxruby" on a rails applications? And if so how do you do it?

Just add

source ‘https://rubygems.org

to the top of your Gemfile - afterwards add the gems to the Gemfile and run

bundle install

on the Terminal.