added gemfile and fixed spec