bin/console in odbc_adapter-5.0.0 vs bin/console in odbc_adapter-5.0.1

- old
+ new

@@ -1,7 +1,12 @@ #!/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