What to do with existing database?

Hi there,

There is an already existing database on a remote server.

What is the best strategy:

A. use local machine’s RoR and connect to remote DB
B. install RoR on server

if I should use option A, how do I connect?
if I should use option B, how do I do it?
are there any other options?