<ujjain>
I'm building on a Mac, although not sure it matters, as fluentd is based on alpine
jottr has joined #ruby
Inline has joined #ruby
mike11 has quit [Ping timeout: 264 seconds]
Inline has quit [Read error: Connection reset by peer]
gnufied has joined #ruby
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lembron has left #ruby [#ruby]
akem has quit [Quit: Leaving]
Inline has joined #ruby
wnd has joined #ruby
_whitelogger has joined #ruby
tristanp has joined #ruby
DTZUZO has quit [Read error: Connection reset by peer]
DTZUZO has joined #ruby
akem has joined #ruby
wojnar has joined #ruby
kotepillar_ has quit [Quit: kotepillar_]
jottr has quit [Ping timeout: 240 seconds]
chromis has left #ruby [#ruby]
Knappe has joined #ruby
kotepillar_ has joined #ruby
i90rr has joined #ruby
<Knappe>
Is there a good ruby gem to use for an IRC client? I know there is cinch but as I could see this should be used as bot framework
<Knappe>
All I need to do is connecting to a channel, send out a message and evaluate the reply
<i90rr>
hi everyone, absolute n00b to Ruby here; already did my schoolwork but still undecided which to choose: rvenv, chruby, rvm or bundler (I think bundler is the newer alternative, right?). I'm used to virtualenv for Python (both Bash and Zsh) and NVM for Node. Thanks!
<havenwood>
i90rr: Bundler is a gem you can use with any of the above.
<havenwood>
i90rr: chruby is the simplest and RVM does the most, with rbenv somewhere between the two
<havenwood>
i90rr: If it suffices for your use case, I'd recommend chruby.
<i90rr>
havenwood hi there - thanks. I'll start with chruby then as it seems the best approach
<i90rr>
I can 'upgrade' to the later managers if I need to later
jottr has joined #ruby
rippa has joined #ruby
elfranne has joined #ruby
Puffball has joined #ruby
teclator has quit [Disconnected by services]
<elfranne>
First time using Ruby, trying to make a plugin. I get an error with Rubocop: Lint/Syntax: unexpected token tNL
dr3w_ has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
dr3w_ has joined #ruby
desperek has joined #ruby
NL3limin4t0r has joined #ruby
thy0 has quit [Quit: TTFN]
<havenwood>
elfranne: what version of Ruby are you running?
thy0 has joined #ruby
conta1 has joined #ruby
wojnar has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 246 seconds]
Tharbakim has quit [Ping timeout: 240 seconds]
<elfranne>
ruby 2.3.1p112
RougeR has quit [Ping timeout: 250 seconds]
<guardian>
I have a question about idiomatic ruby. Let's say I want a helper function that returns either :foo or :bar. And I want it to be called target. Should it be target or target? ?
<havenwood>
guardian: target
<guardian>
what yo use question marks then?
<guardian>
when it returns a bool?
<havenwood>
guardian: When the return value is truthy or falsey, not necessarily true and false
<guardian>
k
<havenwood>
guardian: So it either returns `nil` or `false` or anything else.
<havenwood>
elfranne: A few funky things, that _might_ be involved. The shebang has a space before the first slash, which isn't ordinary. That's probably not the issue though.
<havenwood>
elfranne: The `require File` looks very odd.
krawchyk has joined #ruby
<havenwood>
elfranne: You don't need to require File and the argument should be a String.
<havenwood>
require 'thingy'
kapil___ has joined #ruby
<guardian>
thanks havenwood
<guardian>
I have another question while I'm at it. Why don't Symbols expose include? or start_with? functions?
<havenwood>
guardian: They're more used as markers rather than for their content.
<guardian>
k
wnd has joined #ruby
<elfranne>
@havenwood so i removed the require File , because it is part of the core ruby ?
<havenwood>
elfranne: Yes, it's core Ruby so it doesn't need to be required. If it was stdlib, you could require it with: require 'file'
yohji has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 272 seconds]
GodFather has joined #ruby
conta1 has quit [Quit: conta1]
dionysus69 has joined #ruby
GodFather has quit [Ping timeout: 264 seconds]
jcarl43 has joined #ruby
I0 has joined #ruby
RougeR has quit [Ping timeout: 272 seconds]
DTZUZO has quit [Ping timeout: 252 seconds]
ramfjord has joined #ruby
rlawrence has joined #ruby
patr0clus has quit [Ping timeout: 244 seconds]
tty has joined #ruby
patr0clus has joined #ruby
patr0clus has quit [Client Quit]
patr0clus has joined #ruby
sameerynho has joined #ruby
eckhardt_ has joined #ruby
patr0clus has quit [Ping timeout: 272 seconds]
blackbaba has joined #ruby
samort7 has joined #ruby
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackbaba has quit [Client Quit]
samort7 has quit [Client Quit]
eckhardt_ has joined #ruby
<bomb>
baweaver: o/
xfbs has joined #ruby
<miah>
hai
dr3w_ has joined #ruby
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt_ has joined #ruby
rlawrence has quit [Ping timeout: 252 seconds]
patr0clus has joined #ruby
xfbs has quit [Quit: afk]
canurabus has joined #ruby
xfbs has joined #ruby
canurabus has quit [Client Quit]
impermanence has joined #ruby
sonOfRa has quit [Remote host closed the connection]
patr0clus has quit [Quit: WeeChat 2.1]
akem has joined #ruby
patr0clus has joined #ruby
patr0clus has quit [Client Quit]
Yxhuvud has joined #ruby
patr0clus has joined #ruby
sonOfRa has joined #ruby
[Butch] has joined #ruby
patr0clus has quit [Client Quit]
patr0clus has joined #ruby
<havenwood>
hallooo
<setient>
hi!
tubbo has joined #ruby
patr0clus has quit [Client Quit]
patr0clus has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
sauvin has quit [Read error: Connection reset by peer]
xfbs has quit [Quit: afk]
ramfjord has joined #ruby
blackmesa has joined #ruby
canurabus has joined #ruby
xfbs has joined #ruby
akem has quit [Remote host closed the connection]
blackmesa has quit [Client Quit]
akem has joined #ruby
<canurabus>
Hi. If I use 'return' within a 'rescue' will the surrounding function return without continuing on? ie "begin; foo; rescue; return; bar". 'bar' will not be called in this instance right?
xfbs has quit [Client Quit]
<baweaver>
canurabus: Try it out
<baweaver>
Best way is to jump into IRB or Pry and see if it works.
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xfbs has joined #ruby
xfbs has quit [Client Quit]
tubbo has quit [Quit: WeeChat 2.0.1]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
Sina has quit [Quit: Connection closed for inactivity]
InfinityFye has quit [Read error: Connection reset by peer]
xfbs has joined #ruby
patr0clus is now known as s3nd1v0g1us
chouhoulis has joined #ruby
<apeiros_>
canurabus: I hope you tried it out by now. however, note that the rescue there is irrelevant with regards to bar not being called.
apeiros_ is now known as apeiros
chouhoulis has quit [Ping timeout: 240 seconds]
discopatrick has quit [Quit: Connection closed for inactivity]
druonysus has joined #ruby
akem__ has joined #ruby
jp has joined #ruby
akem has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 245 seconds]
dviola has joined #ruby
chouhoulis has joined #ruby
govg has joined #ruby
orbyt_ has joined #ruby
chouhoulis has quit [Ping timeout: 264 seconds]
Rootsudo has joined #ruby
desperek has quit [Remote host closed the connection]
desperek has joined #ruby
redlegion has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
redlegion has joined #ruby
mistergibson has joined #ruby
chouhoulis has quit [Remote host closed the connection]
bak1an has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
xfbs has quit [Quit: afk]
Nicmavr has joined #ruby
mistergibson has quit [Quit: Leaving]
govg has quit [Ping timeout: 272 seconds]
agent_white has joined #ruby
xfbs has joined #ruby
xfbs has quit [Client Quit]
impermanence has quit [Remote host closed the connection]
impermanence has joined #ruby
xfbs has joined #ruby
RougeR has joined #ruby
xfbs_ has joined #ruby
xfbs has quit [Ping timeout: 264 seconds]
xfbs_ has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
cagomez has quit [Ping timeout: 244 seconds]
Turnikov has joined #ruby
cagomez has joined #ruby
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
desperek has quit [Quit: xoxo]
kapil___ has quit [Quit: Connection closed for inactivity]