compatibility with ruby 1.9.2
procfile for heroku deployment
fixing bug