Skip to content

Commit

Permalink
Add current directory to LOAD_PATH in demo for Ruby 1.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Morearty authored and hone committed Feb 7, 2012
1 parent ddfb5bb commit 91c230a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/demo/Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../../lib'
$LOAD_PATH.unshift File.dirname(__FILE__) unless $LOAD_PATH.include?(File.dirname(__FILE__))
require 'resque/tasks'
require 'job'

Expand Down
1 change: 1 addition & 0 deletions examples/demo/config.ru
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
require 'logger'
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../../lib'
$LOAD_PATH.unshift File.dirname(__FILE__) unless $LOAD_PATH.include?(File.dirname(__FILE__))
require 'app'
require 'resque/server'

Expand Down

0 comments on commit 91c230a

Please sign in to comment.