Skip to content

Commit

Permalink
Fixed to work with 1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
zverok committed Nov 24, 2010
1 parent 75505fc commit ccd0060
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/index.rb
@@ -1,10 +1,13 @@
$KCODE = 'u'
$KCODE = 'u' if RUBY_VERSION < '1.9'

require 'pp'
require 'fileutils'
require 'cgi'

user = ARGV.shift
unless user = ARGV.shift
puts "Will not work without username ;)"
exit 1
end
base_path = File.expand_path(File.join(File.dirname(__FILE__), '..'))
indexes_path = File.join(base_path, 'result', user, 'data', 'indexes')
entries_path = File.join(base_path, 'result', user, 'data', 'entries')
Expand Down
1 change: 1 addition & 0 deletions lib/frf_client.rb
@@ -1,3 +1,4 @@
# encoding: utf-8
require 'simplehttp'
require 'base64'
require 'fileutils'
Expand Down
1 change: 1 addition & 0 deletions lib/indexator.rb
@@ -1,3 +1,4 @@
# encoding: utf-8
require 'json'
require 'core_ext'

Expand Down

0 comments on commit ccd0060

Please sign in to comment.