Permalink
Browse files

Fix paths to work under ruby 1.9.2

Closes issue #1
  • Loading branch information...
1 parent 36d5570 commit 865a27dc2c436de302bc4ab4fe7bf8edeb39e09b John Wedgwood committed Apr 17, 2011
Showing with 6 additions and 6 deletions.
  1. +5 −5 blog_app.rb
  2. +1 −1 config.ru
View
@@ -1,12 +1,12 @@
require 'sinatra'
require 'haml'
-require 'lib/blog'
+require './lib/blog'
# Load the blog contents
-require 'blog_config'
-require 'pages'
-require 'posts'
-require 'redirects'
+require './blog_config'
+require './pages'
+require './posts'
+require './redirects'
# Haml config
set :haml, :format => :html5
View
@@ -1,4 +1,4 @@
-require 'blog_app'
+require './blog_app'
if ENV['RACK_ENV'] == 'development' then
log = File.new("tmp/log/sinatra.log", "a")

0 comments on commit 865a27d

Please sign in to comment.