diff options
author | Azul <azul@riseup.net> | 2013-12-19 15:59:55 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2013-12-19 15:59:55 +0100 |
commit | f47712d803811f06b4371f50fabdfc1fefffe4cc (patch) | |
tree | c079d8802695c21fececba629e4446b23044145d /lib/tapicero.rb | |
parent | e4df501035434cbb1920ccca21e489599b5ad382 (diff) |
add design docs on db creation, use Pathname
Pathname makes dealing with files easier than String.
Tapicero will look for design documents in design directory in the tapicero path for now.
Diffstat (limited to 'lib/tapicero.rb')
-rw-r--r-- | lib/tapicero.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tapicero.rb b/lib/tapicero.rb index aba9fad..3923c65 100644 --- a/lib/tapicero.rb +++ b/lib/tapicero.rb @@ -1,5 +1,5 @@ unless defined? BASE_DIR - BASE_DIR = File.expand_path('../..', __FILE__) + BASE_DIR = Pathname.new(__FILE__) + '../..' end unless defined? TAPICERO_CONFIG TAPICERO_CONFIG = '/etc/leap/tapicero.yaml' |