Installing Developed Application on to another PC


I have developed a forum in Ruby on Rails based on a mySQL 4.1 server
What I need to do is install this application on other PC. I was
wondering if there is a neat and tidy way of doing this.

Currently I have to install Ruby on Rails, and mySQL on the target PC,
then copy and paste the ruby on rails forum files along with the mysql
database. This however doesn’t seem to work. An exception is throw which
basically shows that there are problems in interacting with the copied

I would be grateful for any advice on creating installation projects or
my problem with interacting with the database.

Thanks David