Skip to content

Commit

Permalink
Need to add Rails components to $LOAD_PATH to require "arel" reliably
Browse files Browse the repository at this point in the history
  • Loading branch information
brynary committed Oct 28, 2009
1 parent a923cf7 commit 19d7ee3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 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"

Expand Down

0 comments on commit 19d7ee3

Please sign in to comment.