13 lines
426 B
Ruby
Executable file
13 lines
426 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
# frozen_string_literal: true
|
|
|
|
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
|
if ENV['RAILS_ENV'] == 'test'
|
|
require 'simplecov'
|
|
SimpleCov.start 'rails'
|
|
puts 'required simplecov'
|
|
end
|
|
|
|
APP_PATH = File.expand_path('../config/application', __dir__)
|
|
require File.expand_path('../config/boot', __dir__)
|
|
require 'rails/commands'
|