2018-03-25 17:30:42 +00:00
|
|
|
#!/usr/bin/env ruby
|
2019-07-30 21:29:24 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-25 17:30:42 +00: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 21:51:50 +00:00
|
|
|
if ENV['RAILS_ENV'] == 'test'
|
|
|
|
require 'simplecov'
|
|
|
|
SimpleCov.start 'rails'
|
2019-07-30 21:29:24 +00:00
|
|
|
puts 'required simplecov'
|
2018-12-10 21:51:50 +00:00
|
|
|
end
|
2018-03-25 17:30:42 +00:00
|
|
|
|
2019-07-30 21:29:24 +00:00
|
|
|
APP_PATH = File.expand_path('../config/application', __dir__)
|
|
|
|
require File.expand_path('../config/boot', __dir__)
|
2018-03-25 17:30:42 +00:00
|
|
|
require 'rails/commands'
|