lib/luruju.rb in luruju-0.0.1 vs lib/luruju.rb in luruju-0.1.0
- old
+ new
@@ -1,11 +1,19 @@
+$:.unshift(File.dirname(__FILE__)) unless
+ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
-require 'rubygems'
-require 'active_support/inflector'
+unless defined?(ActiveSupport)
+ begin
+ $:.unshift(File.dirname(__FILE__) + "/../../activesupport/lib")
+ require 'active_support'
+ rescue LoadError
+ require 'rubygems'
+ require 'active_support'
+ end
+end
-require 'luruju/jude_api'
+require 'luruju/easy_breakpoint'
+require 'luruju/customize_inflector'
+require 'luruju/jude_api_loader'
require 'luruju/dynamic_method'
-require 'luruju/add_useful_method'
-
-
-
+require 'luruju/jude_api/jude_base'