aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-25 16:44:14 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-25 16:44:14 -0700
commit13df581ec77cc7e5351570c5035a563b946532d5 (patch)
tree2bd8d3a722a34836c621fa9096c8c57a9a3a868f
parent53fbbf4b83cb5c2c7fcaa691129fad4df4d266ae (diff)
downloadrails-13df581ec77cc7e5351570c5035a563b946532d5.tar.gz
rails-13df581ec77cc7e5351570c5035a563b946532d5.tar.bz2
rails-13df581ec77cc7e5351570c5035a563b946532d5.zip
using AREL from the environment if it exists
-rw-r--r--Gemfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 28b3b450ca..b92a6ab7a0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,11 @@
source 'http://rubygems.org'
-gem "arel", :git => "git://github.com/rails/arel.git"
+if ENV['AREL']
+ gem "arel", :path => ENV['AREL']
+else
+ gem "arel", :git => "git://github.com/rails/arel.git"
+end
+
gem "rails", :path => File.dirname(__FILE__)
gem "rake", ">= 0.8.7"