added .ruby-version and updated .gitignore

Fixed #697