(2.6ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.1ms)  select sqlite_version(*)
   (1.2ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
Google::APIClient - Initializing client with options {:application_name=>"Saeko Directory API", :application_version=>"1.0.0"}
Google::APIClient - Initializing client with options {:application_name=>"Saeko Directory API", :application_version=>"1.0.0"}
Google::APIClient::Request Sending API request get https://www.googleapis.com/discovery/v1/apis/admin/directory_v1/rest {"User-Agent"=>"Saeko Directory API/1.0.0 google-api-ruby-client/0.8.6 Mac OS X/10.10.2\n (gzip)", "Accept-Encoding"=>"gzip", "Content-Type"=>""}
Decompressing gzip encoded response (12983 bytes)
Decompressed (116848 bytes)
Google::APIClient::Request Result: 200 {"expires"=>"Tue, 21 Apr 2015 22:37:20 GMT", "date"=>"Tue, 21 Apr 2015 22:32:20 GMT", "etag"=>"\"ye6orv2F-1npMW3u9suM3a7C5Bo/Gkp35yY2tnMjjfSgryNCrENSB-w\"", "vary"=>"Origin, X-Origin", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "content-length"=>"12983", "server"=>"GSE", "age"=>"206", "cache-control"=>"public, max-age=300, must-revalidate, no-transform", "alternate-protocol"=>"443:quic,p=1", "connection"=>"close"}
Google::APIClient::Request Sending API request get https://www.googleapis.com/admin/directory/v1/users/saeko@kioru.com {"User-Agent"=>"Saeko Directory API/1.0.0 google-api-ruby-client/0.8.6 Mac OS X/10.10.2\n (gzip)", "Accept-Encoding"=>"gzip", "Content-Type"=>"", "Authorization"=>"Bearer ya29.GQEo3gF-dMx62MiAPN1IPKj4M3FetiHbfRjlo04J-QUACZCgHcmeEI8mim3dCDXmhP3Qgtx3urpjaQ6zUAwZkaRsZwybsPVaeIK1OKAvZa7sfkBahjOG-10g_h6I-bHuRdCrqSK9W1XF5g", "Cache-Control"=>"no-store"}
Decompressing gzip encoded response (162 bytes)
Decompressed (249 bytes)
Google::APIClient::Request Result: 401 {"vary"=>"Origin, X-Origin", "www-authenticate"=>"Bearer realm=\"https://accounts.google.com/\", error=invalid_token", "content-type"=>"application/json; charset=UTF-8", "date"=>"Tue, 21 Apr 2015 22:36:48 GMT", "expires"=>"Tue, 21 Apr 2015 22:36:48 GMT", "cache-control"=>"private, max-age=0", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "server"=>"GSE", "alternate-protocol"=>"443:quic,p=1", "connection"=>"close", "transfer-encoding"=>"chunked"}
Attempting refresh of access token & retry of request
Google::APIClient::Request Sending API request get https://www.googleapis.com/admin/directory/v1/users/saeko@kioru.com {"User-Agent"=>"Saeko Directory API/1.0.0 google-api-ruby-client/0.8.6 Mac OS X/10.10.2\n (gzip)", "Accept-Encoding"=>"gzip", "Content-Type"=>"", "Authorization"=>"Bearer ya29.XAFogk_BfRzXQI-5nY-sAdKA2DhJgl1tyCJipeqcHoMD0ltX2lQZ-9UrOxC-U9oQnF7sjSPx1OqyjxMHhQtmPnTxgCy9DFdC6mnLweg0_BrOpcQPDwvT0TIUPu5dNidLDRyHKWepkT5pqg", "Cache-Control"=>"no-store"}
Decompressing gzip encoded response (149 bytes)
Decompressed (232 bytes)
Google::APIClient::Request Result: 403 {"vary"=>"Origin, X-Origin", "content-type"=>"application/json; charset=UTF-8", "date"=>"Tue, 21 Apr 2015 22:36:49 GMT", "expires"=>"Tue, 21 Apr 2015 22:36:49 GMT", "cache-control"=>"private, max-age=0", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "server"=>"GSE", "alternate-protocol"=>"443:quic,p=1", "connection"=>"close", "transfer-encoding"=>"chunked"}
== Google ERROR ==
	- execute({:api_method=>#<Google::APIClient::Method:0x3fc77cb2d2b0 ID:directory.users.get>, :parameters=>{"userKey"=>"saeko@kioru.com"}})
	- response:
--- !ruby/object:Faraday::Response
on_complete_callbacks: []
env: !ruby/struct:Faraday::Env
  method: :get
  body: |
    {
     "error": {
      "errors": [
       {
        "domain": "global",
        "reason": "forbidden",
        "message": "Not Authorized to access this resource/api"
       }
      ],
      "code": 403,
      "message": "Not Authorized to access this resource/api"
     }
    }
  url: !ruby/object:URI::HTTPS
    scheme: https
    user: 
    password: 
    host: www.googleapis.com
    port: 443
    path: "/admin/directory/v1/users/saeko@kioru.com"
    query: 
    opaque: 
    registry: 
    fragment: 
    parser: 
  request: !ruby/struct:Faraday::RequestOptions
    params_encoder: !ruby/module 'Faraday::FlatParamsEncoder'
    proxy: 
    bind: 
    timeout: 
    open_timeout: 
    boundary: 
    oauth: 
  request_headers: !ruby/hash:Faraday::Utils::Headers
    User-Agent: |-
      Saeko Directory API/1.0.0 google-api-ruby-client/0.8.6 Mac OS X/10.10.2
       (gzip)
    Accept-Encoding: gzip
    Content-Type: ''
    Authorization: Bearer ya29.XAFogk_BfRzXQI-5nY-sAdKA2DhJgl1tyCJipeqcHoMD0ltX2lQZ-9UrOxC-U9oQnF7sjSPx1OqyjxMHhQtmPnTxgCy9DFdC6mnLweg0_BrOpcQPDwvT0TIUPu5dNidLDRyHKWepkT5pqg
    Cache-Control: no-store
  ssl: !ruby/struct:Faraday::SSLOptions
    verify: true
    ca_file: "/Users/Omac/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/google-api-client-0.8.6/lib/cacerts.pem"
    ca_path: 
    verify_mode: 
    cert_store: 
    client_cert: 
    client_key: 
    certificate: 
    private_key: 
    verify_depth: 
    version: 
    symbolized_key_set: !ruby/object:Set
      hash:
        :verify: true
        :ca_file: true
  parallel_manager: 
  params: 
  response: 
  response_headers: !ruby/hash:Faraday::Utils::Headers
    vary: Origin, X-Origin
    content-type: application/json; charset=UTF-8
    date: Tue, 21 Apr 2015 22:36:49 GMT
    expires: Tue, 21 Apr 2015 22:36:49 GMT
    cache-control: private, max-age=0
    x-content-type-options: nosniff
    x-frame-options: SAMEORIGIN
    x-xss-protection: 1; mode=block
    server: GSE
    alternate-protocol: 443:quic,p=1
    connection: close
    transfer-encoding: chunked
  status: 403

Google::APIClient::Request Sending API request get https://www.googleapis.com/admin/directory/v1/users/saeko@redcuc.edu.mx {"User-Agent"=>"Saeko Directory API/1.0.0 google-api-ruby-client/0.8.6 Mac OS X/10.10.2\n (gzip)", "Accept-Encoding"=>"gzip", "Content-Type"=>"", "Authorization"=>"Bearer ya29.XAFogk_BfRzXQI-5nY-sAdKA2DhJgl1tyCJipeqcHoMD0ltX2lQZ-9UrOxC-U9oQnF7sjSPx1OqyjxMHhQtmPnTxgCy9DFdC6mnLweg0_BrOpcQPDwvT0TIUPu5dNidLDRyHKWepkT5pqg", "Cache-Control"=>"no-store"}
Decompressing gzip encoded response (459 bytes)
Decompressed (731 bytes)
Google::APIClient::Request Result: 200 {"expires"=>"Tue, 21 Apr 2015 22:37:31 GMT", "date"=>"Tue, 21 Apr 2015 22:37:31 GMT", "cache-control"=>"private, max-age=0, must-revalidate, no-transform", "etag"=>"\"MO4FtId2-yiZq_-3TpU3AZTf2Ak/Jc3tavO7FgPl-uwCuAjNksmOsTk\"", "vary"=>"Origin, X-Origin", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "server"=>"GSE", "alternate-protocol"=>"443:quic,p=1", "connection"=>"close", "transfer-encoding"=>"chunked"}
Google::APIClient - Initializing client with options {:application_name=>"Saeko Directory API", :application_version=>"1.0.0"}
Google::APIClient - Initializing client with options {:application_name=>"Saeko Directory API", :application_version=>"1.0.0"}
Google::APIClient - Initializing client with options {:application_name=>"Saeko Directory API", :application_version=>"1.0.0"}
Google::APIClient - Initializing client with options {:application_name=>"Saeko Directory API", :application_version=>"1.0.0"}
Google::APIClient::Request Sending API request get https://www.googleapis.com/discovery/v1/apis/admin/directory_v1/rest {"User-Agent"=>"Saeko Directory API/1.0.0 google-api-ruby-client/0.8.6 Mac OS X/10.10.2\n (gzip)", "Accept-Encoding"=>"gzip", "Content-Type"=>""}
Google::APIClient::Request Result: 200 {"expires"=>"Wed, 22 Apr 2015 01:33:47 GMT", "date"=>"Wed, 22 Apr 2015 01:28:47 GMT", "etag"=>"\"ye6orv2F-1npMW3u9suM3a7C5Bo/Gkp35yY2tnMjjfSgryNCrENSB-w\"", "vary"=>"Origin, X-Origin", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "content-length"=>"116848", "server"=>"GSE", "cache-control"=>"public, max-age=300, must-revalidate, no-transform", "age"=>"0", "alternate-protocol"=>"443:quic,p=1", "connection"=>"close"}
Google::APIClient - Initializing client with options {:application_name=>"Saeko Directory API", :application_version=>"1.0.0"}
Google::APIClient::Request Sending API request get https://www.googleapis.com/discovery/v1/apis/admin/directory_v1/rest {"User-Agent"=>"Saeko Directory API/1.0.0 google-api-ruby-client/0.8.6 Mac OS X/10.10.2\n (gzip)", "Accept-Encoding"=>"gzip", "Content-Type"=>""}
Google::APIClient::Request Result: 200 {"expires"=>"Wed, 22 Apr 2015 01:33:47 GMT", "date"=>"Wed, 22 Apr 2015 01:28:47 GMT", "etag"=>"\"ye6orv2F-1npMW3u9suM3a7C5Bo/Gkp35yY2tnMjjfSgryNCrENSB-w\"", "vary"=>"Origin, X-Origin", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "content-length"=>"116848", "server"=>"GSE", "age"=>"57", "cache-control"=>"public, max-age=300, must-revalidate, no-transform", "alternate-protocol"=>"443:quic,p=1", "connection"=>"close"}
Google::APIClient - Initializing client with options {:application_name=>"Saeko Directory API", :application_version=>"1.0.0"}
Google::APIClient::Request Sending API request get https://www.googleapis.com/discovery/v1/apis/admin/directory_v1/rest {"User-Agent"=>"Saeko Directory API/1.0.0 google-api-ruby-client/0.8.6 Mac OS X/10.10.2\n (gzip)", "Accept-Encoding"=>"gzip", "Content-Type"=>""}
Google::APIClient::Request Result: 200 {"expires"=>"Wed, 22 Apr 2015 01:33:47 GMT", "date"=>"Wed, 22 Apr 2015 01:28:47 GMT", "etag"=>"\"ye6orv2F-1npMW3u9suM3a7C5Bo/Gkp35yY2tnMjjfSgryNCrENSB-w\"", "vary"=>"Origin, X-Origin", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "content-length"=>"116848", "server"=>"GSE", "age"=>"85", "cache-control"=>"public, max-age=300, must-revalidate, no-transform", "alternate-protocol"=>"443:quic,p=1", "connection"=>"close"}
Google::APIClient - Initializing client with options {:application_name=>"Saeko Directory API", :application_version=>"1.0.0"}
Google::APIClient::Request Sending API request get https://www.googleapis.com/discovery/v1/apis/admin/directory_v1/rest {"User-Agent"=>"Saeko Directory API/1.0.0 google-api-ruby-client/0.8.6 Mac OS X/10.10.2\n (gzip)", "Accept-Encoding"=>"gzip", "Content-Type"=>""}
Google::APIClient::Request Result: 200 {"expires"=>"Wed, 22 Apr 2015 01:33:47 GMT", "date"=>"Wed, 22 Apr 2015 01:28:47 GMT", "etag"=>"\"ye6orv2F-1npMW3u9suM3a7C5Bo/Gkp35yY2tnMjjfSgryNCrENSB-w\"", "vary"=>"Origin, X-Origin", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "content-length"=>"116848", "server"=>"GSE", "age"=>"254", "cache-control"=>"public, max-age=300, must-revalidate, no-transform", "alternate-protocol"=>"443:quic,p=1", "connection"=>"close"}
Google::APIClient - Initializing client with options {:application_name=>"Saeko Directory API", :application_version=>"1.0.0"}
Google::APIClient::Request Sending API request get https://www.googleapis.com/discovery/v1/apis/admin/directory_v1/rest {"User-Agent"=>"Saeko Directory API/1.0.0 google-api-ruby-client/0.8.6 Mac OS X/10.10.2\n (gzip)", "Accept-Encoding"=>"gzip", "Content-Type"=>""}
Decompressing gzip encoded response (12983 bytes)
Decompressed (116848 bytes)
Google::APIClient::Request Result: 200 {"expires"=>"Wed, 22 Apr 2015 01:35:02 GMT", "date"=>"Wed, 22 Apr 2015 01:30:02 GMT", "etag"=>"\"ye6orv2F-1npMW3u9suM3a7C5Bo/Gkp35yY2tnMjjfSgryNCrENSB-w\"", "vary"=>"Origin, X-Origin", "content-type"=>"application/json; charset=UTF-8", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "content-length"=>"12983", "server"=>"GSE", "age"=>"263", "cache-control"=>"public, max-age=300, must-revalidate, no-transform", "alternate-protocol"=>"443:quic,p=1", "connection"=>"close"}