Advertisement
YarikHrom

Untitled

Mar 25th, 2022
1,085
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.38 KB | None | 0 0
  1. # frozen_string_literal: true
  2.  
  3. # Add your own tasks in files placed in lib/tasks ending in .rake,
  4. # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
  5.  
  6. require_relative 'config/application'
  7.  
  8. Rails.application.load_tasks
  9.  
  10. begin
  11.     require 'minitest/autorun'
  12. rescue LoadError => e
  13.     raise e unless ENV['RAILS_ENV'] == "production"
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement