added guard to gemfile