]> git.wincent.com - mkdtemp.git/blobdiff - bin/yard-graph
Bump version number for 1.2.1 release
[mkdtemp.git] / bin / yard-graph
index 54c67df99910dc72c858c8cc3933b45ed584c8ca..464546ff95264f484b5a8844bf6a378de8fa5c87 100755 (executable)
@@ -6,7 +6,9 @@
 # this file is here to facilitate running it.
 #
 
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile", __FILE__)
+require 'pathname'
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
+  Pathname.new(__FILE__).realpath)
 
 require 'rubygems'
 require 'bundler/setup'