Unexpected requirement in my config / application.rb

I have a problem with the following line in the config/application.rb file of my generated rails spec/dummy application:

 # railtie requires ... Bundler.require(*Rails.groups) require "tm_app_core" # This line should not exists according to rails application.rb template module Dummy class Application < Rails::Application # ... 

I am using Rails::Generators::AppGenerator to create my dummy application. But according to the Rails application.rb template , it should not have the following line:

 require "tm_app_core" 

Where does this line come from?

I am using Rails 3.2.13. tm_app_core is the name of my root directory (for example, on my CI server).

+4
source share

Source: https://habr.com/ru/post/1497761/


All Articles