Awesome Open Source
Awesome Open Source

UnQLite for Ruby

UnQLite interface for ruby programs.

Note: This is an alpha version and many features are missing! But, I would love to merge some pull-requests to make it better (:


You have to install UnQLite into your system and compile it as a shared library. Unfortunately, UnQLite doesn't have a Makefile (or something like that) to automate that step. If you are on linux, you can check this gist and compile it using gcc.

After installing UnQLite, add this line to your application's Gemfile:

gem 'unqlite'

And then execute:

$ bundle

Or install it yourself as:

$ gem install unqlite


For in-memory databases

db =":mem:")"key", "wabba")
db.fetch("key") # => "wabba"

For regular databases

db ="database.db") # You may also give a full path"key", "wabba")
db.fetch("key") # => "wabba"

# Now you have to commit your changes or close your database
db.commit"key2", "wabba2")
db.close # Will automatically commit


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Alternatives To Unqlite Ruby
Select To Compare

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Ruby (222,134
C (183,436
Databases (92,861
Bindings (17,115
Compile (9,057
Gist (2,424
Ruby Bindings (367