diff Rakefile @ 437:d31fe32da7a0

Finish updating to rails 5
author nanaya <me@myconan.net>
date Sat, 02 Jul 2016 17:04:25 +0900
parents 4aa8194a1733
children
line wrap: on
line diff
--- a/Rakefile	Mon Jun 13 15:07:38 2016 +0900
+++ b/Rakefile	Sat Jul 02 17:04:25 2016 +0900
@@ -2,6 +2,6 @@
 # Add your own tasks in files placed in lib/tasks ending in .rake,
 # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
 
-require File.expand_path('../config/application', __FILE__)
+require_relative "config/application"
 
-Zeropaste::Application.load_tasks
+Rails.application.load_tasks