Skip to content
Browse files

Using relative path require.

  • Loading branch information...
1 parent 455fc99 commit 7038f0ffbe2d9d8628b6c666f308716020830576 @lunks lunks committed Nov 19, 2013
Showing with 6 additions and 6 deletions.
  1. +1 −1 config.ru
  2. +4 −4 fotologffffffu.rb
  3. +1 −1 spec/spec_helper.rb
View
2 config.ru
@@ -1,3 +1,3 @@
-require 'fotologffffffu'
+require './fotologffffffu'
run Sinatra::Application
View
8 fotologffffffu.rb
@@ -6,8 +6,8 @@
require 'open-uri'
set :app_file, __FILE__
-require 'app/application_helper'
-require 'app/cache'
-require 'app/fotolog'
-require 'app/main_controller'
+require './app/application_helper'
+require './app/cache'
+require './app/fotolog'
+require './app/main_controller'
View
2 spec/spec_helper.rb
@@ -1,4 +1,4 @@
-require 'fotologffffffu'
+require_relative '../fotologffffffu'
require 'sinatra'
require 'rack/test'

0 comments on commit 7038f0f

Please sign in to comment.
Something went wrong with that request. Please try again.