#!/usr/bin/env ruby require 'bundler/setup' require 'big_query_adapter' options = { adapter: 'big_query' } options[:keyfile] = ENV.fetch('BIGQUERY_KEYFILE') if ENV['BIGQUERY_KEYFILE'] options[:project] = ENV.fetch('BIGQUERY_PROJECT') if ENV['BIGQUERY_PROJECT'] options[:datasets] = [] ActiveRecord::Base.establish_connection(options) require 'pry' Pry.start