<jhass>
jegade: try adding gem "rake", "12.3.3" to the Gemfile
<jhass>
rinse and repeat for anything else, that is find the version still supporting the old ruby, lock to it in the Gemfile
<jegade>
ok, ty, will try
jenrzzz has joined #ruby
dretnx has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<jegade>
jhass: yes, it works, looking up each package at rubygems.org and search for version around the date
jenrzzz has quit [Ping timeout: 240 seconds]
memcorrupt has quit [Ping timeout: 265 seconds]
bkuhlmann has joined #ruby
TCZ has quit [Quit: Leaving]
reffle has joined #ruby
reffle has quit [Read error: Connection reset by peer]
reffle has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vaval has joined #ruby
vaval has quit [Client Quit]
dfucci has joined #ruby
ignorand has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
howdoi has joined #ruby
AndreYuhai has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
<AndreYuhai>
Using sidekiq when my thread fails, it's going to retry. Is there any way to actually make it retry where it's left off instead of from the beginning?
<havenwood>
AndreYuhai: `rescue` then `retry` with the logic you want for retrying.
<CommunistWolf>
(ware infinite loops)
<AndreYuhai>
havenwood, What if I call perform_async method from within the perform method? I just wanted to use the retry option that sidekiq provides :D
<AndreYuhai>
CommunistWolf, that's actually why I wanted to use sidekiq's retry though I could implement something similar inside the method
<CommunistWolf>
then you have to start from the beginning of the method, but you could put phases into the method to skip some logic if you wanted to
<CommunistWolf>
making the whole thing and all substeps idempotent is always a good shout
<CommunistWolf>
(since you can't guarantee it won't be executed twice anyway)
<adam12>
AndreYuhai: Echoing what was said above, definitely work at making these jobs idempotent.
<adam12>
AndreYuhai: The easiest to start would likely schedule a NEW worker job with the new ID, instead of doing it in the same worker. If it's possible.
orbyt_ has joined #ruby
dfucci has joined #ruby
jenrzzz has joined #ruby
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Client Quit]
jenrzzz has quit [Ping timeout: 256 seconds]
dfucci has quit [Ping timeout: 256 seconds]
dionysus69 has quit [Quit: dionysus69]
D9 has joined #ruby
yxhuvud has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
bkuhlmann has quit []
bmo has joined #ruby
bmo has quit [Client Quit]
ignorand has joined #ruby
duderonomy has joined #ruby
cnsvc has joined #ruby
ltd has quit [Ping timeout: 246 seconds]
Flyingdog has joined #ruby
D9 has quit [Ping timeout: 264 seconds]
cnsvc has quit [Remote host closed the connection]
cnsvc has joined #ruby
rippa has joined #ruby
Garb0 has quit [Ping timeout: 260 seconds]
gitter1234 has quit [Quit: Connection closed for inactivity]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
seaef has joined #ruby
jenrzzz has joined #ruby
stdedos has joined #ruby
reffle has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
r29v has quit [Quit: r29v]
hiroaki_ has quit [Ping timeout: 258 seconds]
troulouliou_div2 has joined #ruby
jenrzzz has joined #ruby
TCZ has joined #ruby
clemens3 has quit [Read error: No route to host]
jenrzzz has quit [Ping timeout: 240 seconds]
hiroaki_ has joined #ruby
ur5us has joined #ruby
cnsvc_ has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
cnsvc has quit [Remote host closed the connection]
Nahra has joined #ruby
jenrzzz has joined #ruby
ellcs1 has quit [Ping timeout: 244 seconds]
stdedos has quit [Quit: Ping timeout (120 seconds)]
jenrzzz has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
stdedos has joined #ruby
envex has joined #ruby
jetchisel has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nahra has quit [Quit: leaving]
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
ignorand has quit [Read error: Connection reset by peer]
Axy has joined #ruby
jenrzzz has joined #ruby
Mia has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
seaef has quit [Quit: I am functioning within established parameters.]
jenrzzz has joined #ruby
clemens3 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
quazimodo has quit [Ping timeout: 258 seconds]
quazimodo has joined #ruby
cassolas has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
waheedi has joined #ruby
dfucci has joined #ruby
cassolas has quit [Ping timeout: 260 seconds]
dfucci has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
TCZ has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
reffle has quit [Quit: This computer has gone to sleep]