aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorBogdan Gusiev <agresso@gmail.com>2012-01-02 15:08:37 +0200
committerBogdan Gusiev <agresso@gmail.com>2012-01-02 15:08:37 +0200
commitc4ceee8316ab9228c844b8c8544f20c867aede7d (patch)
tree8266c2e32c34d1c623d6dfdb9a0447751211e6d0 /Gemfile
parent6f44fa0a8a3aa8668bdf7335f1cc3982679ffd48 (diff)
downloadrails-c4ceee8316ab9228c844b8c8544f20c867aede7d.tar.gz
rails-c4ceee8316ab9228c844b8c8544f20c867aede7d.tar.bz2
rails-c4ceee8316ab9228c844b8c8544f20c867aede7d.zip
Fixed path to local gemfile.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 1284c60531..76be75e872 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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