Update .gitignore and add Ruby version to Gemfile