Browse files

Tweak bin file's require for Ruby 1.9+ (when running bin/grb from the…

… repo)
  • Loading branch information...
1 parent d0fff4b commit 4b7bda056bdb71e3936368a53d4076b1606dc2d9 @webmat committed Dec 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/grb
View
2 bin/grb
@@ -3,7 +3,7 @@
# Check out the README (or try 'grb help') before you screw up your repos ;-)
THIS_FILE = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
-require "#{File.dirname(THIS_FILE)}/../lib/git_remote_branch"
+require File.expand_path('../lib/git_remote_branch', File.dirname(THIS_FILE))
include GitRemoteBranch

0 comments on commit 4b7bda0

Please sign in to comment.