Sha256: b522b9724ee212bbc459e26173de7cfe5d095602d3162396272b968e9dcf0d7f

Contents?: true

Size: 608 Bytes

Versions: 20

Compression:

Stored size: 608 Bytes

Contents

#!/usr/bin/env rake
require 'bundler/gem_tasks'
require 'active_record'
require_relative 'db/seed'
include ActiveRecord::Tasks
DatabaseTasks.database_configuration = YAML.load_file('config.yml')
DatabaseTasks.db_dir = 'db'
DatabaseTasks.migrations_paths = 'db/migrations'
DatabaseTasks.env = ENV['ENV'] || 'development'
DatabaseTasks.seed_loader = AgileProxy::Seed
ActiveRecord::Base.establish_connection(DatabaseTasks.database_configuration[DatabaseTasks.env])
DatabaseTasks.root = File.dirname(__FILE__)
Rake::Task.define_task(:environment)
# other settings...
load 'active_record/railties/databases.rake'

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
agile-proxy-0.1.26 Rakefile
agile-proxy-jruby-0.1.26-jruby Rakefile
agile-proxy-jruby-0.1.25-jruby Rakefile
agile-proxy-0.1.25 Rakefile
agile-proxy-0.1.24 Rakefile
agile-proxy-0.1.23 Rakefile
agile-proxy-0.1.22 Rakefile
agile-proxy-0.1.21 Rakefile
agile-proxy-0.1.20 Rakefile
agile-proxy-0.1.19 Rakefile
agile-proxy-0.1.18 Rakefile
agile-proxy-0.1.13 Rakefile
agile-proxy-0.1.12 Rakefile
agile-proxy-0.1.11 Rakefile
agile-proxy-0.1.10 Rakefile
agile-proxy-0.1.9 Rakefile
agile-proxy-0.1.8 Rakefile
agile-proxy-0.1.7 Rakefile
agile-proxy-0.1.6 Rakefile
agile-proxy-0.1.5 Rakefile