fix gemfile and add pkg to gitignore