From e4e3706c240dd060d58e57454393f79c7b7b2ee5 Mon Sep 17 00:00:00 2001 From: aninder Date: Tue, 16 Aug 2016 23:26:53 +1000 Subject: [PATCH] fix app.json file path in ruby driver --- src/drivers/ruby/wappalyzer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/ruby/wappalyzer.rb b/src/drivers/ruby/wappalyzer.rb index b0e4452fe..670536347 100755 --- a/src/drivers/ruby/wappalyzer.rb +++ b/src/drivers/ruby/wappalyzer.rb @@ -9,7 +9,7 @@ Encoding.default_external = Encoding::UTF_8 class Wappalyzer def initialize @realdir = File.dirname(File.realpath(__FILE__)) - file = File.join(@realdir, '..', '..', 'share', 'apps.json') + file = File.join(@realdir, 'apps.json') @json = JSON.parse(IO.read(file)) @categories, @apps = @json['categories'], @json['apps'] end