config/application.rb
config.ver = "1.0.0"
controller
MyApp::Application.config.ver # 1.0.0
erb
<%= MyApp::Application.config.ver %>
有効にするにはserverの再起動が必要