Sha256: 6b3dd26ec7913ce770c3363fd48fd9ff9108aec530b2430687bf9dae9e36e9ba
Contents?: true
Size: 602 Bytes
Versions: 1
Compression:
Stored size: 602 Bytes
Contents
#!/usr/bin/env jruby require File.expand_path(File.dirname(__FILE__) + "/../lib/orientdb") if ARGV.include?('test:db') GEM_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) TEMP_DIR = Dir.pwd + '/tmp' TEST_DB_PATH = "#{TEMP_DIR}/databases/db_#{rand(999) + 1}" puts ">> GEM_ROOT : #{GEM_ROOT}" puts ">> TEST_DB PATH : #{TEST_DB_PATH}" require 'fileutils' FileUtils.remove_dir TEST_DB_PATH FileUtils.mkdir_p TEST_DB_PATH DB = OrientDB::DocumentDatabase.new("local:#{TEST_DB_PATH}/test").create end include OrientDB require 'irb' ARGV.clear IRB.start(__FILE__)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
orientdb-0.0.12-jruby | bin/orientdb_console |