public
Fork of yrashk/strokedb
Description: StrokeDB is a lightweight approach to document-oriented database, currently featuring pure Ruby/JRuby implementation.
Homepage: http://groups.google.com/group/strokedb
Clone URL: git://github.com/tmm1/strokedb.git
require of strokedb.rb works again
crossblaim (author)
Sat Apr 19 04:23:51 -0700 2008
commit  86a8c01529496be02ba8658d9419431fa6095317
tree    45b2da24eba4acd6851d3fcc3c33bca87c6cc506
parent  3184e7d03e9ff30b9914904a52660a9929e70cb0
...
1
2
3
4
5
6
 
7
8
9
...
 
 
 
 
 
 
1
2
3
4
0
@@ -1,9 +1,4 @@
0
-development_lib = File.join(File.dirname(__FILE__), '..', 'lib')
0
-if File.exists? development_lib + '/strokedb.rb'
0
- $LOAD_PATH.unshift(development_lib).uniq!
0
-end
0
-require 'strokedb'
0
-
0
+require File.dirname(__FILE__) + '/../lib/strokedb'
0
 $KCODE = 'u'
0
 
0
 
...
1
2
3
4
5
6
 
7
8
9
...
 
 
 
 
 
 
1
2
3
4
0
@@ -1,9 +1,4 @@
0
-development_lib = File.join(File.dirname(__FILE__), '..', 'lib')
0
-if File.exists? development_lib + '/strokedb.rb'
0
- $LOAD_PATH.unshift(development_lib).uniq!
0
-end
0
-require 'strokedb'
0
-
0
+require File.dirname(__FILE__) + '/../lib/strokedb'
0
 $KCODE = 'u'
0
 
0
 
...
1
2
3
4
5
 
6
7
8
...
 
 
 
 
 
1
2
3
4
0
@@ -1,8 +1,4 @@
0
-development_lib = File.join(File.dirname(__FILE__), '..', '..', 'lib')
0
-if File.exists? development_lib + '/strokedb.rb'
0
- $LOAD_PATH.unshift(development_lib).uniq!
0
-end
0
-require 'strokedb'
0
+require File.dirname(__FILE__) + '/../../lib/strokedb'
0
 require 'rubygems'
0
 require 'ramaze'
0
 require 'redcloth'

Comments

    No one has commented yet.