Skip to content

Commit

Permalink
Load extensions first.
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoegele committed Nov 2, 2010
1 parent 27b8e69 commit fa9851b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/ehcache.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
unless $:.include?(File.dirname(__FILE__)) ||
$:.include?(File.expand_path(File.dirname(__FILE__)))
$:.unshift(File.dirname(__FILE__))
end

Expand All @@ -13,9 +14,9 @@ module Ehcache
class EhcacheError < RuntimeError; end
end

require 'ehcache/extensions'
require 'ehcache/java'
require 'ehcache/config'
require 'ehcache/cache'
require 'ehcache/cache_manager'
require 'ehcache/element'
require 'ehcache/extensions'

0 comments on commit fa9851b

Please sign in to comment.