le1t0-whenever 0.6.2.001 → 0.6.2.002

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,11 +8,12 @@ set :path, Whenever.path
8
8
  set :job_template, "/bin/bash -l -c ':job'"
9
9
 
10
10
  job_type :command, ":envvars :task :output"
11
- job_type :rake, "cd :path && :envvars RAILS_ENV=:environment rake :task --silent :output"
11
+ job_type :rake, "cd :path && :envvars RAILS_ENV=:environment /usr/bin/env rake :task --silent :output"
12
+ job_type :bundled_rake, "cd :path && :envvars RAILS_ENV=:environment bundle exec rake :task --silent :output"
12
13
 
13
14
  # Create a runner job that's appropriate for the Rails version,
14
15
  if File.exists?(File.join(path, 'script', 'rails'))
15
- job_type :runner, "cd :path && :envvars script/rails runner -e :environment ':task' :output"
16
+ job_type :runner, "cd :path && :envvars /usr/bin/env script/rails runner -e :environment ':task' :output"
16
17
  else
17
- job_type :runner, "cd :path && :envvars script/runner -e :environment ':task' :output"
18
+ job_type :runner, "cd :path && :envvars /usr/bin/env script/runner -e :environment ':task' :output"
18
19
  end
@@ -1,3 +1,3 @@
1
1
  module Whenever
2
- VERSION = '0.6.2.001'
2
+ VERSION = '0.6.2.002'
3
3
  end unless defined?(Whenever::VERSION)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: le1t0-whenever
3
3
  version: !ruby/object:Gem::Version
4
- hash: 117
4
+ hash: 115
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
9
  - 2
10
- - 1
11
- version: 0.6.2.001
10
+ - 2
11
+ version: 0.6.2.002
12
12
  platform: ruby
13
13
  authors:
14
14
  - Le1t0
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-11-22 00:00:00 +01:00
19
+ date: 2010-11-30 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency