yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
yxhuvud has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr_ has joined #ruby
nofxx_ has quit [Remote host closed the connection]
nofxx_ has joined #ruby
edwardly has quit [Quit: ??????????]
drakonis has quit [Ping timeout: 272 seconds]
bier_ has quit [Ping timeout: 272 seconds]
bier has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
drakonis has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
fercell has quit [Ping timeout: 264 seconds]
fercell has joined #ruby
mikecmpbll has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
ur5us_ has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
fercell has quit [Ping timeout: 272 seconds]
fercell has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
dinfuehr_ has quit [Ping timeout: 264 seconds]
dinfuehr has joined #ruby
royo25 has joined #ruby
royo25 has quit [Remote host closed the connection]
royo25 has joined #ruby
al2o3-cr has joined #ruby
royo25 has quit [Quit: Bye]
dinfuehr has quit [Ping timeout: 264 seconds]
jla has joined #ruby
dinfuehr has joined #ruby
xf3rno has joined #ruby
naftilos76 has joined #ruby
<naftilos76>
Hi i am getting an error while trying to create an ssl session in ruby 3.0 . I have ued a script to generate cert & key. See here: https://pastebin.ubuntu.com/p/NxX3QtgxPQ/
<naftilos76>
The error i get is: /....rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/openssl/ssl.rb:491:in `initialize': undefined method `session_id_context' for #<OpenSSL::PKey::RSA:0x0000000002c94508 oid=rsaEncryption> (NoMethodError)
<naftilos76>
Does it mean anything to you?
xf3rno has quit [Remote host closed the connection]
xf3rno has joined #ruby
gearnode has joined #ruby
gearnode has quit [Client Quit]
<naftilos76>
The above works fine in ruby 2.2.0
gearnode has joined #ruby
kristian_on_linu has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
fercell has quit [Ping timeout: 264 seconds]
fercell has joined #ruby
RougeR has joined #ruby
<RougeR>
woop woop
<RougeR>
finished my tech test
fercell has quit [Ping timeout: 272 seconds]
<RougeR>
dont suppose anyone fancies a glance over and a little feedback
<RougeR>
I havnt worked in ruby in a year, took quite a few days to get this looking polished, tested and well designed
TCZ has joined #ruby
akem has joined #ruby
fercell has quit [Ping timeout: 265 seconds]
fercell has joined #ruby
fercell has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
dinfuehr has quit [Ping timeout: 240 seconds]
fercell has joined #ruby
dinfuehr has joined #ruby
Technodrome has joined #ruby
xf3rno has quit [Quit: WeeChat 2.9]
AntonioM has joined #ruby
AntonioM has left #ruby [#ruby]
jenrzzz has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
niv has joined #ruby
mikecmpbll has joined #ruby
dinfuehr has quit [Ping timeout: 246 seconds]
dinfuehr has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
m27frogy has joined #ruby
fercell has quit [Ping timeout: 240 seconds]
fercell has joined #ruby
dinfuehr has quit [Ping timeout: 246 seconds]
dinfuehr has joined #ruby
fercell has quit [Ping timeout: 240 seconds]
fercell has joined #ruby
RougeR has quit [Ping timeout: 264 seconds]
dinfuehr has quit [Ping timeout: 272 seconds]
nofxx_ has quit [Remote host closed the connection]
dinfuehr has joined #ruby
nofxx_ has joined #ruby
chouhoulis has joined #ruby
RougeR has joined #ruby
linoge has joined #ruby
chouhoulis has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
naftilos76 has quit [Quit: Leaving]
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
noctux has quit [Read error: Connection reset by peer]
noctux has joined #ruby
weaksauce has quit [Ping timeout: 246 seconds]
dinfuehr has quit [Ping timeout: 272 seconds]
dinfuehr has joined #ruby
Swyper has joined #ruby
* jla
ruby ( Jekyll ) is burning my CPUs
fercell has quit [Ping timeout: 256 seconds]
<jla>
Need to use v2.7 ... what can i do in order to reduce CPU (intensive ) usage ?
fercell has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* jla
'bundle exec jekyll serve ... ' is burning the CPU ... while system's (gem) 'jekyll serve ... ' does not
<jla>
probably some basics ... what am i missing here ?
* jla
well i was wrong .. both ways of jekyll ... burn my CPU .. my guess is that what is being server is a pretty huge Jekill website
* jla
repository is about 0.5 GB ^^
dinfuehr has quit [Ping timeout: 272 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
TCZ has quit [Remote host closed the connection]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
Swyper has quit [Remote host closed the connection]
jenrzzz has joined #ruby
AndreYuhai has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
Technodrome has joined #ruby
phoo1234567 has joined #ruby
deviantfero has joined #ruby
phoo1234567 has quit [Quit: Gotta go]
akem has quit [Read error: No route to host]
goepsilongo has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
jla has quit [Ping timeout: 256 seconds]
tekk has quit [Ping timeout: 268 seconds]
phoo1234567 has joined #ruby
phoo1234567_ has joined #ruby
phoo1234567_ has quit [Client Quit]
phoo1234567 has quit [Quit: Gotta go]
phoo1234567 has joined #ruby
GodFather has joined #ruby
dionysus69 has joined #ruby
dionysus69 has joined #ruby
dinfuehr has quit [Ping timeout: 272 seconds]
dinfuehr has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nakilon>
he left
<nakilon>
if he's caring about his laptop I would recommend cpulimit
<nakilon>
that's what I use, cpulimit -i -l 50 bundle exec ruby ... and it uses only one half of a core
akem has joined #ruby
TCZ has joined #ruby
n1v has joined #ruby
ChewiB has joined #ruby
niv has quit [Ping timeout: 246 seconds]
akem1 has quit [Ping timeout: 240 seconds]
akem has quit [Ping timeout: 240 seconds]
akem1 has joined #ruby
ChewiB is now known as akem
jenrzzz has joined #ruby
dinfuehr_ has joined #ruby
dinfuehr has quit [Ping timeout: 272 seconds]
ChmEarl has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
tfreedman has quit [Quit: Idle for 30+ days]
<gearnode>
nice to know! x)
al2o3-cr-tmp has joined #ruby
jla has joined #ruby
al2o3-cr has quit [Ping timeout: 256 seconds]
Technodrome has joined #ruby
al2o3-cr-tmp is now known as al2o3-cr
cthulchu_ has joined #ruby
jla has quit [Ping timeout: 272 seconds]
RougeR has quit [Read error: Connection reset by peer]
<nakilon>
leftylink about that case about lambda and blocks: I've wrapped other lines of code in lambdas too and that has revealed that some blocks just don't need to be passed and can be called in the caller
prepend has joined #ruby
<nakilon>
so the second half of that snippet started looking like a module with three methods that are like virtual for the first part of the snippet and it calls them all in itself, no block passing complexity, only vars passing left
FastJack has quit [Ping timeout: 272 seconds]
FastJack has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
<nakilon>
so the DRYing lead to "code A that called code B passing blocks in both directions" become a "one call of code B that calls methods of module A"
jla has joined #ruby
slowly_stuck has joined #ruby
supercoven has joined #ruby
supercoven has quit [Max SendQ exceeded]
supercoven has joined #ruby
supercoven has quit [Max SendQ exceeded]
mikecmpbll has joined #ruby
supercoven has joined #ruby
supercoven has quit [Max SendQ exceeded]
supercoven has joined #ruby
dinfuehr_ has quit [Ping timeout: 264 seconds]
dinfuehr has joined #ruby
jla has quit [Ping timeout: 265 seconds]
jla has joined #ruby
schne1der has quit [Quit: schne1der]
<slowly_stuck>
The gem for mysql isn't compiling. I have the right -dev packages installed (debian). Am I missing something obvious? Here are logs trying bundle install, then gem, then looking at build output: https://dpaste.org/Hw69
shtirlic has quit [Quit: leaving]
deimos_ has left #ruby [#ruby]
hiroaki has joined #ruby
<phaul>
slowly_stuck: maybe gcc version problem. What's your gcc version?
<slowly_stuck>
gcc (Debian 8.3.0-6) 8.3.0
<adam12>
slowly_stuck: The Gemfile you're installing from. Is it from one of your own projects? That gem is ancient.
<slowly_stuck>
I'm using a project that has a .ruby-version of 2.4.2
<adam12>
slowly_stuck: Most projects are using mysql2. The error you pasted shows that something might have changed with a recent version of MariaDB.
<slowly_stuck>
I'll check out mysql2, thanks adam12. Hopefully it's fairly similar in usage!
<adam12>
slowly_stuck: Might be easy to replace since they both just bind libmysqlclient but seeing datamapper in your bundle install output means this project is probably fairly old.
deimos_ has joined #ruby
TCZ has quit [Remote host closed the connection]
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
akem has quit [Read error: No route to host]
akem has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
stryek has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ruurd has joined #ruby
weaksauce has joined #ruby
ruurd has quit [Client Quit]
howdoi has joined #ruby
ruurd has joined #ruby
ruurd has quit [Client Quit]
gearnode has quit [Ping timeout: 264 seconds]
gearnode has joined #ruby
ruurd has joined #ruby
<nakilon>
fairly old still bugs not fixed (
jenrzzz has joined #ruby
ruurd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rudd0 has quit [Ping timeout: 240 seconds]
fercell has quit [Ping timeout: 272 seconds]
s3nd1v0g1us has joined #ruby
gearnode has quit [Remote host closed the connection]
gearnode has joined #ruby
brandao has joined #ruby
brandao has left #ruby ["WeeChat 1.9.1"]
ruurd has joined #ruby
gix has joined #ruby
jla has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Ping timeout: 264 seconds]
vondruch has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
ritsch_master has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
ruurd has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
dfucci has joined #ruby
Lyubo1 has quit [Ping timeout: 272 seconds]
GodFather has quit [Ping timeout: 264 seconds]
leah2 has quit [Ping timeout: 260 seconds]
dfucci has quit [Ping timeout: 265 seconds]
leah2 has joined #ruby
Lyubo1 has joined #ruby
supercoven has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
ffmegaman has joined #ruby
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
jla has joined #ruby
ikke has joined #ruby
ffmegaman has quit []
philip has joined #ruby
jenrzzz has joined #ruby
philip has quit [Client Quit]
deviantfero has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
<nakilon>
wow, why does the '-r' required file does not have full bundler's $: ?
<nakilon>
for example, I have a github-hosted gem specified in Gemfile and it's seen here: $ bundle exec ruby -e 'puts $:'
<nakilon>
but if you make tamp.rb with a content "puts $:" and do the $ bundle exec ruby -r ./temp -e ''
<nakilon>
you'll see much fewer lines
evil has quit [Quit: Connection closed for inactivity]
dviola has quit [Quit: WeeChat 3.0]
dviola has joined #ruby
dfucci has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
<adam12>
nakilon: It's the order of how things are defined. `bundle exec` sets RUBYOPT=-rpath/to/bundler/setup. When you pass -r, it gets evaluated first, then RUBYOPT.
<adam12>
nakilon: I'm surprised that maybe RUBYOPT isn't evaluated first. Maybe it should be.
deviantfero has joined #ruby
Lyubo1 has quit [Ping timeout: 264 seconds]
<nakilon>
adam12 that sucks, I have a several versions of the code that I wanted to chose with -r flag, and there is that github dependency...
<adam12>
nakilon: Can you -rbundler/setup first?
<adam12>
ruby -rbundler/setup -rother/require
dfucci has joined #ruby
Lyubo1 has joined #ruby
<nakilon>
adam12 seems to be working, thanks
jenrzzz has joined #ruby
cognemo has quit [Quit: cognemo]
cognemo has joined #ruby
linoge has quit [Remote host closed the connection]
linoge has joined #ruby
evil has joined #ruby
houhoulis has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
linoge has quit [Ping timeout: 272 seconds]
deviantfero has quit [Ping timeout: 246 seconds]
Rudd0 has joined #ruby
noizex has quit [Quit: noizex]
noizex has joined #ruby
kristian_on_linu has joined #ruby
dionysus69 has quit [Ping timeout: 272 seconds]
deviantfero has joined #ruby
ritsch_master has quit [Remote host closed the connection]
ritsch_master has joined #ruby
orbyt_ has joined #ruby
xdecimal has joined #ruby
macaronus has joined #ruby
xdecimal has quit [Quit: -a- Connection Timed Out]
macaronus_ has quit [Ping timeout: 265 seconds]
graphicsv has quit [Ping timeout: 240 seconds]
coffeejunk has quit [Read error: Connection reset by peer]
coffeejunk has joined #ruby
graphicsv has joined #ruby
jla has quit [Ping timeout: 256 seconds]
jla has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
postmodern has joined #ruby
dfucci has joined #ruby
ruurd has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
ritsch_master has quit [Ping timeout: 246 seconds]
cliluw has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
houhoulis has quit []
dfucci has joined #ruby
Happy has joined #ruby
Happy is now known as Guest36616
<Guest36616>
хеллоу
Guest36616 has quit [Ping timeout: 264 seconds]
hiroaki has quit [Ping timeout: 272 seconds]
<havenwood>
hi
jla has quit [Ping timeout: 264 seconds]
deviantfero has quit [Ping timeout: 246 seconds]
deviantfero has joined #ruby
vincent_ has joined #ruby
Technodrome has joined #ruby
cthulchu_ has quit [Ping timeout: 246 seconds]
vincent_ has quit [Remote host closed the connection]
prepend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]