Regexp.escape which is called by Gem.loaded_path? (/usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb) expects the path as a String, not a Pathname. Convert Pathnames to Strings prior to calling 'require'
This commit is contained in:
parent
5b3740e0f2
commit
8f91eeb93d
|
@ -23,6 +23,6 @@ end
|
||||||
|
|
||||||
|
|
||||||
this_dir = Pathname.new File.dirname(__FILE__)
|
this_dir = Pathname.new File.dirname(__FILE__)
|
||||||
require this_dir.join("import")
|
require this_dir.join("import").to_s
|
||||||
require this_dir.join("active_record/adapters/abstract_adapter")
|
require this_dir.join("active_record/adapters/abstract_adapter").to_s
|
||||||
require this_dir.join("synchronize")
|
require this_dir.join("synchronize").to_s
|
Loading…
Reference in a new issue