Created
November 3, 2015 22:30
-
-
Save lkfken/e601df23f7c065f8c0f9 to your computer and use it in GitHub Desktop.
Using JDBC & Sequel to connect to SQLite3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bundler' | |
Bundler.require | |
DB = Sequel.connect('jdbc:sqlite::memory:') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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