ruby-mdbx/.pryrc
mahlon@martini.nu 770a931d77 Multiple changes.
- Add build manifests for SourceHut.
  - Update README destination links.
  - Fix manifest for prerelease gem.
  - Reopen env handles when #clear is successful.
  - Fix #each when there is only one key.
  - Always use io_vec lengths when creating new strings.
  - Hook for rdoc generation.
  - Rename #open to #reopen, don't alias it.
  - Add a Rollback exception for upcoming transaction block work

FossilOrigin-Name: d6ddedc51b0ac67f395d5749aa3e6adbeebdaf2843c6402ace757b0afffc2be9
2020-12-22 06:24:18 +00:00

15 lines
311 B
Ruby

# -*- ruby -*-
# vim: set nosta noet ts=4 sw=4 ft=ruby:
# encoding: utf-8
$LOAD_PATH.unshift( 'lib' )
begin
require 'mdbx'
rescue Exception => e
$stderr.puts "Ack! Libraries failed to load: #{e.message}\n\t" +
e.backtrace.join( "\n\t" )
end
db = MDBX::Database.open( 'tmp/testdb', max_collections: 50 )