lib/padrino-gen/generators/project/config.ru in padrino-gen-0.9.29 vs lib/padrino-gen/generators/project/config.ru in padrino-gen-0.10.0
- old
+ new
@@ -1,2 +1,9 @@
-require ::File.dirname(__FILE__) + '/config/boot.rb'
-run Padrino.application
\ No newline at end of file
+#!/usr/bin/env rackup
+# encoding: utf-8
+
+# This file can be used to start Padrino,
+# just execute it from the command line.
+
+require File.expand_path("../config/boot.rb", __FILE__)
+
+run Padrino.application