File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,9 @@ The default job types that ship with Whenever are defined like so:
106106
107107``` ruby
108108job_type :command , " :task :output"
109- job_type :rake , " cd :path && :environment_variable=:environment bundle exec rake :task --silent :output"
110- job_type :runner , " cd :path && bin/rails runner -e : environment ': task' :output"
111- job_type :script , " cd :path && :environment_variable=:environment bundle exec script/ :task :output"
109+ job_type :rake , " cd :path && :environment_variable=:environment :bundle_command rake :task --silent :output"
110+ job_type :script , " cd :path && :environment_variable=: environment :bundle_command script/: task :output"
111+ job_type :runner , " cd :path && :bundle_command :runner_command -e :environment ' :task' :output"
112112```
113113
114114Pre-Rails 3 apps and apps that don't use Bundler will redefine the ` rake ` and ` runner ` jobs respectively to function correctly.
You can’t perform that action at this time.
0 commit comments