fix Gemfile and Post model