4
누구나 config.ru
의 내용이 승객/유니콘/퓨마에서 실행되는 프로덕션 환경의 레일 2.3.18 응용 프로그램에 있어야한다는 것을 알고 있습니까?config.ru 파일에 대한 레일스 2.3.18 애플 리케이션
은 지금까지 내가 가지고 :
# Require your environment file to bootstrap Rails
require ::File.dirname(__FILE__) + '/config/environment'
# Dispatch the request
run ActionController::Dispatcher.new
하지만 대신 정확한 생산 환경의 development
를로드합니다.
약간 더 나은 config.ru에는 정적 저작물이 포함됩니다. http://guides.rubyonrails.org/v2.3.11/rails_on_rack.html#rackup – nathany