public
Description: awesome and real world-class feeds processor
Homepage:
Clone URL: git://github.com/damog/rfeed.git
rfeed / Rakefile
100644 18 lines (12 sloc) 0.444 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# David Moreno <david@axiombox.com>
#
 
require "#{File.expand_path(File.dirname(__FILE__))}/lib/rfeed.rb"
require "mysql"
 
task :default => :"db:migrate"
 
task :'db:migrate' => :environment do
ActiveRecord::Migrator.migrate("#{File.dirname(__FILE__)}/db/migrate", ENV["VERSION"] ? ENV["VERSION"].to_i : nil)
end
 
task :environment do
ActiveRecord::Base.logger = Logger.new(File.open("#{File.dirname(__FILE__)}/log/database.log", "a"))
end