2018-03-25 13:30:42 -04:00
|
|
|
#!/usr/bin/env ruby
|
2019-07-30 23:29:24 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-25 13:30:42 -04:00
|
|
|
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
2018-12-10 15:51:50 -06:00
|
|
|
if ENV['RAILS_ENV'] == 'test'
|
|
|
|
require 'simplecov'
|
|
|
|
SimpleCov.start 'rails'
|
2019-07-30 23:29:24 +02:00
|
|
|
puts 'required simplecov'
|
2018-12-10 15:51:50 -06:00
|
|
|
end
|
2018-03-25 13:30:42 -04:00
|
|
|
|
2019-07-30 23:29:24 +02:00
|
|
|
APP_PATH = File.expand_path('../config/application', __dir__)
|
|
|
|
require File.expand_path('../config/boot', __dir__)
|
2018-03-25 13:30:42 -04:00
|
|
|
require 'rails/commands'
|