Skip to content

Commit

Permalink
Should no longer depend on working directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelsey Judson committed May 16, 2012
1 parent 91e4654 commit 17aa640
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/dotfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env ruby

$LOAD_PATH << File.dirname(__FILE__) + '/../lib'
gem_root = File.dirname(__FILE__) + '/..'
$LOAD_PATH << gem_root + '/lib'
Dir.chdir(gem_root)

require 'dotfile'
require 'dotfile/dotfile_cli'
Expand Down

0 comments on commit 17aa640

Please sign in to comment.