Permalink
Browse files

Merge pull request #4263 from bogdan/local_gemfile

Fixed path to local gemfile.
  • Loading branch information...
2 parents 6f44fa0 + c4ceee8 commit 4d844c536f243e493311a383ab5b59d2f233ed9d @josevalim josevalim committed Jan 2, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Gemfile
View
@@ -43,7 +43,8 @@ platforms :mri_18 do
end
# Add your own local bundler stuff
-instance_eval File.read '.Gemfile' if File.exists? '.Gemfile'
+local_gemfile = File.dirname(__FILE__) + "/.Gemfile"
+instance_eval File.read local_gemfile if File.exists? local_gemfile
platforms :mri do
group :test do

0 comments on commit 4d844c5

Please sign in to comment.