Permalink
Browse files

finish fixing example paths

  • Loading branch information...
1 parent 75ef451 commit cdbaae6a19819cd74575b876f201356aaa0eb419 @nofxx nofxx committed Apr 12, 2012
@@ -1,5 +1,3 @@
-require 'rubygems'
-$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'buspirate'
@@ -1,4 +1,4 @@
-require 'rubygems'
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'buspirate'
require 'pp'
@@ -45,7 +45,7 @@
puts "failed"
exit
end
-
+
print "configuring peripherals...\t"
if buspirate.config_peripherals(true, false, true, false)
puts "done"
@@ -1,4 +1,4 @@
-require 'rubygems'
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'buspirate'
DEFAULT_BAUDRATE = 115200
@@ -43,7 +43,7 @@
puts "failed"
exit
end
-
+
print "configuring peripherals...\t"
if buspirate.config_peripherals(true, false, true, false)
puts "done"
@@ -1,5 +1,3 @@
-# require 'rubygems'
-$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'i18n'
require 'buspirate'

0 comments on commit cdbaae6

Please sign in to comment.