about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--code/bars.rb2
-rwxr-xr-xranger.rb6
2 files changed, 2 insertions, 6 deletions
diff --git a/code/bars.rb b/code/bars.rb
index 5edb3604..8e176c01 100644
--- a/code/bars.rb
+++ b/code/bars.rb
@@ -1,3 +1,5 @@
+require 'thread'
+
 class Bar
 	def kill(evil = true)
 		Fm.bar_del(self)
diff --git a/ranger.rb b/ranger.rb
index 68a170b4..117552e3 100755
--- a/ranger.rb
+++ b/ranger.rb
@@ -24,12 +24,6 @@ else
 	pwd = nil
 end
 
-#require 'ftools'
-require 'pp'
-require 'ostruct'
-class OpenStruct; def __table__() @table end end
-require 'thread'
-
 for file in Dir.glob "#{MYDIR}/code/**/*.rb"
 	require file [MYDIR.size + 1 ... -3]
 end