ghormoon has quit [Remote host closed the connection]
uplime has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
mat_bug has joined #ruby
cagomez has quit [Remote host closed the connection]
sylario has quit [Quit: Connection closed for inactivity]
cagomez has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
cagomez has quit [Ping timeout: 268 seconds]
ghormoon has joined #ruby
mat_bug has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
donofrio_ has joined #ruby
mat_bug has quit [Ping timeout: 268 seconds]
mat_bug has joined #ruby
houhoulis has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
brent__ has joined #ruby
mat_bug has joined #ruby
tdy has joined #ruby
jenrzzz has joined #ruby
nickjj has quit [Quit: Leaving]
hutch has quit [Ping timeout: 258 seconds]
mat_bug has quit [Ping timeout: 252 seconds]
fredolinhares has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
tdy has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
hutch has joined #ruby
tjbp has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
fanta7531 has joined #ruby
jenrzzz has joined #ruby
olspookishmagus has quit [Ping timeout: 268 seconds]
dalpo has quit [Ping timeout: 268 seconds]
eb0t has quit [Ping timeout: 268 seconds]
blaguvest has quit [Ping timeout: 268 seconds]
n13z has quit [Ping timeout: 246 seconds]
mangold has quit [Ping timeout: 250 seconds]
mangold has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Dreamer3 has joined #ruby
eb0t has joined #ruby
fanta7531 has quit [Quit: ...]
mat_bug has joined #ruby
darris has quit [Ping timeout: 245 seconds]
balo has quit [Ping timeout: 245 seconds]
mozzarel1 has joined #ruby
helpa-bot has joined #ruby
Soulcutter has joined #ruby
darris has joined #ruby
salasrod_ has joined #ruby
chihhsin_ has joined #ruby
TheMoonMaster_ has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
helpa-bot has quit [Remote host closed the connection]
helpa-bot has joined #ruby
donofrio_ has quit [Ping timeout: 246 seconds]
AJA4350 has quit [Quit: AJA4350]
raggi__ has joined #ruby
bairyn has joined #ruby
cnsvc has joined #ruby
helpa-bot has quit [Remote host closed the connection]
helpa-bot has joined #ruby
yokel_ has joined #ruby
hutch has quit [*.net *.split]
Nicmavr has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
yokel has quit [*.net *.split]
houhoulis has quit [*.net *.split]
mozzarella has quit [*.net *.split]
salasrod has quit [*.net *.split]
bauruine has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
Tharbakim has quit [*.net *.split]
Calinou has quit [*.net *.split]
lambarena has quit [*.net *.split]
leonthemisfit has quit [*.net *.split]
helpa has quit [*.net *.split]
anothertorusr has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
raggi has quit [*.net *.split]
chihhsin has quit [*.net *.split]
Arahael has quit [*.net *.split]
ChrisBr has quit [*.net *.split]
salasrod_ is now known as salasrod
mozzarel1 is now known as mozzarella
raggi__ is now known as raggi
yokel_ is now known as yokel
helpa-bot has quit [Remote host closed the connection]
code_zombie has joined #ruby
helpa has joined #ruby
lambarena has joined #ruby
Calinou has joined #ruby
bairyn is now known as ByronJohnson
jenrzzz has quit [Ping timeout: 268 seconds]
Arahael has joined #ruby
jenrzzz has joined #ruby
mat_bug has joined #ruby
fanta7531 has joined #ruby
anothertorusr has joined #ruby
hutch has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
Nicmavr has joined #ruby
m27frogy has quit [Read error: Connection reset by peer]
hutch has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m27frogy has joined #ruby
sgen has joined #ruby
Dreamer3 has quit [Quit: Leaving...]
fredolinhares has quit [Quit: WeeChat 1.9.1]
mat_bug has quit [Ping timeout: 252 seconds]
DTZUZO has quit [Ping timeout: 268 seconds]
Hoffman is now known as 07IAA4XML
mat_bug has joined #ruby
cnsvc has joined #ruby
code_zombie has quit [Quit: Leaving]
yokel has quit [Ping timeout: 250 seconds]
yokel has joined #ruby
\void has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
Tempesta has quit [Ping timeout: 246 seconds]
sgen has quit [Ping timeout: 250 seconds]
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
Tempesta has joined #ruby
DTZUZO has joined #ruby
mat_bug has joined #ruby
hutch has joined #ruby
CommanderViral has joined #ruby
donofrio_ has joined #ruby
tdy has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
donofrio_ has quit [Read error: Connection reset by peer]
sleetdrop has joined #ruby
sleetdrop has quit [Remote host closed the connection]
kapil____ has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
Tempesta has quit [Ping timeout: 246 seconds]
mat_bug has joined #ruby
sauvin has joined #ruby
sgen has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
matsaman has joined #ruby
<matsaman>
trying to get sample_rails_app from rubyminedoc going with RubyMine and geting an error about bundler not installed; trying to run what it suggests it eventually errors out over ovirt-engine-sdk which is complaining about libxml2 missing
<CommanderViral>
What operating system are you using?
<matsaman>
Windows 10
<matsaman>
sorry should've mentioned
<matsaman>
although it complains about bundler on macOS as well
<matsaman>
installing some things on macOS ATM, will have to come back to it
<CommanderViral>
Yes, Rails has bundler as a dependency and depending on your Ruby version, it likely is not installed by default and simply needs to be installed with `gem install bundler`
<matsaman>
gem install bundler produces the ovirt-engine-sdk error from the libxml2 error
<CommanderViral>
On Windows, if you have not installed libxml2, you need to install that first. There are gems that link against libxml2 that Rails is dependent on.
<matsaman>
am using rubyinstaller.org installer (with "devkit"), have tried a couple different versions
<matsaman>
how does one install libxml2 on Windows? (for msys2?)
<CommanderViral>
I'm not sure how to do it on msys2. I personally use WSL for Windows 10.
<CommanderViral>
I'm not sure how to do it on msys2. I personally use WSL for Windows 10 Ruby development.
<matsaman>
yeah...
<matsaman>
with RubyMine by any chance?
dante has quit [Quit: bye]
dante has joined #ruby
sarink has quit [Remote host closed the connection]
<CommanderViral>
I don't use RubyMine, no. I stick to vim and VS Code.
<matsaman>
Right there with you. This is for a friend, for some terrible course. =P
mat_bug has joined #ruby
donofrio_ has joined #ruby
helpa-bot has joined #ruby
helpa has quit [Remote host closed the connection]
helpa-bot has quit [Remote host closed the connection]
helpa has joined #ruby
mat_bug has quit [Ping timeout: 264 seconds]
dellavg_ has joined #ruby
_whitelogger has joined #ruby
matsaman has quit [Ping timeout: 246 seconds]
hahuang65 has quit [Ping timeout: 272 seconds]
donofrio_ has quit [Ping timeout: 268 seconds]
Cthulu201 has quit [Ping timeout: 268 seconds]
luminous has left #ruby [#ruby]
matsaman has joined #ruby
sgen has quit [Ping timeout: 250 seconds]
matsaman has quit [Quit: leaving]
donofrio_ has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
mat_bug has joined #ruby
donofrio_ has quit [Ping timeout: 250 seconds]
mat_bug has quit [Ping timeout: 252 seconds]
davidw_ has quit [Ping timeout: 246 seconds]
porg has joined #ruby
DTZUZO has quit [Ping timeout: 246 seconds]
dellavg_ has quit [Ping timeout: 268 seconds]
brent__ has quit [Quit: Connection closed for inactivity]
hutch has quit [Ping timeout: 240 seconds]
paranoicsan has joined #ruby
tdy has joined #ruby
DTZUZO has joined #ruby
sleetdrop has joined #ruby
marz_d`ghostman has joined #ruby
<marz_d`ghostman>
I have a script/app written in ruby running in a CentOS7 machine. Is there a utility where I can monitor the process and its subprocesses?
<marz_d`ghostman>
The script/app creates a couple of rsync subprocess on a different thread via concurrent-ruby
profetes has joined #ruby
CommanderViral is now known as cameronbroe
cameronbroe is now known as CommanderViral
mat_bug has joined #ruby
07IAA4XML has quit [Ping timeout: 268 seconds]
mat_bug has quit [Ping timeout: 252 seconds]
Inline has quit [Quit: Leaving]
mat_bug has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
hutch has joined #ruby
paranoicsan has quit [Quit: paranoicsan]
uplime has quit [Ping timeout: 258 seconds]
mat_bug has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
porg has quit [Remote host closed the connection]
porg has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
porg has quit [Ping timeout: 268 seconds]
aupadhye has joined #ruby
esrse has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
kapil____ has quit [Quit: Connection closed for inactivity]
mat_bug has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
za1b1tsu has joined #ruby
evdubs__ is now known as evdubs
mat_bug has joined #ruby
mat_bug has quit [Ping timeout: 250 seconds]
dinfuehr has quit [Ping timeout: 250 seconds]
dinfuehr has joined #ruby
hutch has quit [Ping timeout: 245 seconds]
kapil____ has joined #ruby
Cthulu201 has joined #ruby
jcarl43 has joined #ruby
paranoicsan has joined #ruby
mat_bug has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
cnsvc has quit [Ping timeout: 256 seconds]
mat_bug has joined #ruby
conta has joined #ruby
marmotini_ has joined #ruby
marmotini has joined #ruby
marmotini_ has quit [Client Quit]
aufi has joined #ruby
clemens3_ has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
ellcs has joined #ruby
fanta7531 has quit [Quit: ...]
szulak_ has joined #ruby
prestorium has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
venmx has joined #ruby
dinfuehr has joined #ruby
t0xik has joined #ruby
nowhere_man has joined #ruby
mat_bug has quit [Remote host closed the connection]
jcarl43 has quit [Quit: WeeChat 2.3]
wildermind has joined #ruby
venmx has quit [Ping timeout: 268 seconds]
paranoicsan has quit [Quit: paranoicsan]
mikecmpbll has joined #ruby
RedNifre has quit [Ping timeout: 268 seconds]
venmx has joined #ruby
paranoicsan has joined #ruby
venmx has quit [Remote host closed the connection]
RedNifre has joined #ruby
Avinash has joined #ruby
ChrisBr has joined #ruby
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
status402 has joined #ruby
venmx has joined #ruby
cd has quit [Quit: cd]
themsay has quit [Ping timeout: 250 seconds]
themsay has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
themsay has quit [Ping timeout: 246 seconds]
themsay has joined #ruby
jenrzzz has joined #ruby
sameerynho has joined #ruby
sameerynho is now known as Guest55233
paranoicsan has quit [Quit: paranoicsan]
jenrzzz has quit [Ping timeout: 250 seconds]
paranoicsan has joined #ruby
clemens3_ has quit [Remote host closed the connection]
status402 has quit [Quit: status402]
status402 has joined #ruby
profetes has quit [Remote host closed the connection]
profetes has joined #ruby
InfinityFye has joined #ruby
[spoiler] has quit [Ping timeout: 264 seconds]
Bish has joined #ruby
<Bish>
anyone worked here with sisimai?
<Bish>
i try to do bounce handling of emails and sisimai does analyze the bounce state of an email
<Bish>
but i can't get the bounce adress (including some sort of id)
<Bish>
how would i get the return path of an analyzed bounce
[spoiler] has joined #ruby
* Bish
guesses not at all
<lunarkitty7>
Bish: it can be slow here
<Bish>
lunarkitty7: i know, but usually is one of the faster channels i lirk in
<Bish>
but this beinga very special problem it might take time
<Bish>
but i found a way anyways i think !
<lunarkitty7>
Yeah, more obscure questions can take longer
<lunarkitty7>
Good!
<Bish>
yeah, sisimai allows to "hook" into the parse process
<Bish>
that's great.
nowhere_man has quit [Ping timeout: 245 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raulp has quit [Ping timeout: 272 seconds]
themsay has quit [Ping timeout: 246 seconds]
conta has quit [Remote host closed the connection]
esrse has quit [Quit: 안녕히계세요]
Tempesta has joined #ruby
Avinash has joined #ruby
fanta7531 has joined #ruby
wildermind has quit [Quit: Connection closed for inactivity]
<ruby[bot]>
norayr: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
za1b1tsu has joined #ruby
<norayr>
okay, when i try to import the gpg key, this happens https://pastebin.com/mWe108pL and then nothing changes, rvm get latest does not proceed. sorry, i already have these pastebin links, was showing in other room.
sarink has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sarink has joined #ruby
sarink has quit [Remote host closed the connection]
cow[moo] has quit [Read error: Connection reset by peer]
cow[moo] has joined #ruby
orbyt_ has joined #ruby
jenrzzz has joined #ruby
hiroaki has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
venmx has quit [Ping timeout: 258 seconds]
twobitsprite has quit [Quit: leaving]
fanta7531 has quit [Quit: ...]
hiroaki has joined #ruby
hiroaki has quit [Max SendQ exceeded]
davidw_ is now known as davidw
hiroaki has joined #ruby
hiroaki has quit [Max SendQ exceeded]
hiroaki has joined #ruby
duderonomy has joined #ruby
blackmesa1 has joined #ruby
hiroaki has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 252 seconds]
SeepingN has joined #ruby
twopoint71 has joined #ruby
blackmesa1 has quit [Ping timeout: 252 seconds]
r29v has joined #ruby
hutch has quit [Ping timeout: 252 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
reber has quit [Remote host closed the connection]
jenrzzz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<twopoint71>
Sorry to bother, but been trying to understand why this works Hash.new({}) - https://pastebin.com/2S9Ju4qB
<ruby[bot]>
twopoint71: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<SeepingN>
keyfailure
hiroaki has joined #ruby
<havenwood>
twopoint71: There are two Hashes in play. You have `magic` and you have `magic.default`.
<havenwood>
twopoint71: Take a look at: magic.default
<twopoint71>
Alright, checking it out.
jenrzzz has quit [Ping timeout: 258 seconds]
<havenwood>
twopoint71: The 'watch' and 'out' keys are just used in your example to get access to the default. Note, they don't assign anything. They just pull up the default Hash value which is then mutated.
<havenwood>
magic.default #=> {"closely"=>"this is the trick"}
<havenwood>
Without the trickery: magic.default['closely'] #=> "this is the trick"
elcuervo has quit [Ping timeout: 252 seconds]
hutch has joined #ruby
<havenwood>
twopoint71: if you set the default proc instead, you'll get a fresh Hash for every new default:
<havenwood>
twopoint71: Any key you check that you haven't set is going to return that identical default Hash.
<havenwood>
If you don't assign the key to a value, it's a noop for the `magic` Hash. But... you then assign a key to magic#default, which is what you're seeing here.
<havenwood>
twopoint71: Does that make sense?
<twopoint71>
Yes, but shouldn't Ruby toss an error because the "root" object does not exist?
<twopoint71>
That's the normal behavior from "normal = Hash.new"
<havenwood>
twopoint71: It does exist, because you assigned a default on this line: magic = Hash.new({})
<twopoint71>
ah
<twopoint71>
*clicked*
<havenwood>
it's just literally that same ({}) Hash object every time you look at the value of an unset key.
<havenwood>
by using this idiom, you get a fresh Hash as the value for an unset key: Hash.new { |h, k| h[k] = {} }
<havenwood>
so your trick wouldn't work
<havenwood>
a Hash doesn't make a good default value for a Hash
<havenwood>
but a proc that returns a Hash makes a fine default proc for a Hash
hahuang65 has joined #ruby
ur5us has joined #ruby
orbyt_ has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
jaddison has quit [Quit: jaddison]
ur5us has quit [Remote host closed the connection]
<twopoint71>
havenwood: Thanks for the help. I'm going to share this insight with my group.
za1b1tsu has quit [Remote host closed the connection]
guysbryant has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
cthu| has joined #ruby
jenrzzz has joined #ruby
cthulchu_ has quit [Ping timeout: 246 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
johnny56 has quit [Ping timeout: 272 seconds]
orbyt_ has joined #ruby
uplime has quit [Ping timeout: 252 seconds]
jaddison has joined #ruby
Scriptonaut has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
t0xik has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 250 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r29v has quit [Quit: r29v]
jaddison has quit [Quit: jaddison]
cnsvc has quit [Quit: WeeChat 2.3]
kashike has joined #ruby
Dbugger has quit [Remote host closed the connection]
<kashike>
is there a way to get a list of all *deepest* subdirectories? I want to start from "abc", and get "ghi" and "hij" (skipping "def"): abc/def/ghi, abc/def/hij
<go|dfish>
kashike: File.basename ?
norayr has quit [Ping timeout: 244 seconds]
chouhoulis has quit [Remote host closed the connection]