lib/visage/config.ru in visage-app-0.1.6 vs lib/visage/config.ru in visage-app-0.1.7
- old
+ new
@@ -1,6 +1,9 @@
#!/usr/bin/env ruby
+@root = Pathname.new(File.dirname(__FILE__)).parent.parent.expand_path
+$: << @root.to_s
+
$0 = "visage"
require 'lib/visage-app'
run Sinatra::Application