From abccc24f1fe054f5e91ae9d0deefa8c1f457b004 Mon Sep 17 00:00:00 2001 From: lukemelia Date: Sat, 15 Sep 2007 21:55:31 +0000 Subject: [PATCH] Add "require 'digest/sha1'" to environment.rb.tmpl. I didn't have this problem but a user reported not being able to run "rake db:fixtures:load" without this. Fixes #557. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@592 a4c988fc-2ded-0310-b66e-134b36920a42 --- tracks/config/environment.rb.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/tracks/config/environment.rb.tmpl b/tracks/config/environment.rb.tmpl index 39e97950..ff8de061 100644 --- a/tracks/config/environment.rb.tmpl +++ b/tracks/config/environment.rb.tmpl @@ -66,6 +66,7 @@ require 'name_part_finder' require 'todo_list' require 'config' require 'activerecord_base_tag_extensions' # Needed for tagging-specific extensions +require 'digest/sha1' #Needed to support 'rake db:fixtures:load' on some ruby installs: http://dev.rousette.org.uk/ticket/557 if (AUTHENTICATION_SCHEMES.include? 'ldap') require 'net/ldap' #requires ruby-net-ldap gem be installed