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 quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adu has joined #ruby
bsdband17 has quit [Quit: -a- Connection Timed Out]
bsdbandit-01 has joined #ruby
ur5us has joined #ruby
jenrzzz has joined #ruby
bamdad has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
gdonald has quit [Remote host closed the connection]
kaivai_ has joined #ruby
kaivai has quit [Ping timeout: 240 seconds]
greypack has quit [Ping timeout: 265 seconds]
greypack has joined #ruby
dualfade has quit [Ping timeout: 240 seconds]
llua has joined #ruby
greypack has quit [Ping timeout: 256 seconds]
greypack_1 has joined #ruby
dualfade has joined #ruby
Aaliya has joined #ruby
orbyt_ has joined #ruby
howdoi has joined #ruby
elcuervo has quit [Read error: Connection reset by peer]
cow[moo] has joined #ruby
elcuervo has joined #ruby
Guest56220 has joined #ruby
Aaliya has quit [Ping timeout: 256 seconds]
Guest56220 has quit []
Aaliya has joined #ruby
greypack_1 is now known as greypack
jenrzzz has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
drincruz has joined #ruby
lightstalker has quit [Ping timeout: 256 seconds]
lightstalker has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxx has quit [Remote host closed the connection]
_whitelogger has joined #ruby
bambanx has quit [Quit: Leaving]
jenrzzz has joined #ruby
Emmanuel_ChanelW has joined #ruby
nofxx has joined #ruby
orbyt_ has joined #ruby
braincrash has quit [Quit: bye bye]
_whitelogger has joined #ruby
braincrash has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lucasb has quit [Quit: Connection closed for inactivity]
drincruz has quit [Ping timeout: 240 seconds]
gix has quit [Ping timeout: 256 seconds]
roshanavand_ has joined #ruby
roshanavand has quit [Ping timeout: 246 seconds]
roshanavand_ is now known as roshanavand
roadt__ has quit [Ping timeout: 264 seconds]
roadt__ has joined #ruby
bmo has joined #ruby
_whitelogger has joined #ruby
Emmanuel_Chanel_ has quit [Ping timeout: 256 seconds]
ur5us has joined #ruby
duderonomy has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
adu has quit [Quit: adu]
roadt__ has quit [Ping timeout: 256 seconds]
roadt__ has joined #ruby
bmo has quit [Quit: Textual IRC Client: www.textualapp.com]
wymillerlinux has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
adu has joined #ruby
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
jenrzzz has joined #ruby
rose_nd_ash has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 246 seconds]
Emmanuel_Chanel has joined #ruby
greypack has quit [Ping timeout: 240 seconds]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
greypack has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
adu has quit [Quit: adu]
cl33d05 has joined #ruby
rose_nd_ash has joined #ruby
cl33d05 has quit [Client Quit]
cl33d05 has joined #ruby
ctOS has quit [Quit: Connection closed for inactivity]
cl33d05 has left #ruby [#ruby]
cl33d05 has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
wymillerlinux has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
greypack has quit [Ping timeout: 246 seconds]
cow[moo] has quit [Quit: Textual IRC Client: www.textualapp.com]
Exuma has joined #ruby
cow[moo] has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
rose_nd_ash has quit [Remote host closed the connection]
roadt__ has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
roadt__ has joined #ruby
andremedeiros has quit [Quit: ZNC 1.8.1 - https://znc.in]
andremedeiros has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 260 seconds]
cd has quit [Quit: cd]
Aaliya has quit [Ping timeout: 260 seconds]
Aaliya has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
ur5us has joined #ruby
roadt_ has joined #ruby
roadt__ has quit [Ping timeout: 256 seconds]
UncleCid has joined #ruby
Aaliya has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby
bogdan____ has joined #ruby
<bogdan____> Hey, can someone help with this error https://paste.ubuntu.com/p/YsYTJRRQ3G/
bogdan____ is now known as zaizaiz86
<havenwood> zaizaiz86: Could you try?: gem pristine openssl --version 2.2.0
<zaizaiz86> thank you so much for your interest
duderonomy has joined #ruby
<havenwood> zaizaiz86: I'm not sure why you're getting an "incompatible library version" with openssl. Is it viable for you to try an update to Ruby 2.5.8 and Nokogiri 1.10.10?
<zaizaiz86> I cannot, the project I am working on has this version, that I cannot change
<zaizaiz86> should I nuke my rvm install?
<havenwood> zaizaiz86: Try updating RVM to latest?: rvm get head
<havenwood> zaizaiz86: Then: rvm reinstall 2.5.1
<zaizaiz86> same thing;
<zaizaiz86> Error running '__rvm_with ruby-2.5.1 gemset_pristine',
<zaizaiz86> please read /home/bogdan/.rvm/log/1597566996_ruby-2.5.1/gemset.pristine-ruby-2.5.1.log
<havenwood> zaizaiz86: 2.5.8 is totally compatible with 2.5.1, just the latest version of 2.5. Could you bump the Ruby version in the .ruby-version and Gemfile and run `bundle` or you must use 2.5.1?
<zaizaiz86> I cannot change the project ruby versio
<zaizaiz86> then I will do like you said
<havenwood> zaizaiz86: Are you on Ubuntu? What version?
AndreYuhai has joined #ruby
<zaizaiz86> havenwood, Ubuntu 20.04.1 LTS x86_64
ctOS has joined #ruby
BH23 has quit [Read error: Connection reset by peer]
<zaizaiz86> havenwood, so this is not rvm's fault? is the problem that 2.5.1 is incompatible with the openssl version of Ubuntu 20.04.1 LTS?
<zaizaiz86> I try with a version manager I would get the same result?
<havenwood> It might be worth a quick try with ruby-install, ruby-build, or manual build, but I suspect incompatibility between n Ruby 2.5.1 and your modern distro's openssl.
<havenwood> zaizaiz86: It's sometimes easier to use an OS version as old as the Ruby, when this sort of thing happens. You could rebuild the RVM Ruby with an older openssl and see if that's sufficient.
<havenwood> zaizaiz86: Ideally, the client would update the Ruby version - since it's not the latest 2.5 and 2.5 is fairly dated.
<zaizaiz86> I have multiple projects with different ruby versions sadly
<zaizaiz86> there is nothing I can do about it
<havenwood> zaizaiz86: You could try: rvm pkg install openssl
<havenwood> zaizaiz86: rvm reinstall 2.5.1 --with-openssl-dir=$HOME/.rvm/usr
<zaizaiz86> that is very sexy
jenrzzz has joined #ruby
<zaizaiz86> Please note that it's required to reinstall all rubies:
<zaizaiz86> rvm reinstall all --force
<zaizaiz86> so should I do
<zaizaiz86> rvm reinstall all --force --with-openssl-dir=$HOME/.rvm/usr
<havenwood> zaizaiz86: Just a plain `rvm reinstall all --force` should probably do the trick.
<havenwood> zaizaiz86: The `--with-openssl-dir` may be necessary depending the the rvm autolibs you have set.
<havenwood> zaizaiz86: I can't recall, but should know. >.>
<havenwood> zaizaiz86: rvm autolibs rvm_pkg
<havenwood> zaizaiz86: I'm one of the maintainers of RVM, but I don't usually use pkg so I'm rusty.
<havenwood> And I'm a bad maintainer. :(
<zaizaiz86> thank you for your service sir
<havenwood> you're very welcome
<zaizaiz86> Error running '__rvm_with ruby-2.5.1 gemset_pristine',
<zaizaiz86> please read /home/bogdan/.rvm/log/1597567933_ruby-2.5.1/gemset.pristine-ruby-2.5.1.log
<zaizaiz86> I will wait until it finishes
<zaizaiz86> then try the " rvm autolibs rvm_pkg"
<zaizaiz86> and try
<zaizaiz86> rvm reinstall 2.5.1 --with-openssl-dir=$HOME/.rvm/usr
<havenwood> Mm, I was hoping the RVM openssl pkg would do the trick.
jenrzzz has quit [Ping timeout: 260 seconds]
<havenwood> zaizaiz86: Or try: PKG_CONFIG_PATH=$HOME/.rvm/usr/lib/pkgconfig rvm reinstall 2.5.1 --with-openssl-dir=$HOME/.rvm/usr
<havenwood> zaizaiz86: Thorough
<zaizaiz86> hmm, I dont understand the logic behind "PKG CONFIG"
<havenwood> zaizaiz86: If that doesn't work, you could try building a 2.5-era openssl. and link to that. I'd probably next just go to a 2.5-era Ubuntu version - as annoying as that is. It'd be odd of a proper openssl version to not work though.
<havenwood> zaizaiz86: Just to make sure that the libraries being retrieved are from RVM.
<havenwood> zaizaiz86: (Trying to think what the problem is here, since the error message is pretty vague.)
<havenwood> It's often a pain to get OpenSSL working with old Rubies, or other langs for that matter.
<havenwood> zaizaiz86: Come to think of it, ruby-build might have an advantage here—since they ship per-Ruby openssl versions, ignoring the package manager openssl.
<havenwood> zaizaiz86: If the reinstall against RVM pkg Ruby doesn't work, I'd recommend an `rvm implode` and try rbenv.
<havenwood> zaizaiz86: I normally don't recommend rbenv/ruby-build, since I'm not a huge fan of shims and shipping openssl with ruby-build. But could be nice here.
<havenwood> zaizaiz86: Note, the ruby-build (rbenv) Ruby 2.5.1 links to an openssl version it builds aside from whatever you have. https://github.com/rbenv/ruby-build/blob/master/share/ruby-build/2.5.1#L1
<havenwood> zaizaiz86: (openssl-1.1.1g)
<havenwood> zaizaiz86: If you install openssl 1.1.1g it'll likely work with RVM too.
<havenwood> Ruby 2.5 is no longer supported for bug fixes, and is in maintenance mode for security fixes only, so these issues start to crop up.
<havenwood> But sometimes you just need to make a version work, for whatever reason. Understood! :)
zaizaiz86 has quit [Remote host closed the connection]
cow[moo] has quit [Ping timeout: 256 seconds]
lxsameer has quit [Ping timeout: 265 seconds]
bogdan_ has joined #ruby
cl33d05 has quit [Quit: Leaving.]
lxsameer has joined #ruby
Emmanuel_ChanelW has quit [Ping timeout: 260 seconds]
xco has joined #ruby
Emmanuel_ChanelW has joined #ruby
akem has quit [Ping timeout: 264 seconds]
cnsvc has quit [Ping timeout: 240 seconds]
rose_nd_ash has joined #ruby
bogdan_ has quit [Quit: Leaving]
ur5us has quit [Ping timeout: 244 seconds]
cl33d05 has joined #ruby
<cl33d05> /msg NickServ identify fukochan
jenrzzz has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xco has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
lypsis has quit [Quit: ZNC - https://znc.in]
lypsis has joined #ruby
jenrzzz has joined #ruby
akem has joined #ruby
BH23 has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
imode has quit [Ping timeout: 260 seconds]
cl33d051 has joined #ruby
cl33d05 has quit [Ping timeout: 256 seconds]
clarkk has joined #ruby
<clarkk> I've installed rvm and ruby. "rvm list" shows that i have ruby-2.7.0 installed, and it is the current and default. However, if I run "ruby -v", it says that "Command 'ruby' not found, but can be installed with:" etc. Does anyone tell me how I can resolve this please?
_whitelogger has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
clarkk has quit [Quit: Leaving]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
cl33d05 has joined #ruby
cl33d051 has quit [Ping timeout: 256 seconds]
yokel has quit [Ping timeout: 256 seconds]
cl33d05 has quit [Ping timeout: 256 seconds]
skape has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
xco has joined #ruby
rose_nd_ash has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
gix has joined #ruby
Sina has joined #ruby
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
bsdbandit-01 has joined #ruby
cl33d05 has joined #ruby
rose_nd_ash has quit [Ping timeout: 260 seconds]
FastJack has quit [Ping timeout: 265 seconds]
FastJack has joined #ruby
mangoicedtea has joined #ruby
Twemlow has joined #ruby
Twemlow has quit [Client Quit]
FastJack has quit [Ping timeout: 240 seconds]
FastJack has joined #ruby
FastJack has quit [Ping timeout: 265 seconds]
UncleCidd has joined #ruby
UncleCid has quit [Ping timeout: 240 seconds]
akem has quit [Read error: Connection reset by peer]
wymillerlinux has joined #ruby
FastJack has joined #ruby
lucasb has joined #ruby
wymillerlinux has quit [Remote host closed the connection]
GodFather has quit [Read error: Connection reset by peer]
GodFather_ has joined #ruby
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
bsdbandit-01 has joined #ruby
Emmanuel_ChanelW has quit [Quit: Leaving]
tomthumb has joined #ruby
adu has joined #ruby
GodFather_ has quit [Read error: No route to host]
jenrzzz has joined #ruby
<AndreYuhai> Is there any way to save and load cookies using Capybara?
<AndreYuhai> but it says private.
<AndreYuhai> Which throws undefined method when I try it
GodFather_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
tomthumb has quit [Quit: Leaving]
akem has joined #ruby
mangoicedtea has quit [Quit: Leaving]
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
bsdbandit-01 has joined #ruby
GodFather_ has quit [Ping timeout: 240 seconds]
davispuh has joined #ruby
GodFather_ has joined #ruby
akem has quit [Ping timeout: 265 seconds]
GodFather_ has quit [Ping timeout: 246 seconds]
skape has joined #ruby
mnathani has quit []
akem has joined #ruby
GodFather_ has joined #ruby
akem has quit [Ping timeout: 240 seconds]
fercell has joined #ruby
ChmEarl has joined #ruby
akem has joined #ruby
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
bsdbandit-01 has joined #ruby
GodFather_ has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
schne1der has joined #ruby
jessa^22 has joined #ruby
lalitmee has joined #ruby
Aaliya has joined #ruby
Aaliya has quit [Client Quit]
jessa^22 has quit [Quit: Oh my God, why woman was easily to deceived and successfully tempted, then she became the tunnel of all sorts of sins. Adam was only her implicated. OMG nowadays many men impersonate the wicked deceiver to deceive woman online. Why? Brought to you buy 1]
foxxx0 has quit [Quit: foxxx0]
Aaliya has joined #ruby
Aaliya has quit [Client Quit]
foxxx0 has joined #ruby
Huda has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
foxxx0 has quit [Client Quit]
foxxx0 has joined #ruby
jenrzzz has joined #ruby
akem has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 265 seconds]
akem has joined #ruby
GodFather has joined #ruby
Huda has quit [Ping timeout: 256 seconds]
Huda has joined #ruby
Huda has quit [Client Quit]
Huda has joined #ruby
Huda has quit [Client Quit]
Huda has joined #ruby
Huda has quit [Ping timeout: 256 seconds]
orbyt_ has joined #ruby
<UncleCidd> AndreYuhai,
Huda has joined #ruby
Huda has quit [Client Quit]
Huda has joined #ruby
jinie has quit [Ping timeout: 260 seconds]
Huda has quit [Client Quit]
Huda has joined #ruby
Huda has quit [Client Quit]
drincruz has joined #ruby
jinie has joined #ruby
Nowaker has quit [Quit: No Ping reply in 180 seconds.]
Nowaker has joined #ruby
shansen has quit [Remote host closed the connection]
dougquaid has left #ruby [#ruby]
TomyLobo has joined #ruby
drincruz has quit [Ping timeout: 256 seconds]
bsdband17 has joined #ruby
bsdbandit-01 has quit [Ping timeout: 256 seconds]
drincruz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
imode has joined #ruby
drincruz has quit [Ping timeout: 265 seconds]
drincruz has joined #ruby
UncleCidd has quit [Remote host closed the connection]
bsdband17 has quit [Quit: -a- Connection Timed Out]
cnsvc has joined #ruby
akem_ has joined #ruby
akem has quit [Ping timeout: 264 seconds]
bsdbandit-01 has joined #ruby
drincruz has quit [Ping timeout: 256 seconds]
cl33d051 has joined #ruby
cl33d05 has quit [Ping timeout: 256 seconds]
skape has quit [Quit: Connection closed for inactivity]
macak has joined #ruby
lxsameer has quit [Quit: WeeChat 2.8]
lxsameer has joined #ruby
macak has left #ruby ["WeeChat 2.8"]
adu has quit [Quit: adu]
roshanavand_ has joined #ruby
cl33d051 has quit [Ping timeout: 240 seconds]
roshanavand has quit [Ping timeout: 265 seconds]
roshanavand_ is now known as roshanavand
akem_ is now known as CyberNekroJesus
roshanavand has quit [Ping timeout: 240 seconds]
CrazyEddy has quit [Ping timeout: 265 seconds]
skape has joined #ruby
roshanavand has joined #ruby
CrazyEddy has joined #ruby
bsdband64 has joined #ruby
jenrzzz has joined #ruby
bsdbandit-01 has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
bsdband64 has quit [Quit: -a- Connection Timed Out]
drincruz has joined #ruby
tty has joined #ruby
tty is now known as cd
cd has quit [Client Quit]
cd has joined #ruby
bsdbandit-01 has joined #ruby
jenrzzz has joined #ruby
drincruz has quit [Ping timeout: 264 seconds]
xco has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 264 seconds]
roshanavand has quit [Ping timeout: 264 seconds]
jetchisel has joined #ruby
drincruz has joined #ruby
CyberNekroJesus is now known as CyberNekroRezus
lalitmee has quit [Remote host closed the connection]
drincruz has quit [Ping timeout: 240 seconds]
ChmEarl has quit [Quit: Leaving]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
UncleCid has joined #ruby
cd has quit [Quit: cd]
mangoicedtea has joined #ruby
drincruz has joined #ruby
jenrzzz has joined #ruby
<AndreYuhai> UncleCid, Thank you.
<AndreYuhai> is there any way to read a csv in batches of lines? I am kinda sure I saw something like this before but I can't remember what it was. Check the docs but couldn't find it.
drincruz has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
<AndreYuhai> each_slice does that but after I load in all the csv file. Works fine anyway.
<AndreYuhai> the method I use the most in Ruby is probably "methods".
cliluw has quit [Ping timeout: 265 seconds]
cliluw has joined #ruby
AndreYuhai has quit [Remote host closed the connection]
dualfade has quit [Ping timeout: 240 seconds]
AndreYuhai has joined #ruby
dviola has quit [Ping timeout: 260 seconds]
dualfade has joined #ruby
alexherbo2 has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
dviola has joined #ruby
schne1der has quit [Ping timeout: 264 seconds]
roshanavand has joined #ruby
jenrzzz has joined #ruby
AndreYuhai has quit [Remote host closed the connection]
AndreYuhai has joined #ruby
rose_nd_ash has joined #ruby
mangoicedtea has quit [Ping timeout: 260 seconds]
havenwood has quit [Quit: ZNC 1.8.1 - https://znc.in]
havenwood has joined #ruby
havenwood has joined #ruby
havenwood has quit [Changing host]
havenwood has quit [Client Quit]
roshanavand has quit [Ping timeout: 240 seconds]
rose_nd_ash has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]