You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
desc "Bootstraps the database for the given environment. BOOTSTRAP option lets you run a specific bootstrap task in the given environment."
task :bootstrap => :environment do
require File.join(RAILS_ROOT, 'db', 'bootstrap')
Bootstrapper.run(ENV['BOOTSTRAP'] || RAILS_ENV)
end
namespace :bootstrap do
desc "Resets the database and bootstraps it for the given environment. BOOTSTRAP option lets you run a specific bootstrap task in the given environment."