aboutsummaryrefslogtreecommitdiffstats
path: root/Thorfile
diff options
context:
space:
mode:
authorBryan Helmkamp <bryan@brynary.com>2009-10-27 20:32:10 -0400
committerBryan Helmkamp <bryan@brynary.com>2009-10-27 20:32:10 -0400
commit19d7ee3661a395b69d8ea233096da33bde166b62 (patch)
treebde479cccd1bce79e4be42c1e53cb65a76f9eb88 /Thorfile
parenta923cf7fed1e477638d29aa870bef83bb180ad29 (diff)
downloadrails-19d7ee3661a395b69d8ea233096da33bde166b62.tar.gz
rails-19d7ee3661a395b69d8ea233096da33bde166b62.tar.bz2
rails-19d7ee3661a395b69d8ea233096da33bde166b62.zip
Need to add Rails components to $LOAD_PATH to require "arel" reliably
Diffstat (limited to 'Thorfile')
-rw-r--r--Thorfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Thorfile b/Thorfile
index ac6f5a0cb2..0ef929847f 100644
--- a/Thorfile
+++ b/Thorfile
@@ -1,6 +1,9 @@
module GemHelpers
def generate_gemspec
+ $LOAD_PATH << "#{File.dirname(__FILE__)}/vendor/rails/activerecord/lib"
+ $LOAD_PATH << "#{File.dirname(__FILE__)}/vendor/rails/activesupport/lib"
+
$LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__), "lib")))
require "arel"