updated gem file and application.rb

Needed addings to get app working on OSX 10.9.2