havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
xco has joined #ruby
bambanx has joined #ruby
justache has joined #ruby
Nerium has joined #ruby
<havenwood> jegade: What command results in that error?
<havenwood> jegade: Are you prefixing `bundle exec` or using `bin/rails ...`?
Nerium has quit [Quit: Textual IRC Client: www.textualapp.com]
Garb0 has joined #ruby
oneeggeach has quit [Quit: Leaving...]
<havenwood> jegade: If you're using Bundler, make sure to install it on Ruby 2.3.
<havenwood> jegade: If you're using Rails command line, you can specify the version: rails _3.2.13_ server
leitz has quit [Quit: Leaving]
drincruz has joined #ruby
duderonomy has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
tcz has quit [Quit: Leaving]
ChmEarl has quit [Quit: Leaving]
reyfi9e has quit [Quit: Konversation term]
BTRE has quit [Remote host closed the connection]
BTRE has joined #ruby
bsdbandit-01 has quit [Ping timeout: 264 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
justache has quit [Quit: The Lounge - https://thelounge.chat]
bambanx has quit [Quit: Leaving]
justache has joined #ruby
alfiemax has joined #ruby
justache has quit [Client Quit]
justache has joined #ruby
duderonomy has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 256 seconds]
dfucci has joined #ruby
orbyt_ has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
nofxx_ has quit [Remote host closed the connection]
nofxx has joined #ruby
_whitelogger has joined #ruby
alfiemax has quit [Remote host closed the connection]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emptyflask has joined #ruby
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
emptyflask has quit [Client Quit]
duderonomy has joined #ruby
oncall-pokemon has quit [Quit: Connection closed for inactivity]
memcorru1t has quit [Ping timeout: 264 seconds]
memcorru1t has joined #ruby
mydog2 has quit [Ping timeout: 246 seconds]
mydog2 has joined #ruby
_whitelogger has joined #ruby
Garb0_ has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
Garb0 has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
_whitelogger has joined #ruby
cd has quit [Quit: cd]
mozzarella has quit [Remote host closed the connection]
mozzarella has joined #ruby
bmo has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
dfucci has joined #ruby
bmo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r3m has quit [Ping timeout: 240 seconds]
r3m has joined #ruby
xco has joined #ruby
jenrzzz has joined #ruby
alexherbo2 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
waheedi has joined #ruby
clemens3 has quit [Quit: reboot]
<havenwood> Array#repeated_sample https://github.com/ruby/ruby/pull/2956
Jesfre has quit [Quit: Leaving]
<havenwood> Seems nice ^
RiPuk has quit [Quit: ZNC 1.8.1 - https://znc.in]
<havenwood> Not merged
RiPuk has joined #ruby
BitMac has joined #ruby
BitMac has quit [Client Quit]
darkstardev13 has quit [Remote host closed the connection]
Garb0_ has quit [Quit: I'm out.]
oddp has quit [Ping timeout: 246 seconds]
darkstardev13 has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
clemens3 has joined #ruby
jenrzzz has joined #ruby
memcorru1t has quit [Ping timeout: 246 seconds]
imode has quit [Ping timeout: 265 seconds]
gix has joined #ruby
Archenoth has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
memcorrupt has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xco has joined #ruby
<leftylink> I would be happy to have that
clemens3 has quit [Read error: Connection reset by peer]
ellcs1 has joined #ruby
<jegade> havenwood: gem install rails --version 3.2.13 with ruby 1.9.3 was the command
<jegade> i need ruby 1.9.3 and rails 3.2.xx for old data restore
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clemens3 has joined #ruby
kristian_on_linu has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> jegade: best to create a Gemfile and use bundler so you can pin down an old rack-cache version (possibly more)
xco has joined #ruby
dretnx has joined #ruby
dfucci has joined #ruby
Nahra has joined #ruby
kmplsv has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
TCZ has joined #ruby
ellcs1 has quit [Ping timeout: 260 seconds]
waheedi has quit [Quit: waheedi]
dretnx has quit [Quit: Going offline, see ya! (www.adiirc.com)]
TCZ has quit [Quit: Leaving]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
GodFather_ has quit [Ping timeout: 256 seconds]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
waheedi has joined #ruby
GodFather_ has joined #ruby
<jegade> jhass: there is a gemfile, but it fails :(
<jegade> but it is very old
<jhass> might be possible to fix it up
<jegade> jhass: i tried, but then i run in to this
<jegade> it is redmine 2.3.2
<jhass> ah, so no .lock? :/
<jegade> right, no .lock
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
<jhass> so, "run into this", what's this?
Technodrome has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
oddp has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
dfucci has joined #ruby
gitter1234 has joined #ruby
evdubs_ is now known as evdubs
jenrzzz has joined #ruby
memcorrupt has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
TCZ has joined #ruby
<jegade> jhass: sorry, lunch break
<jegade> Gem::InstallError: rake requires Ruby version >= 2.2.
<jegade> An error occurred while installing rake (13.0.1), and Bundler cannot continue.
<jegade> Make sure that `gem install rake -v '13.0.1'` succeeds before bundling.
<jegade> if i run bundle install
kristian_on_linu has quit [Remote host closed the connection]
dretnx has joined #ruby
Nahra has quit [Quit: leaving]
memcorrupt has joined #ruby
memcorrupt has quit [Changing host]
memcorrupt has joined #ruby
DaniG2k has joined #ruby
DaniG2k has quit [Client Quit]
xco has quit [Quit: Textual IRC Client: www.textualapp.com]
dionysus69 has joined #ruby
dfucci has quit [Ping timeout: 260 seconds]
<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?
<AndreYuhai> I've tried to explain what I mean here : https://dpaste.org/7iEr
<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)
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
Garb0 has joined #ruby
jenrzzz has joined #ruby
Garb0 has quit [Max SendQ exceeded]
Garb0 has joined #ruby
<AndreYuhai> CommunistWolf, alright, thank you.
Garb0 has quit [Max SendQ exceeded]
<havenwood> AndreYuhai: https://dpaste.org/h2bG
<havenwood> AndreYuhai: It's nice to give `recuse` the error you expect, so you don't swallow all StandardErrror`s
Garb0 has joined #ruby
<havenwood> rescue IExpectThisOne, OrThisOne => e
Garb0 has quit [Remote host closed the connection]
<AndreYuhai> havenwood, Oh thank you!
jenrzzz has quit [Ping timeout: 240 seconds]
TCZ has joined #ruby
xco has joined #ruby
jenrzzz has joined #ruby
ignorand has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
ChmEarl has joined #ruby
reffle has quit [Quit: This computer has gone to sleep]
reffle has joined #ruby
orbyt_ has joined #ruby
Technodrome has joined #ruby
jenrzzz has joined #ruby
Garb0 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
mydog2 has quit [Ping timeout: 256 seconds]
mydog2 has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
reffle has quit [Quit: This computer has gone to sleep]
alfiemax has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ellcs1 has joined #ruby
stdedos has joined #ruby
stdedos has quit [Client Quit]
yxhuvud has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xco has joined #ruby
jenrzzz has joined #ruby
waheedi has quit [Quit: waheedi]
jenrzzz has quit [Ping timeout: 246 seconds]
cassolas has joined #ruby
cassolas has quit [Ping timeout: 260 seconds]
FastJack has quit [Ping timeout: 240 seconds]
FastJack has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xco has joined #ruby
TCZ has quit [Quit: Leaving]
xco has quit [Quit: Textual IRC Client: www.textualapp.com]
xco has joined #ruby
xco has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
UncleCid has joined #ruby
cassolas has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
vondruch has joined #ruby
imode has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
vondruch has quit [Ping timeout: 240 seconds]
wymillerlinux has joined #ruby
cassolas has quit [Ping timeout: 240 seconds]
<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]
cassolas has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
cnsvc_ has quit [Quit: WeeChat 2.8]
Garb0 has joined #ruby
cassolas has quit [Ping timeout: 260 seconds]
Technodrome has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
cassolas has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
cassolas has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
waheedi has quit [Quit: waheedi]
jenrzzz has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
cassolas has joined #ruby
dfucci has joined #ruby
cd has joined #ruby
ignorand has joined #ruby
orbyt_ has joined #ruby
cassolas has quit [Ping timeout: 265 seconds]