Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## with library doing manipulations
- require 'strokedb/stores/skiplist'
- require 'strokedb/transactions'
- ## with a script doing proper manipulations and a proper lib
- $LOAD_PATH.unshift('lib') # only needed if you have a drop & use app, if you install the libs e.g. using setup.rb this is not needed
- require 'strokedb'
- ## with a script doing proper manipulations and a proper lib if we only want parts of the lib
- $LOAD_PATH.unshift('lib') # only needed if you have a drop & use app, if you install the libs e.g. using setup.rb this is not needed
- require 'strokedb/stores/skiplist'
- require 'strokedb/transactions'
- ## with a proper gem
- require 'rubygems'
- require 'strokedb'
- ## with script doing really odd manipulations
- $LOAD_PATH.unshift(File.join(File.dirname(`gem which strokedb`.split("\n").last), 'lib')).uniq!
- require 'strokedb/stores/skiplist'
- require 'strokedb/transactions'
Add Comment
Please, Sign In to add comment