Permalink
Browse files

using relative requires + load_paths

  • Loading branch information...
drnic committed Jun 4, 2008
1 parent 019d400 commit f3ee4746672ae273a4c7a661234993ea9e8bfc36
Showing with 4 additions and 1 deletion.
  1. +1 −1 bin/gemjour
  2. +3 −0 lib/gemjour.rb
View
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
require "rubygems"
-require "gemjour"
+require File.dirname(__FILE__) + '/../lib/gemjour'
begin
View
@@ -1,3 +1,6 @@
+$:.unshift(File.dirname(__FILE__)) unless
+ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
+
require "dnssd"
require "set"
require "gemjour/version"

0 comments on commit f3ee474

Please sign in to comment.