secret

  • Download Gist
use_ru_file_in_rack_test.rb
Ruby
1 2 3
def app
eval "Rack::Builder.new {( " + File.read(File.dirname(__FILE__) + '/../config.ru') + "\n )}"
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.