[82919] branches/gsoc11-statistics/bin/generate_seed

derek at macports.org derek at macports.org
Sun Aug 21 17:50:49 PDT 2011


Revision: 82919
          http://trac.macports.org/changeset/82919
Author:   derek at macports.org
Date:     2011-08-21 17:50:48 -0700 (Sun, 21 Aug 2011)
Log Message:
-----------
Added a note saying that this script should be executed from the rails app root directory

Modified Paths:
--------------
    branches/gsoc11-statistics/bin/generate_seed

Modified: branches/gsoc11-statistics/bin/generate_seed
===================================================================
--- branches/gsoc11-statistics/bin/generate_seed	2011-08-22 00:49:57 UTC (rev 82918)
+++ branches/gsoc11-statistics/bin/generate_seed	2011-08-22 00:50:48 UTC (rev 82919)
@@ -3,6 +3,9 @@
 ### Generate a valid seeds.rb for use in seeding the database with 
 ### valid ports and categories
 
+# Note - this file must be executed from inside RAILS_ROOT 
+# otherwise it won't be able to connect to the database
+
 require 'rubygems'
 require 'active_record'
 require 'fileutils'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110821/d371188f/attachment.html>


More information about the macports-changes mailing list