Permalink
Browse files

Screwing up paths LIKE A BOSS.

Yeah, so sometimes, getting require paths right is annoying. Oh well, this fixes it.
  • Loading branch information...
1 parent 7ef5762 commit 9ca0be460e3d7e7efb7b2ac48215b77dbba9101d @steveklabnik committed Nov 28, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 Gemfile.lock
  2. +2 −2 bin/pomodoro
  3. +1 −1 lib/pomodoro/version.rb
View
2 Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- pomodoro (1.0.0)
+ pomodoro (1.0.1)
noprocrast
sinatra
thin
View
4 bin/pomodoro
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
-require './lib/pomodoro'
+require 'pomodoro'
require 'thin'
-rackup_file = "./lib/pomodoro/config.ru"
+rackup_file = "#{File.dirname(__FILE__)}/../lib/pomodoro/config.ru"
Thread.new do
loop do
View
2 lib/pomodoro/version.rb
@@ -1,3 +1,3 @@
module Pomodoro
- VERSION = "1.0.0"
+ VERSION = "1.0.1"
end

0 comments on commit 9ca0be4

Please sign in to comment.