havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Python 3.0.0, 2.7.2, 2.6.6: https://www.python.org/ | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
Mrgoose has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
oneeggeach has quit [Quit: Leaving...]
GodFather has joined #ruby
TrufflePump has joined #ruby
hiroaki has quit [Ping timeout: 246 seconds]
TrufflePump has quit [Ping timeout: 265 seconds]
Rounin has quit [Ping timeout: 240 seconds]
dviola has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
dviola has quit [Changing host]
dviola has joined #ruby
istrasci has joined #ruby
<istrasci> Is there a way to access the "results" of RSpec execution in the after(:suite) callback? For example, if I wanted to email failing results to a particular address.
havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.0, 2.7.2, 2.6.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
hiroaki has joined #ruby
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
<newton> lol
hiroaki has quit [Ping timeout: 246 seconds]
patr0clus has joined #ruby
MalkbabY_ is now known as MalkbabY
vladomiro has joined #ruby
vladomiro has quit [Client Quit]
akem_ has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
shtirlic has quit [Ping timeout: 265 seconds]
shtirlic has joined #ruby
vladomiro has joined #ruby
akem_ has quit [Quit: leaving]
robotbee has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
Xiti has quit [Quit: Leaving]
patr0clus has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
rzjian has joined #ruby
patr0clus has joined #ruby
patr0clus has quit [Client Quit]
ChmEarl has quit [Quit: Leaving]
Xiti has joined #ruby
rzjian has quit [Quit: WeeChat 3.1]
roshanavand_ has quit [Ping timeout: 265 seconds]
robotbee has joined #ruby
rzjian has joined #ruby
istrasci has quit [Quit: Connection closed]
rzjian has quit [Quit: WeeChat 3.1]
GodFather has quit [Remote host closed the connection]
gix- has joined #ruby
gix has quit [Disconnected by services]
vladomiro has quit [Quit: Leaving]
robotbee has quit [Ping timeout: 246 seconds]
TrufflePump has joined #ruby
m27frogy has quit [Ping timeout: 240 seconds]
hwpplayer1 has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
DTZUZU has joined #ruby
patr0clus has joined #ruby
DTZUZU_ has quit [Ping timeout: 246 seconds]
cliluw has quit [Ping timeout: 265 seconds]
hwpplayer1 has quit [Read error: Connection reset by peer]
<banisterfiend> up to
arahael has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
neshpion has quit [Quit: neshpion]
MalkbabY has quit [Remote host closed the connection]
robotbee has joined #ruby
MalkbabY has joined #ruby
blackmesa has joined #ruby
roger_rabbit has quit [Changing host]
roger_rabbit has joined #ruby
cliluw has joined #ruby
cliluw has quit [Ping timeout: 268 seconds]
patr0clus has quit [Quit: Textual IRC Client: www.textualapp.com]
explorier has quit [Ping timeout: 240 seconds]
DTZUZU_ has joined #ruby
DTZUZU has quit [Ping timeout: 265 seconds]
cliluw has joined #ruby
explorier has joined #ruby
Rounin has joined #ruby
cliluw has quit [Ping timeout: 265 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
robotbee has quit [Ping timeout: 265 seconds]
duderonomy has quit [Client Quit]
blackmesa has quit [Ping timeout: 250 seconds]
BTRE has quit [Ping timeout: 246 seconds]
Xiti has quit [Quit: Leaving]
Rudd0 has quit [Ping timeout: 240 seconds]
BTRE has joined #ruby
Xiti has joined #ruby
jla has joined #ruby
TrufflePump has quit [Ping timeout: 240 seconds]
raj__ is now known as raj
crankharder has joined #ruby
crankharder has quit [Ping timeout: 265 seconds]
Milos has quit [Remote host closed the connection]
TruffleP1mp has joined #ruby
Milos has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
stdedos has joined #ruby
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
tpanarch1st has joined #ruby
* nakilon can't decide to use some existing IRC bot gem or make the own one again
duderonomy has joined #ruby
<nakilon> the most popular according to the "Ruby toolbox" is 2 years old
gearnode has joined #ruby
stdedos has quit [Quit: Connection closed]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
NL3limin4t0r_afk is now known as NL3limin4t0r
crankharder has joined #ruby
jla has quit [Ping timeout: 246 seconds]
crankharder has quit [Ping timeout: 240 seconds]
<NL3limin4t0r> AndreYuhai: generally speaking: composition > inheritance
<AndreYuhai> NL3limin4t0r, Thank you! Just reading that.
Rudd0 has joined #ruby
<phaul> AndreYuhai: this is an interesting talk, https://youtu.be/vwBpTgdZBDk?t=658 (timestamped at the relevant part)
<AndreYuhai> phaul, Thank you :) Will watch that as well from the beginning. I like talks. :D
Mrgoose has quit [Quit: The Lounge - https://thelounge.chat]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
gray-_-wolf has joined #ruby
al2o3-cr has joined #ruby
BSaboia has joined #ruby
CrazyEddy has quit [Quit: Reconnecting]
kozowu has joined #ruby
gray-_-wolf has quit [Quit: WeeChat 3.1]
gray-_-wolf has joined #ruby
TruffleP1mp has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
m27frogy has joined #ruby
cliluw has joined #ruby
<nakilon> is stdlib Logger buffered?
TrufflePump has joined #ruby
explorier has quit [Ping timeout: 265 seconds]
cliluw has quit [Ping timeout: 240 seconds]
TrufflePump has quit [Ping timeout: 265 seconds]
TCZ has joined #ruby
TrufflePump has joined #ruby
TrufflePump has quit [Ping timeout: 240 seconds]
hiroaki has joined #ruby
jla has joined #ruby
TomyLobo has joined #ruby
Rudd0 has quit [Ping timeout: 265 seconds]
TruffleP1mp has joined #ruby
coniptor has quit [Ping timeout: 260 seconds]
crankharder has joined #ruby
coniptor has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
TruffleP1mp has quit [Ping timeout: 265 seconds]
crankharder has joined #ruby
<nakilon> should I assume that if the TCPSocket#send returned the connection isn't broken yet?
BSaboia has quit [Quit: This computer has gone to sleep]
blackmesa has joined #ruby
lockweel has joined #ruby
TruffleP1mp has joined #ruby
TCZ has quit [Quit: Dowidzenia]
gdonald has quit [Remote host closed the connection]
iNs_ has quit [Ping timeout: 240 seconds]
iNs has joined #ruby
gray-_-wolf has quit [Quit: WeeChat 3.1]
TruffleP1mp has quit [Ping timeout: 268 seconds]
gdonald has joined #ruby
<AndreYuhai> when creating gems, bundle add some_gem adds the dependency to Gemfile but we are supposed to add them to gemspec, at least that's what's told in Gemfile.
<AndreYuhai> Can we add the dependency to gemspec like we do with bundle add ?
<AndreYuhai> Without having to do it manually
<adam12> AndreYuhai: No
<AndreYuhai> By the way when I build a gem and try to install it using gem install, when I try to use tab completion the terminal hangs. Anyone had the same issue? I don't remember happening that before.
<AndreYuhai> I mean for example I do gem install ./foo(Press TAB to complete) and it hangs until I co CTRL+C
cd has quit [Quit: cd]
weaksauce has quit [Ping timeout: 260 seconds]
elcuervo has quit [Read error: Connection reset by peer]
<NL3limin4t0r> AndreYuhai: When using bundler there is an option to load gems into the Gemfile from the .gemspec file. So you don't have to update the Gemfile each time, only the gemspec.
elcuervo has joined #ruby
<NL3limin4t0r> I don't know from the top of my head what this is, but it is present in the Gemfile if you generate your gem using `bundle gem <your_gem_name>`
<NL3limin4t0r> But there is no command to add gems to the .gemfile
jerome__ has quit [Ping timeout: 240 seconds]
supercoven has joined #ruby
supercoven has quit [Max SendQ exceeded]
supercoven has joined #ruby
supercoven has quit [Max SendQ exceeded]
<nakilon> I don't know why "bundle add" is even a thing
supercoven has joined #ruby
supercoven has quit [Max SendQ exceeded]
supercoven has joined #ruby
supercoven has quit [Max SendQ exceeded]
<konsolebox> AndreYuhai: See if you a completion that causes it with 'complete'.
supercoven has joined #ruby
supercoven has quit [Max SendQ exceeded]
<nakilon> essentially both .gemspec and Gemfile are a plain Ruby code
Mrgoose has joined #ruby
TorpedoSkyline has quit [Quit: Konversation terminated!]
TorpedoSkyline has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
jerome__ has joined #ruby
Xiti` has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
TCZ has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
howdoi has joined #ruby
hiroaki has quit [Ping timeout: 246 seconds]
cd has joined #ruby
cesario has joined #ruby
hiroaki has joined #ruby
Mia has quit [Read error: Connection reset by peer]
cesario has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
ByronJohnson has quit [Ping timeout: 240 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Mia has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 258 seconds]
ByronJohnson has joined #ruby
ChmEarl has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
f3rno has quit [Quit: Idle for 30+ days]
Rudd0 has joined #ruby
Technodrome has joined #ruby
blackmesa has joined #ruby
TCZ has quit [Quit: Dowidzenia]
DTZUZU has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
DTZUZU_ has quit [Ping timeout: 268 seconds]
AndreYuhai has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
<nakilon> btw about net/http, what's the difference between post and post2?
cliluw has joined #ruby
explorier has joined #ruby
cliluw has quit [Ping timeout: 265 seconds]
BSaboia has joined #ruby
CrazyEddy has joined #ruby
explorier has quit [Ping timeout: 252 seconds]
TrufflePump has joined #ruby
explorier has joined #ruby
explorier has quit [Ping timeout: 246 seconds]
weaksauce has joined #ruby
crankharder has quit [Ping timeout: 265 seconds]
<nakilon> &>> ->{ next if 0 then 1 end }
<rubydoc> # => -e:4: syntax error, unexpected `then', expecting '}'... check link for more (https://carc.in/#/r/apzd)
<nakilon> I wish there was no syntax error, since I want to next((if ...))
<phaul> nakilon: are you trying to conditionally call next or are you trying to pass something to next based on a condition?
<nakilon> phaul neither; I just want to leave the block within the same code expression
<nakilon> instead of "if ... else ... end ; next"
<nakilon> (because it's all is in a case-when branch)
crankharder has joined #ruby
explorier has joined #ruby
landakram has joined #ruby
explorier has quit [Ping timeout: 240 seconds]
cliluw has joined #ruby
explorier has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
explorier has quit [Ping timeout: 246 seconds]
sagax has joined #ruby
kozowu has quit [Quit: Connection closed for inactivity]
blackmesa has joined #ruby
explorier has joined #ruby
MalkbabY has quit [Remote host closed the connection]
jerome__ has quit [Quit: Leaving]
MalkbabY has joined #ruby
jla has quit [Ping timeout: 240 seconds]
cesario has joined #ruby
cesario has quit [Read error: Connection reset by peer]
blackmesa1 has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
blackmesa has quit [Ping timeout: 245 seconds]
swaggboi has quit [Remote host closed the connection]
DTZUZU_ has joined #ruby
swaggboi has joined #ruby
DTZUZU has quit [Ping timeout: 252 seconds]
crankharder has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
duderonomy has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cliluw has quit [Ping timeout: 246 seconds]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
blackmesa1 has quit [Ping timeout: 258 seconds]
robotbee has joined #ruby
blackmesa1 has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has joined #ruby
Axy has joined #ruby
explorier has quit [Ping timeout: 240 seconds]
Mia has quit [Ping timeout: 240 seconds]
cliluw has joined #ruby
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
explorier has joined #ruby
NaughtyDragon has joined #ruby
shtirlic has quit [Ping timeout: 265 seconds]
NaughtyDragon has quit [Quit: -a- IRC for Android 2.1.59]
envex has joined #ruby
TCZ has joined #ruby
DTZUZU_ has quit [Read error: Connection reset by peer]
<CustosLimen> hi, does ruby have something like pydoc (i.e. man for ruby)
<CustosLimen> so I could do SOMETHING logger
<CustosLimen> and get docs for logger
<havenwood> CustosLimen: ri
<havenwood> CustosLimen: man 1 ri
<CustosLimen> great, thanks
<CustosLimen> hmm, my ri does not know about anything
<CustosLimen> ri -l is empty
<havenwood> CustosLimen: gem rdoc --all --ri
<havenwood> CustosLimen: How'd you install Ruby?
<CustosLimen> from OS
<havenwood> CustosLimen: Which package manager?
<havenwood> CustosLimen: You may need to install a ruby-doc package.
<CustosLimen> yes, I do, installed it now
<CustosLimen> thanks
neshpion has joined #ruby
<havenwood> CustosLimen: If it's apt, just install ruby-full
<havenwood> (ri tk, ruby and ruby-dev)
<CustosLimen> for fedora: dnf install -y ruby-doc
<havenwood> 👍
<havenwood> CustosLimen: I'm on Fedora now. I guess wrong. :)
<havenwood> guessed*
explorier has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
explorier has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
superscott has joined #ruby
DTZUZU has joined #ruby
DTZUZU has quit [Client Quit]
DTZUZU has joined #ruby
canton7 has quit [Quit: ZNC - http://znc.in]
canton7 has joined #ruby
<scriptonaut> for some reason when I run bundle update, it's asking me for a sudo password and trying to install to the system ruby. I'm using rbenv, I've confirmed my executable for ruby is in rbenv. Any idea why it would do that?
<scriptonaut> or is there a way to force bundler to use rbenv?
<havenwood> scriptonaut: Is bundler installed?
<havenwood> scriptonaut: For the Ruby you're using?
<scriptonaut> yes, this is an established project, it's weird
<havenwood> scriptonaut: Which version of Ruby?
<scriptonaut> 1.8.7
<scriptonaut> (trust me I knonw)
<scriptonaut> know*
<scriptonaut> when I do `which bundler`, it's in the .rbenv/shims dir
<havenwood> What do you get for?
<havenwood> head -n 1 "$(command -v bundle)"
<scriptonaut> #!/usr/bin/env bash
<havenwood> bash?
<havenwood> is it a shim for system Ruby? check out that file?
<havenwood> cat "$(command -v bundle)"
<scriptonaut> command -v bundle gives me: /home/caiden/.rbenv/shims/bundle
<havenwood> What's in that shim?
<scriptonaut> that's kinda weird
<havenwood> Look right?
<havenwood> scriptonaut: rbenv rehash
<scriptonaut> already tried that
<havenwood> I dunno rbenv, but usually rehash. :P
<havenwood> scriptonaut: I'd just inspect that shim closely.
<scriptonaut> ya I rehashed, it's weird
<havenwood> scriptonaut: What's in the shim?
<scriptonaut> it's a bash script, it is pointing to my .rbenv/libexec/rbenv
<havenwood> scriptonaut: The natural progression is RVM -> rbenv -> chruby, so you could just move along to the next step.
<havenwood> :P
<havenwood> scriptonaut: Look at the shebang line of the gem that the sim points to.
<scriptonaut> I use chruby personally havenwood
<scriptonaut> my work uses rbenv
<havenwood> scriptonaut: my work uses RVM
<scriptonaut> ya, I don't like either, chruby with ruby-build (or is it ruby-install) is my go to
<scriptonaut> much less weird stuff happening
<havenwood> scriptonaut: Okay, how about this?
<havenwood> head -n 1 "$(gem env gemdir)/bin/bundle"
<havenwood> I'm super suspicious about the shebang line of `bundle` executable.
<scriptonaut> says cannot open, no such file or dir
<havenwood> scriptonaut: Seems like Bundler isn't installed...
<havenwood> scriptonaut: What is?: gem env gemdir
<havenwood> scriptonaut: Sanity check?: gem install bundler
<havenwood> Obviously rbenv has a shim for it, but...
<scriptonaut> oh weird what the hell, my bundler executable is located in another user's .rbenv dir
<havenwood> haha
<scriptonaut> my boss's
<havenwood> nice
<scriptonaut> I've never seen that
<havenwood> good stuff
<scriptonaut> ok this is an entirely different issue I'm gonna talk to my coworkers, thanks for helping
<havenwood> np
TCZ has quit [Quit: Dowidzenia]
shokohsc has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
shokohsc has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
TrufflePump has quit [Ping timeout: 260 seconds]
lockweel has quit [Quit: Leaving]
cd has quit [Quit: cd]
crankharder has joined #ruby
TrufflePump has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
blackmesa1 has quit [Ping timeout: 250 seconds]
crankharder has joined #ruby
DTZUZU_ has joined #ruby
TCZ has joined #ruby
DTZUZU has quit [Ping timeout: 240 seconds]
crankharder has quit [Ping timeout: 246 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
cliluw has quit [Ping timeout: 240 seconds]
cliluw has joined #ruby
explorier has quit [Ping timeout: 240 seconds]
explorier has joined #ruby
Vingador has joined #ruby
explorier has quit [Ping timeout: 260 seconds]
Vingador has quit [Read error: Connection reset by peer]
blackmesa1 has joined #ruby
blackmesa1 has quit [Ping timeout: 250 seconds]
crankharder has joined #ruby
explorier has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tpanarch1st has quit [Quit: Thanks for your help, nice to see you, take care.]
Vingador has joined #ruby
explorier has quit [Ping timeout: 240 seconds]
cliluw has quit [Ping timeout: 265 seconds]
TomyLobo has quit [Read error: Connection reset by peer]
DTZUZU has joined #ruby
Vingador has quit [Quit: http://quassel-irc.org - Bate-papo confortável em qualquer lugar.]
DTZUZU_ has quit [Ping timeout: 240 seconds]