diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-20 17:16:19 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-20 17:16:19 +0100 |
commit | b862891651b130b084c7382b5c548d8c2d7d44a8 (patch) | |
tree | 4a0c53f568888fca12924ada72cd510e3887fea5 /sources/wiki | |
parent | de207dd31a39ab001e53b96fcb1c7d351943ecc3 (diff) | |
download | taginfo-b862891651b130b084c7382b5c548d8c2d7d44a8.tar taginfo-b862891651b130b084c7382b5c548d8c2d7d44a8.tar.gz |
Fix require path for ruby 1.9
Diffstat (limited to 'sources/wiki')
-rwxr-xr-x | sources/wiki/get_image_info.rb | 2 | ||||
-rwxr-xr-x | sources/wiki/get_page_list.rb | 3 | ||||
-rwxr-xr-x | sources/wiki/get_wiki_data.rb | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/sources/wiki/get_image_info.rb b/sources/wiki/get_image_info.rb index 4abd156..8430c49 100755 --- a/sources/wiki/get_image_info.rb +++ b/sources/wiki/get_image_info.rb @@ -43,7 +43,7 @@ require 'uri' require 'json' require 'sqlite3' -require 'lib/mediawikiapi.rb' +require './lib/mediawikiapi.rb' #------------------------------------------------------------------------------ diff --git a/sources/wiki/get_page_list.rb b/sources/wiki/get_page_list.rb index eb5ddaa..3c4b219 100755 --- a/sources/wiki/get_page_list.rb +++ b/sources/wiki/get_page_list.rb @@ -52,7 +52,8 @@ require 'net/http' require 'uri' require 'json' -require 'lib/mediawikiapi.rb' + +require './lib/mediawikiapi.rb' #------------------------------------------------------------------------------ diff --git a/sources/wiki/get_wiki_data.rb b/sources/wiki/get_wiki_data.rb index 36f0fab..d593d9d 100755 --- a/sources/wiki/get_wiki_data.rb +++ b/sources/wiki/get_wiki_data.rb @@ -44,7 +44,7 @@ require 'net/http' require 'uri' require 'sqlite3' -require 'lib/mediawikiapi.rb' +require './lib/mediawikiapi.rb' #------------------------------------------------------------------------------ |