Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing up loading for relative paths

  • Loading branch information...
commit 7824789de536dc523381ce584ad2e83520d9994d 1 parent 2a7ee29
@markhuot authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 spectator
View
7 spectator
@@ -1,9 +1,8 @@
#!/usr/bin/env ruby
-require 'rubygems'
-
-Dir.glob(File.join("vendor", "gems", "*", "lib")).each do |lib|
- $LOAD_PATH.unshift(File.expand_path(lib))
+path = File.join(File.dirname(__FILE__), "vendor", "gems", "*", "lib")
+Dir.glob(path).each do |lib|
+ $LOAD_PATH.unshift(File.expand_path(lib))
end
require 'tilt'
Please sign in to comment.
Something went wrong with that request. Please try again.