fix for heroku? added 'require rubygems'
Changed routes so root maps to /posts/index