appjob 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/appjob.rb +1 -1
- data/lib/appjob/version.rb +1 -1
- metadata +3 -3
data/lib/appjob.rb
CHANGED
@@ -15,7 +15,7 @@ class Appjob
|
|
15
15
|
if defined? Rails and RAILS_ENV and RAILS_ROOT
|
16
16
|
log 'Init ok, env='+Rails.env.to_s
|
17
17
|
Thread.abort_on_exception = true
|
18
|
-
FileUtils.mv(File.join(
|
18
|
+
FileUtils.mv(File.join(File.dirname(__FILE__),'appjob','every.rb'), EVERY_PATH) unless File.exist? EVERY_PATH
|
19
19
|
eval(File.read(EVERY_PATH))
|
20
20
|
else
|
21
21
|
puts 'Appjob: No rails app detected'
|
data/lib/appjob/version.rb
CHANGED
metadata
CHANGED