Ensure database directory always exists in the dummy app.
Update the Rails version.

- Change RVM's Ruby version to fix problem with the json gem.