Skip to content

Commit

Permalink
fixed load path of additional gems
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Dec 22, 2014
1 parent 06ac2ee commit 6e2f2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tdiary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

$:.unshift File.join(File::dirname(__FILE__), '../misc/lib').untaint
['../misc/lib/*/lib', '../vendor/*/lib'].each do |path|
Dir["#{File::dirname(__FILE__) + path}"].each {|dir| $:.unshift dir.untaint }
Dir[File.join(File.dirname(__FILE__), path)].each {|dir| $:.unshift dir.untaint }
end

require 'cgi'
Expand Down

0 comments on commit 6e2f2e5

Please sign in to comment.