update gems and config files
configed routes
Merge pull request #1 from 7nitemare9/Rails4

Rails4