lib/constants.rb in evertils-0.0.5 vs lib/constants.rb in evertils-0.0.6

- old
+ new

@@ -1,7 +1,7 @@ module Granify PACKAGE_NAME = "evertils" - INSTALLED_DIR = "" + INSTALLED_DIR = Gem::Specification.find_by_name(Granify::PACKAGE_NAME).gem_dir LOG_DIR = INSTALLED_DIR + "/logs" DEFAULT_LOG = Log.new # no args means default log HELPER_DIR = INSTALLED_DIR + "/lib/helpers/" CONTROLLER_DIR = INSTALLED_DIR + "/lib/controllers/" MODEL_DIR = INSTALLED_DIR + "/lib/models/" \ No newline at end of file