Sha256: ded1ae8f5ee3659bc7a77d12d1716061213e71307be7a596437a7af3eda82047

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

#!/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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
big_query_adapter-0.1.0 bin/console