Permalink
Browse files

fixed f'ed up requires/rubypaths in example scripts

  • Loading branch information...
1 parent eecad66 commit 1e791fa45c33acad44bb1b0a23215cb19c8a013d Philip (flip) Kromer committed Jan 29, 2011
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+require 'rubygems'
require 'wukong/script'
#
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby
-require 'wukong'
+require 'rubygems'
+require 'wukong/script'
#
# Bigram counts
@@ -1,7 +1,6 @@
#!/usr/bin/env ruby
-
require 'rubygems'
-require 'wukong'
+require 'wukong/script'
require 'bloomfilter-rb'
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-$: << File.dirname(__FILE__)+'/../lib'
+require 'rubygems'
require 'wukong/script'
#
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-$: << File.dirname(__FILE__)+'/../lib'
+require 'rubygems'
require 'wukong/script'
#
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-$: << File.dirname(__FILE__)+'/../../lib'
-require 'wukong'
+require 'rubygems'
+require 'wukong/script'
class Edge < Struct.new(:src, :dest)
end
@@ -1,6 +1,5 @@
#!/usr/bin/env ruby
require 'rubygems'
-$: << File.dirname(__FILE__)+'/../../lib'
require 'wukong'
#
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+require 'rubygems'
$: << File.dirname(__FILE__)+'/../../lib'
require 'wukong'
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-$: << File.dirname(__FILE__)+'/../../lib'
+require 'rubygems'
require 'wukong/script'
#
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-$: << File.dirname(__FILE__)+'/../../lib'
+require 'rubygems'
require 'wukong/script'
require 'wukong/streamer/list_reducer'
View
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-$: << File.dirname(__FILE__)+'/../lib'
+require 'rubygems'
require 'wukong/script'
module Size
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-$: << File.dirname(__FILE__)+'/../../lib'
+require 'rubygems'
require 'wukong/script'
require 'wukong/streamer/count_keys'
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-$: << File.dirname(__FILE__)+'/../../lib'
+require 'rubygems'
require 'wukong/script'
require 'wukong/streamer/rank_and_bin_reducer'
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-$: << File.dirname(__FILE__)+'/../../lib'
+require 'rubygems'
require 'wukong/script'
# Run as (local mode)

0 comments on commit 1e791fa

Please sign in to comment.