Sha256: bb6fad9625e71c99c05b414fb99dd535a543403fb4cce219201d0209ca5148df

Contents?: true

Size: 296 Bytes

Versions: 4

Compression:

Stored size: 296 Bytes

Contents

#!/usr/bin/env ruby

require 'bundler/setup'
require 'odbc_adapter'

options = { adapter: 'odbc' }
options[:dsn]      = ENV['DSN']      if ENV['DSN']
options[:conn_str] = ENV['CONN_STR'] if ENV['CONN_STR']
ActiveRecord::Base.establish_connection(options) if options.any?

require 'irb'
IRB.start

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
odbc_adapter-5.0.5 bin/console
odbc_adapter-5.0.3 bin/console
odbc_adapter-5.0.2 bin/console
odbc_adapter-5.0.1 bin/console