examples/rails-latex-demo/config.ru in rails-latex-2.1.0 vs examples/rails-latex-demo/config.ru in rails-latex-2.2.0
- old
+ new
@@ -1,4 +1,5 @@
# This file is used by Rack-based servers to start the application.
-require ::File.expand_path('../config/environment', __FILE__)
-run RailsLatexDemo::Application
+require_relative 'config/environment'
+
+run Rails.application