config.ru in spire-0.1.8 vs config.ru in spire-0.1.9
- old
+ new
@@ -1,9 +1,12 @@
$:.unshift File.join(File.dirname(__FILE__), 'lib')
require 'rack'
require 'spire'
-run Spire::Router.new('./app', {
+path = File.expand_path(__FILE__)
+path["config.ru"] = "app"
+
+run Spire::Router.new(path, {
"default" => "index#index", # the default route!
"/index" => "index#index",
})
\ No newline at end of file