Skip to content

Instantly share code, notes, and snippets.

@lkfken
Created November 3, 2015 22:30
Show Gist options
  • Save lkfken/e601df23f7c065f8c0f9 to your computer and use it in GitHub Desktop.
Save lkfken/e601df23f7c065f8c0f9 to your computer and use it in GitHub Desktop.
Using JDBC & Sequel to connect to SQLite3
require 'bundler'
Bundler.require
DB = Sequel.connect('jdbc:sqlite::memory:')
source 'https://rubygems.org'
gem 'jdbc-sqlite3', :platform => :jruby
gem 'sequel'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment