ejschmitt / delayed_job_web

Resque like web interface for delayed job
MIT License
478 stars 188 forks source link

Error in Pending View #96

Closed jonathanread closed 6 years ago

jonathanread commented 7 years ago

Rails: 5.0.3 Ruby: 2.4.0p4

After installing the Gem I went to the 'Pending' view and receive the following error:

SyntaxError at /delayed_job/pending /usr/local/lib/ruby/gems/2.4.0/gems/delayed_job_web-1.4/lib/delayed_job_web/application/views/pending.erb:3: syntax error, unexpected ';' if @allow_requeue_pending -; @_out_buf.concat "\n" ^ /usr/local/lib/ruby/gems/2.4.0/gems/delayed_job_web-1.4/lib/delayed_job_web/application/views/pending.erb:8: syntax error, unexpected ';' @_out_buf.concat " "; end -; @_out_buf.concat "\n" ^ /usr/local/lib/ruby/gems/2.4.0/gems/delayed_job_web-1.4/lib/delayed_job_web/application/views/pending.erb:24: syntax error, unexpected keyword_ensure, expecting keyword_end ensure ^ /usr/local/lib/ruby/gems/2.4.0/gems/delayed_job_web-1.4/lib/delayed_job_web/application/views/pending.erb:28: syntax error, unexpected keyword_end, expecting end-of-input end;end;end;end ^