mirror of
https://github.com/plashchynski/crono.git
synced 2026-01-11 21:10:24 +01:00
Crono fails to start with Web UI route active on Rails 5 #36
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cseelus on GitHub (Sep 20, 2016).
First thanks for your work. We use Crono in production for over a year now and it has kicked of tens of thousands of jobs on our servers.
Upgrading one of our apps to Rails 5 we encountered a problem though:
Running the Crono gem works as long as the route to the Web UI (
mount Crono::Web, at: '/crono') is not active. With the route added,cronodoesn't start locally as well as on our production machine (Heroku).We can reproduce this problem within a clean new Rails 5.0.0.1 app with only the Crono gem added as well.
Error log from development machine (macOS 10.11.6 with Ruby 2.3.1, paths shortened for readability):
@plashchynski commented on GitHub (Sep 22, 2016):
Hello @cseelus
Thank you for the good words.
This issue is related to https://github.com/sinatra/sinatra/issues/1055
You can fix it by using the latest version of sinatra:
Thank you and good luck.
@cseelus commented on GitHub (Sep 22, 2016):
Thanks @plashchynski, this works :-)