Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 382 Bytes
# Ensure that the database has *a* config.
unless File.exist?(db_yml = File.expand_path('../config/database.yml', __FILE__))
require 'fileutils'
FileUtils.cp "#{db_yml}.sqlite3", db_yml
puts "Copied #{db_yml}.sqlite3 to #{db_yml}"
# Continue on with Rails.
require File.expand_path('../config/application', __FILE__)
require 'rake'
Jump to Line
Something went wrong with that request. Please try again.