require File.expand_path('../boot', __FILE__) require 'rails/all' require 'amazon/ecs' # 追記 Bundler.require(:default, Rails.env) # ここから module Test class Application < Rails::Application Amazon::Ecs.options = { :associate_tag => '987654321', :AWS_access_key_id => 'mosmosmosmosmosmosmosmos', :AWS_secret_key => 'mosmosmosmosmosmosmosmos' } end # ここまでを追記