diff options
author | Bryan Helmkamp <bryan@brynary.com> | 2009-10-27 20:32:10 -0400 |
---|---|---|
committer | Bryan Helmkamp <bryan@brynary.com> | 2009-10-27 20:32:10 -0400 |
commit | 19d7ee3661a395b69d8ea233096da33bde166b62 (patch) | |
tree | bde479cccd1bce79e4be42c1e53cb65a76f9eb88 | |
parent | a923cf7fed1e477638d29aa870bef83bb180ad29 (diff) | |
download | rails-19d7ee3661a395b69d8ea233096da33bde166b62.tar.gz rails-19d7ee3661a395b69d8ea233096da33bde166b62.tar.bz2 rails-19d7ee3661a395b69d8ea233096da33bde166b62.zip |
Need to add Rails components to $LOAD_PATH to require "arel" reliably
-rw-r--r-- | Thorfile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |