clone Rails App Boilerplate from Github:
Then run:
$ git clone git://github.com/fdv/rails-app-boilerplate.git
Copy config/database.yml.yourdatabase to config/database.yml and fill in your credential.Then run:
$ bundle install
$ rake db:create
$ rake db:migrate
$ rake db:seed
$ ./scripts/rails server
Now, you can access your application in your Web browser at 127.0.0.1:3000
from https://github.com/fdv/rails-app-boilerplate
(https://github.com/jamiew/rails-app-boilerplate)
related post: http://briteming.blogspot.co.uk/2014/05/linux-vpsrailsmysql-publify.html