尝试运行时出现如图所示rails s
的错误
undefined local variable or methode 'config' for main:Object (NameError)
我的 application.rb 文件:
require File.expand_path('../boot', __FILE__)
require 'rails/all'
config.assets.paths << Rails.root.join("app", "assets", "fonts")