From 0929719a845897cc8567cf972e07a69a71f0fa6f Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 30 Nov 2023 13:29:08 -0500 Subject: Migrate to a full rails app --- Rakefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 41a438f..e63c405 100644 --- a/Rakefile +++ b/Rakefile @@ -1,12 +1,10 @@ -require "bundler/setup" -require "rake/extensiontask" - -APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__) -load "rails/tasks/engine.rake" +# 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. -load "rails/tasks/statistics.rake" +require "rake/extensiontask" +require_relative "config/application" -require "bundler/gem_tasks" +Rails.application.load_tasks Rake::ExtensionTask.new "wittle_generator" do |ext| ext.lib_dir = "lib" -- cgit 1.4.1