lib/caterpillar.rb in caterpillar-0.9.15 vs lib/caterpillar.rb in caterpillar-0.9.16
- old
+ new
@@ -3,16 +3,18 @@
# See the file LICENSES.txt included with the distribution for
# software license details.
#++
module Caterpillar
- VERSION='0.9.15'
+ VERSION='0.9.16'
end
this_file = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
this_dir = File.dirname(File.expand_path(this_file))
CATERPILLAR_LIBS=this_dir unless defined?(CATERPILLAR_LIBS)
+
+RAILS_ROOT = Dir.pwd unless defined? RAILS_ROOT
require 'find'
# include all ruby files
Find.find(this_dir) do |file|