Changed to file described in rails tutorial 

http://ruby.railstutorial.org/chapters/beginning#code-gitignore