Skip to content
  • Yasuo Honda's avatar
    2a835eb1
    Use `googleauth` gem 0.8.0 if Ruby version is 2.2 · 2a835eb1
    Yasuo Honda authored
    `googleauth` 0.8.1 requires Ruby 2.3 to support indented here document `<<~`
    
    https://travis-ci.org/rails/rails/jobs/512320216#L1788
    
    ```ruby
    /home/travis/build/rails/rails/activesupport/lib/active_support/dependencies.rb:291:in `require': /home/travis/.rvm/gems/ruby-2.2.10/gems/googleauth-0.8.1/lib/googleauth/application_default.rb:37: syntax error, unexpected << (SyntaxError)
        NOT_FOUND_ERROR = <<~ERROR_MESSAGE.freeze
    ```
    
    If Ruby version is 2.3+, we do not have to specify the `googleauth`
    gem version because `google-cloud-storage` and `google-api-client` gem
    will find the required `googleauth` gem version by itself.
    2a835eb1
    Use `googleauth` gem 0.8.0 if Ruby version is 2.2
    Yasuo Honda authored
    `googleauth` 0.8.1 requires Ruby 2.3 to support indented here document `<<~`
    
    https://travis-ci.org/rails/rails/jobs/512320216#L1788
    
    ```ruby
    /home/travis/build/rails/rails/activesupport/lib/active_support/dependencies.rb:291:in `require': /home/travis/.rvm/gems/ruby-2.2.10/gems/googleauth-0.8.1/lib/googleauth/application_default.rb:37: syntax error, unexpected << (SyntaxError)
        NOT_FOUND_ERROR = <<~ERROR_MESSAGE.freeze
    ```
    
    If Ruby version is 2.3+, we do not have to specify the `googleauth`
    gem version because `google-cloud-storage` and `google-api-client` gem
    will find the required `googleauth` gem version by itself.
This project manages its dependencies using Bundler. Learn more
Loading