<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: 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>
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.
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>
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]
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]