Skip to content
Browse files

fixed public rails path

  • Loading branch information...
1 parent c2e4c6e commit f2a9d3b2a8167ecd7055970c0dacc9ebcbff68e2 dewski committed Apr 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/whenever.rb
View
2 lib/whenever.rb
@@ -2,7 +2,7 @@
# Hoping to load Rails' Rakefile
begin
- load 'Rakefile'
+ load "#{Rails.root}/Rakefile"
rescue LoadError
nil
end

0 comments on commit f2a9d3b

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