Permalink
Browse files

removed $: tinkering

  • Loading branch information...
1 parent 726e410 commit e8f47ed85183e60c6566502baa3c2c1806bc6e82 @mwmitchell mwmitchell committed Feb 28, 2010
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/rsolr-ext.rb
View
@@ -1,10 +1,6 @@
# add this directory to the load path if it hasn't already been added
-lambda { |base|
- $: << base unless $:.include?(base) || $:.include?(File.expand_path(base))
-}.call(File.dirname(__FILE__))
-
-require 'mash' unless defined?(Mash)
+require File.join(File.dirname(__FILE__), 'mash') unless defined?(Mash)
unless Hash.respond_to?(:to_mash)
class Hash

0 comments on commit e8f47ed

Please sign in to comment.