havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.5, 2.5.7, 2.7.0-preview3: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
davidw has quit [Ping timeout: 268 seconds]
NODE has quit [Quit: changing servers]
AJA4351 has joined #ruby
NODE has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
cthu| has quit [Read error: Connection reset by peer]
cthu| has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
sameerynho has quit [Ping timeout: 265 seconds]
chalkmonster has joined #ruby
cthu| has quit [Read error: Connection reset by peer]
cthu| has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
ur5us has joined #ruby
cthu| has quit [Read error: Connection reset by peer]
cthu| has joined #ruby
drincruz_ has joined #ruby
fphilipe has joined #ruby
fig-le-deunch has joined #ruby
AJA4351 has joined #ruby
wallace_mu has quit [Remote host closed the connection]
davidw has joined #ruby
davidw has quit [Changing host]
davidw has joined #ruby
fphilipe has quit [Ping timeout: 246 seconds]
wallace_mu has joined #ruby
AJA4350 has quit [Ping timeout: 252 seconds]
AJA4351 is now known as AJA4350
cthulchu has joined #ruby
wallace_mu has quit [Ping timeout: 240 seconds]
cthu| has quit [Ping timeout: 250 seconds]
drincruz_ has quit [Ping timeout: 265 seconds]
wildtrees has quit [Quit: Leaving]
chalkmonster has quit [Ping timeout: 276 seconds]
cthulchu has quit [Read error: Connection reset by peer]
chalkmonster has joined #ruby
cthulchu has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
ellcs has quit [Ping timeout: 250 seconds]
orbyt_ has joined #ruby
brool has quit [Ping timeout: 246 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drincruz_ has joined #ruby
duderonomy has joined #ruby
fphilipe has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
duderonomy has quit [Ping timeout: 240 seconds]
fphilipe has quit [Ping timeout: 276 seconds]
akemhp_ has joined #ruby
gix has quit [Ping timeout: 246 seconds]
vrih has quit [Ping timeout: 265 seconds]
akem__ has joined #ruby
akemhp has quit [Ping timeout: 276 seconds]
sergioro has joined #ruby
akemhp_ has quit [Ping timeout: 265 seconds]
ritalinona has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
dasher00 has quit [Ping timeout: 246 seconds]
AJA4350 has joined #ruby
vrih has joined #ruby
davidw has quit [Ping timeout: 240 seconds]
lightstalker has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
SeepingN has joined #ruby
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
MrCrackPot has quit [Quit: Leaving]
dionysus69 has quit [Quit: dionysus69]
howdoi has quit [Quit: Connection closed for inactivity]
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
sergioro has quit [Quit: leaving]
ritalinona has quit [Quit: Leaving]
Nahra has quit [Ping timeout: 268 seconds]
hutch1 has quit [Ping timeout: 240 seconds]
Nahra has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
hutch1 has joined #ruby
AJA4350 has quit [Ping timeout: 252 seconds]
AJA4350 has joined #ruby
ur5us has joined #ruby
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
NODE has quit [Client Quit]
fphilipe has joined #ruby
NODE has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
NODE has quit [Client Quit]
Nicmavr has joined #ruby
NODE has joined #ruby
fphilipe has quit [Ping timeout: 250 seconds]
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
duderonomy has joined #ruby
lalitmee has joined #ruby
cthulchu has quit [Read error: Connection reset by peer]
AJA4351 has joined #ruby
cthulchu has joined #ruby
hiroaki has quit [Ping timeout: 276 seconds]
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
AJA4350 has quit [Client Quit]
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
Esa_ has quit [Ping timeout: 265 seconds]
MrCrackPot has joined #ruby
wallace_mu has joined #ruby
Furai has quit [Quit: WeeChat 2.7]
TzilTzal has joined #ruby
Furai has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
zxq2 has quit [Remote host closed the connection]
knifehits is now known as teardown
wallace_mu has quit [Ping timeout: 245 seconds]
sydbarret has joined #ruby
imadper has joined #ruby
<sydbarret> anybody knows a tool or site where I can export my MS Access table so that I can use the backend remotely through my front end?
meinside has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
envex has quit []
NODE has quit [Quit: changing servers]
sergioro has joined #ruby
NODE has joined #ruby
NODE has quit [Client Quit]
<havenwood> sydbarret: I'd suggest trying the lovely Sequel gem. Here's an example with a .accdb file. https://gist.github.com/thinkAmi/e928902f7d0e2205a35b
NODE has joined #ruby
<havenwood> sydbarret: https://sequel.jeremyevans.net/
<sydbarret> let me check it thank you
NODE has quit [Client Quit]
NODE has joined #ruby
NODE has quit [Quit: changing servers]
<sydbarret> havenwood I dont want to interact with ruby. Just keep the MS Access front end but the backend move it to a remote server and perhaps put and retrieve data using API
NODE has joined #ruby
Inline has quit [Quit: Leaving]
Nahra has quit [Ping timeout: 240 seconds]
fphilipe has joined #ruby
sydbarret has left #ruby ["Closing Window"]
sydbarret has joined #ruby
cthulchu has quit [Read error: Connection reset by peer]
sydbarret has left #ruby ["Closing Window"]
cthulchu has joined #ruby
fphilipe has quit [Ping timeout: 245 seconds]
<TzilTzal> Hi
<havenwood> TzilTzal: hi
<TzilTzal> I'm running a script using rvm & bundle: rvm 2.6 do bundler exec ruby <my script>
<TzilTzal> <my script> launches another <other script> using %x but I think it doesn't run in the context of bundle...
<TzilTzal> Is there a way to check or fix this?
<TzilTzal> I installed all my bundle gems locally (using --path vendor/bundle)
<havenwood> TzilTzal: Can you just add bundle exec to the %x commands or you want to abstract that away?
_phaul has quit [Ping timeout: 250 seconds]
<TzilTzal> preferably abstract that away... I want it to run in the context of the launching program, I'd say.
<TzilTzal> I'm new to Ruby, so not sure if there's a standard way of handling this.
<havenwood> TzilTzal: Normally you don't shell out to run Ruby from Ruby.
<havenwood> TzilTzal: Have a specific example where you're doing it?
<TzilTzal> Alas, it's some code I can't really change.
<havenwood> TzilTzal: Typically, you'd require a Ruby library and use it from Ruby rather than using a command line interface.
<havenwood> TzilTzal: Is it code you can share?
<TzilTzal> Afraid not.. it's from work.
<TzilTzal> It's literally some line like:
<TzilTzal> %x[#{java_home} #{exe} #{app_path}#{command}.rb #{args} > /dev/null &]
_phaul has joined #ruby
<havenwood> TzilTzal: what's "exe"?
<TzilTzal> explicit path to ruby
<havenwood> TzilTzal: and "java_home"?
<TzilTzal> path to java
<havenwood> TzilTzal: I don't get why there's a path to java in front of the path to ruby, but does it work as you'd like if you add `bundle exec` in front of `#{exe}`?
<havenwood> TzilTzal: It seems you don't want the output, so I'd use #system.
<havenwood> TzilTzal: system java_home, 'bundle', 'exec', exe, "#{app_path}#{command}.rb", args
_phaul has quit [Ping timeout: 250 seconds]
<TzilTzal> havenwood: it's an export for JAVA_HOME
<TzilTzal> it's really weird...
<TzilTzal> I don't think anyone ever ran it using a more local environment like bundle
fig-le-deunch has quit [Quit: Konversation terminated!]
<havenwood> TzilTzal: You can't just?: load "#{app_path}#{command}.rb"
<TzilTzal> will try...
<TzilTzal> apparently the run ruby script is also meant to run as a stand-alone script.. and takes an argument from ARGV
<havenwood> TzilTzal: Ah, right.
<TzilTzal> Anyway, thanks for the help!
NODE has quit [Quit: changing servers]
<havenwood> TzilTzal: Can you look at that script and just pass the arguments like it does?
<havenwood> TzilTzal: It's *usually* possible to use a Ruby command line app as a library instead. Anyway, good luck!
NODE has joined #ruby
<TzilTzal> havenwood: cheers. I'll try to change those so it can be done like you suggested!
<havenwood> TzilTzal: For example, here's a Ruby executable: https://github.com/havenwood/digest-sip_hash/blob/master/bin/siphash
_phaul has joined #ruby
<havenwood> TzilTzal: But you could instead just use this line directly after requiring the library: https://github.com/havenwood/digest-sip_hash/blob/master/bin/siphash#L36
<havenwood> If it's a complicated command line utility, and args come for that for some reason, maybe it makes sense to use the executable? Hard to say.
<havenwood> Even a lot of options, like here, tend to be fairly easy to do the code for though: https://github.com/defunkt/gist/blob/master/bin/gist
<havenwood> I guess it comes down to where the args come from.
arthurnn has quit [Ping timeout: 244 seconds]
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
_phaul has quit [Ping timeout: 265 seconds]
dorian has quit [Ping timeout: 244 seconds]
arekushi has quit [Ping timeout: 265 seconds]
suukim has joined #ruby
dorian has joined #ruby
arthurnn has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_phaul has joined #ruby
sauvin has joined #ruby
_phaul has quit [Ping timeout: 276 seconds]
_phaul has joined #ruby
_phaul has quit [Ping timeout: 246 seconds]
_phaul has joined #ruby
_phaul has quit [Ping timeout: 240 seconds]
jacksoow has quit [Ping timeout: 246 seconds]
_phaul has joined #ruby
_phaul has quit [Ping timeout: 265 seconds]
_phaul has joined #ruby
envex has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
_phaul has quit [Ping timeout: 265 seconds]
DTZUZO has quit [Ping timeout: 268 seconds]
gavlee has quit [Read error: Connection reset by peer]
_phaul has joined #ruby
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
gavlee has joined #ruby
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
andikr has joined #ruby
noizex has quit [Ping timeout: 245 seconds]
suukim has quit [Quit: Konversation terminated!]
cthulchu has quit [Read error: Connection reset by peer]
s2013 has quit [Quit: Textual IRC Client: www.textualapp.com]
akem__ has quit [Ping timeout: 265 seconds]
thomas_25 has quit [Changing host]
thomas_25 has joined #ruby
thomas_25 has left #ruby ["Textual IRC Client: www.textualapp.com"]
fphilipe has joined #ruby
DaRock has joined #ruby
conta has joined #ruby
jidar has quit [Ping timeout: 276 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
jidar has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
TomyLobo2 has joined #ruby
ByronJohnson has quit [Ping timeout: 265 seconds]
mcgee_io has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
Fernando-Basso has joined #ruby
infinityfye has joined #ruby
mcgee_io has left #ruby [#ruby]
ur5us has joined #ruby
schne1der has joined #ruby
dionysus69 has joined #ruby
greenhat has quit [Ping timeout: 246 seconds]
william1 has joined #ruby
xall has joined #ruby
clemens3 has joined #ruby
mahlon has quit [Ping timeout: 246 seconds]
zenspider has quit [Ping timeout: 265 seconds]
zenspider has joined #ruby
mahlon has joined #ruby
lalitmee has quit [Quit: Leaving]
Esa_ has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
conta has quit [Ping timeout: 252 seconds]
mahlon has quit [Ping timeout: 246 seconds]
william1 has quit [Quit: WeeChat 1.9.1]
william has joined #ruby
DaRock has joined #ruby
mahlon has joined #ruby
fphilipe has quit [Ping timeout: 250 seconds]
moonshine_ has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
TzilTzal has quit [Quit: Leaving.]
moonshine1 has joined #ruby
ByronJohnson has joined #ruby
moonshine_ has quit [Ping timeout: 250 seconds]
mynameisbrian has joined #ruby
akemhp has joined #ruby
ellcs has joined #ruby
hiroaki has joined #ruby
akemhp has quit [Ping timeout: 265 seconds]
fphilipe has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
Nahra has joined #ruby
akemhp has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DTZUZO has joined #ruby
TzilTzal has joined #ruby
Mrbuck has joined #ruby
NODE has left #ruby [#ruby]
i9zO5AP has quit [Quit: WeeChat 2.5]
xall has quit [Ping timeout: 265 seconds]
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
william has quit [Quit: WeeChat 1.9.1]
william has joined #ruby
mikecmpbll has joined #ruby
erikh has quit [Remote host closed the connection]
william is now known as william1
erikh has joined #ruby
sergioro has quit [Quit: leaving]
DTZUZO has quit [Ping timeout: 268 seconds]
arup_r has joined #ruby
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
NODE has quit [Quit: changing servers]
TzilTzal has quit [Quit: Leaving.]
NODE has joined #ruby
vondruch_ has joined #ruby
greenhat has joined #ruby
kapil_ has joined #ruby
vondruch has quit [Ping timeout: 252 seconds]
vondruch_ is now known as vondruch
DTZUZO has joined #ruby
greenhat has quit [Ping timeout: 240 seconds]
moonshine1 has quit [Ping timeout: 268 seconds]
sauvin has quit [Ping timeout: 265 seconds]
DTZUZO has quit [Remote host closed the connection]
DTZUZO has joined #ruby
NODE has quit [Quit: changing servers]
sauvin has joined #ruby
xall has joined #ruby
NODE has joined #ruby
NODE has quit [Client Quit]
DTZUZO has quit [Ping timeout: 240 seconds]
NODE has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
mynameisbrian has quit [Quit: Leaving]
DTZUZO has joined #ruby
Nahra has quit [Quit: leaving]
Nahra has joined #ruby
DTZUZO has quit [Ping timeout: 252 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 246 seconds]
mozzarella has quit [Remote host closed the connection]
mozzarella has joined #ruby
DTZUZO has joined #ruby
imadper has quit [Remote host closed the connection]
DTZUZO has quit [Ping timeout: 240 seconds]
howdoi has joined #ruby
arup_r has quit []
DTZUZO has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
DTZUZO has quit [Ping timeout: 245 seconds]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
dionysus70 is now known as dionysus69
xall has quit [Quit: xall]
DTZUZO has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
DTZUZO has quit [Ping timeout: 240 seconds]
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 246 seconds]
DTZUZO has joined #ruby
RickyAtRigor has quit [Quit: WeeChat 1.9.1]
DTZUZO has quit [Ping timeout: 240 seconds]
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 245 seconds]
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
drincruz_ has quit [Ping timeout: 250 seconds]
greenhat has joined #ruby
drincruz_ has joined #ruby
greenhat has quit [Ping timeout: 240 seconds]
DTZUZO has quit [Ping timeout: 268 seconds]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
DTZUZO has joined #ruby
AJA4350 has joined #ruby
william1 has quit [Ping timeout: 240 seconds]
feep[work] has joined #ruby
<feep[work]> yo
<feep[work]> given two Gem::Requirements, can you tell if one is a subset of the other?
ology has left #ruby [#ruby]
DTZUZO has quit [Ping timeout: 240 seconds]
NODE has quit [Quit: changing servers]
cow[moo] has joined #ruby
NODE has joined #ruby
DTZUZO has joined #ruby
Mrbuck has quit [Quit: WeeChat 2.7]
FlorianFa has joined #ruby
DTZUZO has quit [Ping timeout: 252 seconds]
DTZUZO has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
william1 has joined #ruby
<feep[work]> nm, got rid of my dependency on Gem::Requirement
feep[work] has left #ruby [#ruby]
DTZUZO has quit [Ping timeout: 276 seconds]
DTZUZO has joined #ruby
jenrzzz has joined #ruby
Ai9zO5AP has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZO has quit [Ping timeout: 265 seconds]
cow[moo] has joined #ruby
moonshine_ has joined #ruby
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
za1b1tsu has joined #ruby
akemhp_ has joined #ruby
lucasb has joined #ruby
akemhp has quit [Ping timeout: 240 seconds]
akem__ has joined #ruby
DTZUZO has joined #ruby
akemhp_ has quit [Ping timeout: 268 seconds]
DTZUZO has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 has joined #ruby
AJA4351 is now known as AJA4350
iMadper|` has joined #ruby
TomyLobo2 has quit [Ping timeout: 246 seconds]
iMadper|garbagem has quit [Ping timeout: 268 seconds]
nibbo has quit [Ping timeout: 250 seconds]
nibbo has joined #ruby
nibbo has quit [Ping timeout: 252 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
nibbo has joined #ruby
Nicmavr has joined #ruby
nibbo has quit [Ping timeout: 252 seconds]
Mrbuck has joined #ruby
nibbo has joined #ruby
Mrgoose845701915 has quit [Quit: The Lounge - https://thelounge.chat]
greenhat has joined #ruby
drincruz_ has joined #ruby
shansen has quit [Remote host closed the connection]
cow[moo] has quit [Ping timeout: 246 seconds]
<Bish> grrr why can't i have Net::HTTP on unixsockets
<al2o3-cr> &>> def foo_bar?_bar; end
<rubydoc> # => :foo_bar? (https://carc.in/#/r/86va)
<al2o3-cr> is this a bug?
<al2o3-cr> shouldn't that be a syntax error.
<al2o3-cr> or does it just disregard any after ?
<al2o3-cr> *anything
<Bish> i guess that is a allowed method name
<Bish> oh.. i see
<Bish> i guess that's a bug yeah
_phaul has quit [Ping timeout: 240 seconds]
<al2o3-cr> but with parens it raises SyntaxError
<al2o3-cr> so, probably something in the parser a miss
<Bish> &>> define_method(:"foo_bar?_bar") { "lol" }
<rubydoc> # => :"foo_bar?_bar" (https://carc.in/#/r/86vb)
<Bish> &>> define_method(:"foo_bar?_bar") { "lol" }; _foo_bar?_bar()
<rubydoc> stderr: -e:4:in `<main>': undefined method `_bar' for main:Object (NoMethodError)... check link for more (https://carc.in/#/r/86vc)
<Bish> &>> define_method(:"foo_bar?_bar") { "lol" }; method(:"foo_bar?_bar")
<rubydoc> # => #<Method: main.foo_bar?_bar> (https://carc.in/#/r/86vd)
<Bish> &>> define_method(:"foo_bar?_bar") { "lol" }; method(:"foo_bar?_bar").call
<rubydoc> # => "lol" (https://carc.in/#/r/86ve)
<Bish> hehe.
<al2o3-cr> &>> define_method(:"foo_bar?_bar") { "lol" } foo_bar?_bar
<rubydoc> stderr: -e:4: syntax error, unexpected tFID, expecting end... check link for more (https://carc.in/#/r/86vf)
TCZ has joined #ruby
<al2o3-cr> lol
zapata has quit [Ping timeout: 246 seconds]
<Bish> define method lets you define anything what can be a symbol as it seems
<al2o3-cr> yeah, seems so.
arw82 has joined #ruby
_phaul has joined #ruby
wallace_mu has joined #ruby
<arw82> Hi guys, is there something that does the same as the ||= operator for boolean variables?
<Bish> ?
<Bish> doesn't ||= do it for boolean variables?
<Bish> in ruby everything is true but false and nil
<Bish> &>> a = false; a ||= true; a;
<rubydoc> # => true (https://carc.in/#/r/86vh)
<arw82> For example: @a ||= 2 does the following: if a is set, it lets a be, or else it sets it to 2.
<arw82> For @a ||= true, if a is not set, it sets it to true. But if a exists, it still sets it to true
<al2o3-cr> arw82: show an example using booleans where it's failing.
moonshine1 has joined #ruby
_phaul has quit [Ping timeout: 268 seconds]
<arw82> I may have phrased it wrong. I want the boolean variable to retain its value if it has one, and if it is not set, it must set to true.
<Bish> also what you say is not entirely true, because there is no "unset variable" for instance variables
<Bish> they just default to nil, which is falsy
<Bish> so what happens if you do
<Bish> @not_used_variable ||= SomeThing
moonshine1 has quit [Client Quit]
<Bish> it does "@notu_used_variable = @not_used_variable || SomeThing"
<Bish> and because nil || a is always a
<Bish> it will be set to a
<Bish> im guessing there won't be an operator for what you want
<Bish> but you could do
<Bish> @boolean_value ||= !!object
<Bish> to make sure it stays boolean (type-ish)
moonshine_ has quit [Ping timeout: 276 seconds]
<al2o3-cr> Bish: not quite ||= expands to @not_used || @not_used = SomeThing
<Bish> well same thing, isn't it?
<al2o3-cr> no.
<Bish> are you sure? btw?
<al2o3-cr> yep
<Bish> i mean since += does certainly be a = a+x
<al2o3-cr> that's true
<Bish> well isn't it equivalent for "boolean" operations?
<Bish> i mean.. if it's true, it will not be changed
<al2o3-cr> sure.
<Bish> and if it isn't it will be set
<arw82> Okay.. so will I have to do something like @a = @a.nil? ? true : @a
<Bish> arw82: yep
<arw82> Okay, thanks!
_phaul has joined #ruby
krawchyk has joined #ruby
_phaul has quit [Ping timeout: 265 seconds]
AJA4350 has quit [Ping timeout: 240 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
infinityfye has quit [Quit: Leaving]
_phaul has joined #ruby
zapata has joined #ruby
_phaul has quit [Ping timeout: 268 seconds]
TzilTzal has joined #ruby
_phaul has joined #ruby
<al2o3-cr> Bish: bk
kapil_ has quit [Quit: Connection closed for inactivity]
<Bish> burgerking?
<al2o3-cr> lol, no i'm back
<Bish> welcome!
_phaul has quit [Ping timeout: 268 seconds]
<al2o3-cr> &>> h = Hash.new(true); h[42] ||= 99; h
<rubydoc> # => {} (https://carc.in/#/r/86wf)
<al2o3-cr> &>> h = Hash.new(true); h[42] || h[42] = 99; h
<rubydoc> # => {} (https://carc.in/#/r/86wh)
<Bish> do i remember correctly that there was once a symbolize_keys method for hashes?
<al2o3-cr> &>> h = Hash.new(true); h[42] = h[42] || 99; h
<rubydoc> # => {42=>true} (https://carc.in/#/r/86wi)
<al2o3-cr> Bish: there is for JSON
<Bish> no that one is called symbolize_names and is an option not a method
<Bish> okay, i didn't know i had activesupport
<al2o3-cr> oh, right yeah
<Bish> why do i have activesupport
<Bish> what freakin gem polluted my system >:
<al2o3-cr> Bish: you might of installed in sometime ago and forgotten
<Bish> how do i find out :D
<Bish> no, never
<al2o3-cr> oh
<Bish> i wouldn't do that on purpose, it seems to be a dependency
<al2o3-cr> could be
arup_r has joined #ruby
<al2o3-cr> hmm... i've got activesupport too. i definitely didn't install that.
<Bish> i hate libraries that pollute the namespace for that exact reason
<Bish> i always thought that's a ruby feature
<al2o3-cr> rdoc as activesupport as a dependncy
<Bish> is that the official doc gem?
<al2o3-cr> and http gem
_phaul has joined #ruby
<Bish> http gem?
<Bish> net/http is certainly default isn't it
<al2o3-cr> yes
<al2o3-cr> run this
<al2o3-cr> gem dep --local | grep -A 20 activesupport
<al2o3-cr> see what installed it on your system
<Bish> aws gems
<Bish> hngg
_phaul has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
QuakePhil has joined #ruby
<al2o3-cr> just had a good clean out ;)
jenrzzz has quit [Ping timeout: 265 seconds]
za1b1tsu has quit [Remote host closed the connection]
<QuakePhil> i installed red-parquet but now trying to figure out how to use it beyond .load() and .save()... I know in parquet I can write a multidimensional array to a parquet file like this https://pastebin.com/59Xd3xPQ ... can someone please suggest some clues in ruby how to do the same?
<ruby[bot]> QuakePhil: 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
<Bish> that is not rubey
<Bish> we in #ruby do not like pythoncode
_phaul has joined #ruby
<QuakePhil> its an example in something that is not ruby that i want to accomplish in ruby... the only ruby so far i have to go on as far as parquet is here: https://github.com/apache/arrow/tree/master/ruby/red-parquet
<QuakePhil> and it consists of dealing with existing parquet files which i don't yet have...
<QuakePhil> i like all code 8)
vondruch has quit [Quit: vondruch]
_phaul has quit [Ping timeout: 250 seconds]
akem has quit [Quit: Bye]
akem has joined #ruby
akem has quit [Excess Flood]
AJA4350 has joined #ruby
drincruz_ is now known as drincruz
_phaul has joined #ruby
arw82 has quit [Remote host closed the connection]
_phaul has quit [Ping timeout: 246 seconds]
arup_r has quit []
_phaul has joined #ruby
<adam12> QuakePhil: An interesting project. I'm not familiar, but you might try some of the other docs. It looks like red-parquet builds on red-arrow? https://rubydoc.info/gems/red-arrow
<adam12> QuakePhil: red-parquet is near empty in terms of code. I'm presuming you'll need to look elsewhere for actual implementation details.
<TzilTzal> Hi
TCZ has quit [Quit: Bye Bye]
<TzilTzal> Is it possible to get %x to inherit the executing environment? (i.e. environment variables, etc...) I get a completely new environment/shell
SeepingN has joined #ruby
<adam12> TzilTzal: You might need to look at using Kernel.spawn directly, which lets you control the environment.
_phaul has quit [Ping timeout: 246 seconds]
<TzilTzal> There's no standard or easy way to do this?
andikr has quit [Remote host closed the connection]
_phaul has joined #ruby
hutch1 has quit [Ping timeout: 268 seconds]
<adam12> TzilTzal: What are you trying to achieve exactly?
cthulchu has joined #ruby
_phaul has quit [Ping timeout: 252 seconds]
_phaul has joined #ruby
conta1 has joined #ruby
whiis has joined #ruby
<whiis> Hi all! I'm learning RoR via a Udemy course right now. The course covers rails 5, but I have rails 6 on my system. Should I downgrade the version of rails I'm using/learning with or just keep going with 6?
davidw has joined #ruby
davidw has quit [Changing host]
davidw has joined #ruby
_phaul has quit [Ping timeout: 240 seconds]
jacksoow has joined #ruby
<Mrbuck> whiis:there is #rubyonrails too but i would learn 6
SeepingN has quit [Quit: The system is going down for reboot NOW!]
* whiis oh cool, thank you!
_phaul has joined #ruby
Spaceman77 has joined #ruby
<Spaceman77> Hello! Each year i try to learn a new programming language. Last year around this time i started learning Ruby, and i fell in love with it :). What language would you recommend me learning next?
<al2o3-cr> Spaceman77: Lua
mwlang_ has joined #ruby
_phaul has quit [Ping timeout: 240 seconds]
xco has joined #ruby
<mwlang_> Is it possible to write my own typecasts similar to how Ruby core does for Integer, Float, Array, etc? e.g. Integer(“25”) => 25; Array(“a”) => [“a”]
<adam12> mwlang_: Those are just methods on Kernel. Go ahead and define your own, but obviously beware conflicts with other constants.
dostoyevsky has quit [Quit: leaving]
<mwlang_> looking to implement the same behavior that if given the type I’m converting to, I just get it back unchanged. e.g. Integer(25) => 25; Array([“a”]) => [“a”]
dostoyevsky has joined #ruby
<mwlang_> Oh! Now I get it.
<mwlang_> did not even think of the fact that these would be Kernel methods.
<adam12> mwlang_: Yeah it's a neat trick.
<adam12> mwlang_: This might be more suited to the class of object you're creating. Ie. Date.parse(value) could just return value if is_a?(Date). If you know what I mean.
_phaul has joined #ruby
<mwlang_> yeah, a utility function could do it as well.
clemens3 has quit [Quit: WeeChat 1.6]
_phaul has quit [Ping timeout: 252 seconds]
_phaul has joined #ruby
sameerynho has joined #ruby
thecoffemaker has quit [Ping timeout: 268 seconds]
_phaul has quit [Ping timeout: 246 seconds]
thecoffemaker has joined #ruby
_phaul has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
_phaul has quit [Ping timeout: 240 seconds]
lalitmee has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
_phaul has joined #ruby
_phaul has quit [Ping timeout: 240 seconds]
<havenwood> Spaceman77: Elixir
<Spaceman77> I see quite a lot of ruby people move on to elixir
<Spaceman77> I'm curious why
<havenwood> Spaceman77: It's made by a Rubyist, has a lot of flexibility and elegance, and would be an intro into functional programming.
<havenwood> Spaceman77: Or Clojure.
<Spaceman77> Well, currently i can't decide between Java, Clojure, Haskell and Go
jenrzzz has joined #ruby
<Spaceman77> Java - used a lot in industry, it's in the top3 languages for almost all problem domains, but the potential for boilerplate puts me off.
<Mrbuck> once I get a job I will start with lisp
<Spaceman77> Clojure - It's a lisp on JVM, nuff said
_phaul has joined #ruby
<Spaceman77> Haskell - if i'm to learn a functional programming language, i might as well go all the way
<havenwood> Spaceman77: If you want to delve into types.
<havenwood> Spaceman77: And the maths.
<Mrbuck> even clojure also functional
<Mrbuck> but dynamic
<Spaceman77> Go - seems interesting to me. It is boilerplaty, but scripty at the same time. Seems like a very practical language.
<Spaceman77> I only recently learned and understood what monads are, so i'm quite eager to see them in action
Mrbuck has quit [Quit: WeeChat 2.7]
_phaul has quit [Ping timeout: 268 seconds]
<Spaceman77> Probably sounds like i can't decide. And i really can't :(
i9zO5AP has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
Ai9zO5AP has quit [Ping timeout: 250 seconds]
_phaul has joined #ruby
rafadc has quit [Read error: Connection reset by peer]
rafadc has joined #ruby
sameerynho has quit [Ping timeout: 252 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
<havenwood> Spaceman77: Elixir.
<havenwood> Spaceman77: If you want to know what monads are, give this a read: http://adit.io/posts/2013-04-17-functors,_applicatives,_and_monads_in_pictures.html
lightstalker has quit [Ping timeout: 265 seconds]
<havenwood> Spaceman77: Here's a talk about "monads" in Ruby (it predates the lonely person operator and #then): https://codon.com/refactoring-ruby-with-monads
<havenwood> Spaceman77: Just go into Clojure then you can worry about knowing what a transducer is. :P
<havenwood> Spaceman77: Here's my take on a Swift-like Optional monad in Ruby: https://gist.github.com/havenwood/b0c6bdd59be549a6bb701b575480e55b
<havenwood> Spaceman77: Here's my transducer fizzbuzz in Ruby: https://gist.github.com/havenwood/c5c5b48bd96b77bea53d
suukim has joined #ruby
<Spaceman77> havenwood: Thanks!
<Spaceman77> Though you mentioned both clojure and elixir
<Spaceman77> :D
<havenwood> Spaceman77: Those are my two favorite functional languages without types.
william1 has quit [Ping timeout: 250 seconds]
<havenwood> Spaceman77: Both support type annotations.
<havenwood> Spaceman77: They're both super powerful, great for general purpose programming, and both on battle hardened VMs.
<havenwood> I guess by "super powerful" I mean expressive with solid primitives to build complex things.
<Spaceman77> Welp, i've been leaning more on clojure side, i guess. How much Java do I need to know before diving in?
_phaul has quit [Ping timeout: 246 seconds]
antholog has joined #ruby
william1 has joined #ruby
<davidw> Spaceman77, I'd second Elixir
<davidw> I guess Java is not a bad thing to have, but... bleagh
_phaul has joined #ruby
suukim has quit [Quit: Konversation terminated!]
_phaul has quit [Ping timeout: 265 seconds]
drnerdius has joined #ruby
Spaceman77 has quit [Remote host closed the connection]
_phaul has joined #ruby
conta1 has quit [Ping timeout: 240 seconds]
_phaul has quit [Ping timeout: 276 seconds]
<AndroidKitKat> is there a way to do a 'deep copy' of a hash? I tried doing new_hash = Hash.new(graph)
_phaul has joined #ruby
<AndroidKitKat> similar to this in python: https://docs.python.org/3.7/library/copy.html
<AndroidKitKat> I'm trying to delete items from an array as I iterate through it but deleting items from a copy of the original hash
<havenwood> AndroidKitKat: Rails has a Hash#deep_dup but Ruby does not. One way is to: Marshal.load(Marshal.dump(graph))
sh7d has quit [Ping timeout: 268 seconds]
lalitmee has quit [Quit: Leaving]
_phaul has quit [Ping timeout: 246 seconds]
<AndroidKitKat> https://dpaste.org/AqdU something like this, i could go through and manually copy everything from one to the other hash but i figured there would be some method to do it
DTZUZO has joined #ruby
_phaul has joined #ruby
dionysus69 has quit [Quit: dionysus69]
cthu| has joined #ruby
_phaul has quit [Ping timeout: 250 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
<drnerdius> Behold, a task that seems complicated but really shouldn't be! So, I'm trying to write a script that does transliteration between two alphabets. One of them is latin. The problem is that there are multiple de-facto standards of transliteration in one of the alphabets (some are more official, some are more casual/urban) so one latin letter can correspond with multiple letters or sequences of two or three letters. The input is a simple dictionary with
<drnerdius> each word/phrase on a single line. The output should be all the possible transliterations that can be produced (I know many possible combinations may take more time, but I can control that part); each new word or variation of the same word on a new line. The rules of the processing is provided through a hash like this: {"ა" => ["a"], "ბ" => ["b"], ..., "ც" => ["ts", "c"], ... "ჰ" => ["h"]}. So, as you can see, if you look at the middle part,
<drnerdius> each letter can correspond with multiple variations. This means, if a word contains this letter, it should create multiple words that cover all the possible variations. Here's the problem: I can treat the input as string and get the individual letters via indexes, but that way I'll need to do a loop which might slow down the process, and performacne really matters for me in this case. The second solution might be to use a method that can deal with this
<drnerdius> without much interpreted code, logic, and loops, like gsub. Of course, the problem with gsub is that even though it can take hash map as a second argument, it's purpose is to do just the replacements, so you can't really give it a hash that maps keys with arrays with multiple values. I thought about converting that hash with multiple hashes with unique values — separating them by the array values — and then processing the text spep-by-step, but this
<drnerdius> splution is more complicated and I don't know if it'll make my code any faster. There got to be a better and more elegant solution. Is there a better method I can use for this task? Is there a better way to solve this problem?
cthulchu has quit [Ping timeout: 250 seconds]
_phaul has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
TzilTzal has quit [Quit: Leaving.]
wallace_mu has quit [Read error: Connection reset by peer]
wallace_mu has joined #ruby
_phaul has quit [Ping timeout: 240 seconds]
Swyper has quit [Remote host closed the connection]
cthu| has quit [Read error: Connection reset by peer]
cthu| has joined #ruby
_phaul has joined #ruby
howdoi has joined #ruby
_phaul has quit [Ping timeout: 240 seconds]
cthu| has quit [Read error: Connection reset by peer]
cthu| has joined #ruby
Swyper has joined #ruby
_phaul has joined #ruby
<AndroidKitKat> can anyone help me figure out how to use byebug? I was looking at some ways to use it, but i'm not sure it's doing what i want, i thought there was a way to add break points but I can't seem to figure it out
<AndroidKitKat> i've been trying to get to an interactive version but i'm not sure what im doing wrong
_phaul has quit [Ping timeout: 268 seconds]
<nofxx> AndroidKitKat, just add 'byebug' anywhere, that's the breakpoint
<nofxx> run the code, you'll get an irb like session on that point
gix has joined #ruby
<nofxx> you can add as many as you want
<AndroidKitKat> Yeah I did that, but even when i run my program with 'byebug program.rb < input.txt'
<AndroidKitKat> i still get kicked out to my bash prompt
<AndroidKitKat> all it does is it seems to spit out some information about the loop it's in
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
<nofxx> AndroidKitKat, strange.... you don't even need to run byebyg <script> , could be just ruby <script> and it'll work
<drnerdius> Nvm my problem above; I figuered out a really elegant solution (if anybodu cares :) ).
<nofxx> did you install the gem? there's no error about it?
<AndroidKitKat> yeah i can run the script to problem
<nofxx> AndroidKitKat, you need to require 'byebug' too btw
<AndroidKitKat> yeah i did
_phaul has joined #ruby
<AndroidKitKat> https://waifupaste.moe/raw/bdX.txt this is the output; and here's the script https://waifupaste.moe/raw/ciG.txt
sauvin has quit [Read error: Connection reset by peer]
<AndroidKitKat> that's all that happens
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
<AndroidKitKat> the output doesn't send me to an interactive irb at all
drnerdius has quit [Quit: Konversation terminated!]
chihhsin has quit [Ping timeout: 265 seconds]
_phaul has quit [Ping timeout: 246 seconds]
<nofxx> AndroidKitKat, ahhh... the > is piping the result, no?
<AndroidKitKat> that's just getting the output file from the run yeah
<nofxx> intersting... I think it blocks interactive, try w/o it just to check
<AndroidKitKat> i did yeah
_phaul has joined #ruby
MrCrackPot has quit [Quit: Leaving]
<nofxx> AndroidKitKat, yeah, couldn't run here either
<nofxx> i do believe it's STDIN/STDOUT issue.... try passing it as ARGV instead?
<nofxx> the text file
<AndroidKitKat> ohh that could be it maybe
<AndroidKitKat> would have to change out i do input, which is something i'd have to learn
<AndroidKitKat> but i'll never turn down an opportunity to learn
dasher00 has joined #ruby
<nofxx> AndroidKitKat, pretty straitforward...like txt = File.open(ARGV.first).read, maybe some more work on argv, check it's provided etc...
_phaul has quit [Ping timeout: 250 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 252 seconds]
AJA4351 is now known as AJA4350
_phaul has joined #ruby
cd has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
<_phaul> AndroidKitKat: just to clarify, were you trying to debug this with byebug or just to run it?
<AndroidKitKat> debug it
NODE has quit [Client Quit]
krawchyk has quit [Quit: krawchyk]
shansen has joined #ruby
<_phaul> ok :)
william1 has quit [Ping timeout: 240 seconds]
NODE has joined #ruby
<AndroidKitKat> Been having some weird issues with a data structure, but i think that's just me being bad
Swyper has quit [Remote host closed the connection]
krawchyk has joined #ruby
lightstalker has joined #ruby
<_phaul> why do you create a graph_copy? note that your copy is shallow
<_phaul> meaning that the delete would be reflected in graph too
jenrzzz has joined #ruby
Swyper has joined #ruby
<_phaul> &>> h1 = {a: [1]}; h2 = {}; h2[:a] = h1[:a]; h2[:a].delete(1); h1
<rubydoc> # => {:a=>[]} (https://carc.in/#/r/86zb)
Swyper has quit [Remote host closed the connection]
<AndroidKitKat> i thought that would deep copy, still a lot to do
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
AJA4351 has joined #ruby
akemhp_ has joined #ruby
<_phaul> &>> h1 = {a: [1]}; h2 = h1.transform_values(&:dup); h2[:a].delete(1); {h1: h1, h2: h2}
<rubydoc> # => {:h1=>{:a=>[1]}, :h2=>{:a=>[]}} (https://carc.in/#/r/86zc)
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
krawchyk has quit [Quit: krawchyk]
Swyper has joined #ruby
akem__ has quit [Ping timeout: 268 seconds]
william1 has joined #ruby
cthu| has quit [Read error: Connection reset by peer]
cthu| has joined #ruby
ur5us has joined #ruby
cthu| has quit [Read error: Connection reset by peer]
cthu| has joined #ruby
Swyper has quit [Remote host closed the connection]
akemhp_ has quit [Ping timeout: 268 seconds]
svankmajer has joined #ruby
svankmajer has quit [Client Quit]
Mrgoose845701915 has joined #ruby
svankmajer has joined #ruby
<AndroidKitKat> dang _phaul you're a wizard
TCZ has joined #ruby
cthu| has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 250 seconds]
cthu| has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
akemhp has joined #ruby
akemhp_ has joined #ruby
krawchyk has joined #ruby
jacksoow has quit [Read error: Connection reset by peer]
jacksoow has joined #ruby
akemhp has quit [Ping timeout: 246 seconds]
william1 has quit [Ping timeout: 276 seconds]
cthu| has quit [Read error: Connection reset by peer]
akemhp_ has quit [Ping timeout: 265 seconds]
cthu| has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
svankmajer has quit [Ping timeout: 276 seconds]
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
cd has quit [Quit: cd]
cd has joined #ruby
CalimeroTeknik has quit [Quit: バイバイ]
Swyper has joined #ruby
<Scriptonaut> hey all, I'm trying to override an instance method's << operator. Like this: def file_names<< (value)
<Scriptonaut> however I get a syntax error syntax error, unexpected tLSHFT, expecting '\n' or ';': def file_names<< (value)
Fernando-Basso has joined #ruby
<Scriptonaut> pointing to the space between '<<' and '(value)'
Swyper has quit [Remote host closed the connection]
<Scriptonaut> is it impossible to override this operator or something? I am overriding the '=' operator without any issues
<havenwood> Scriptonaut: There's no syntactic sugar that allows defining << in this way. Define #<< on the method's return value object.
william1 has joined #ruby
<Scriptonaut> ah, what do you mean by define #<< on the return value object?
schne1der has quit [Ping timeout: 240 seconds]
<Scriptonaut> I've only ever overrode operatores in this way, which I guess is sugar? I wasn't even aware of that
<adam12> Scriptonaut: file_names returns an object. havenwood is suggesting you define << on the object file_names returns.
<adam12> Presumably you're doing file_names << "something"
<Scriptonaut> file_names returns an array
<leftylink> in that case, doesn't the array already have << defined on it?
<havenwood> Scriptonaut: Array already defines Array#<< (the shovel operator).
<adam12> So your options are define << on that array, or use a delegator / proxy object in the middle.
<havenwood> Scriptonaut: Show a bit of surrounding code?
<Scriptonaut> so file_names is basically a string of comma separated values. It acts like an array though. When you call file_names, it fetches an internal value called file_names, that is a string, and splits it into an array
<Scriptonaut> ok
<adam12> I'd probably create a standin object.
howdoi has quit [Quit: Connection closed for inactivity]
Swyper has joined #ruby
<havenwood> Scriptonaut: Would it make sense in the broader context to?: def <<(value)
<Scriptonaut> no
<Scriptonaut> this is one very small part of a large object
<Scriptonaut> and it wouldn't make sense to have an << operator on the parent object
QuakePhil has left #ruby [#ruby]
<havenwood> Scriptonaut: Then I'd probably not use the shovel operator, or do as adam12 suggests if you'd really like to.
<Scriptonaut> ok, I can just create an "add_file" method or something
<Scriptonaut> thanks
Swyper has quit [Remote host closed the connection]
_phaul has quit [Ping timeout: 246 seconds]
<adam12> Scriptonaut: My 1-minute example https://gist.github.com/ba15b87f2001ea76399a19ae42cdf8bf
CalimeroTeknik has joined #ruby
cthulchu has joined #ruby
_phaul has joined #ruby
jcalla has quit [Quit: Leaving]
krawchyk has quit [Quit: krawchyk]
fphilipe has quit [Ping timeout: 240 seconds]
cthu| has quit [Ping timeout: 250 seconds]
Fusl has quit [Excess Flood]
Fusl has joined #ruby
_phaul has quit [Ping timeout: 265 seconds]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_phaul has joined #ruby
<Scriptonaut> thanks, ya I could have added a class for the file list but it might have been a bit overkill
fphilipe has joined #ruby
_phaul has quit [Ping timeout: 250 seconds]
_phaul has joined #ruby
fphilipe has quit [Ping timeout: 250 seconds]
Nahra has quit [Quit: leaving]
william1 has quit [Ping timeout: 240 seconds]
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
_phaul has quit [Ping timeout: 268 seconds]
_phaul has joined #ruby
_phaul has quit [Ping timeout: 265 seconds]
_phaul has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
_phaul has quit [Ping timeout: 250 seconds]
skywalker has joined #ruby
<skywalker> hey. i am running an application, and it is returning "ignoring *name of the gem*, because its extensions are not built, try gem pristine". but as the gems are installed by rpm packages, i cannot use the pristine (i suppose).
<skywalker> how could i manually build those extensions?
<skywalker> or check what extensions are those
_phaul has joined #ruby
brool has joined #ruby
<skywalker> disclaimer: i am actually building rpm packages, and i don't know very much of ruby - sorry
_phaul has quit [Ping timeout: 265 seconds]
_phaul has joined #ruby
drincruz has quit [Ping timeout: 268 seconds]
_phaul has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
_phaul has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
AJA4350 has joined #ruby
_phaul has quit [Ping timeout: 250 seconds]
cliluw has quit [Read error: Connection reset by peer]
_phaul has joined #ruby
cliluw has joined #ruby
fig-le-deunch has joined #ruby
FernandoBasso has joined #ruby
Xeago_ has joined #ruby
ropeney has quit [Quit: ZNC 1.7.4 - https://znc.in]
Xeago has quit [Read error: Connection reset by peer]
rafadc_ has joined #ruby
Xeago_ is now known as Xeago
Milos_ has joined #ruby
Milos has quit [Read error: Connection reset by peer]
Fernando-Basso has quit [Ping timeout: 268 seconds]
rafadc has quit [Ping timeout: 268 seconds]
_phaul has quit [Ping timeout: 250 seconds]
ropeney has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
NODE has quit [Client Quit]
_phaul has joined #ruby
NODE has joined #ruby
akemhp has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
buckworst has joined #ruby
_phaul has quit [Ping timeout: 268 seconds]
whiis has quit [Quit: Connection closed for inactivity]
howdoi has joined #ruby
TCZ has quit [Quit: Bye Bye]
im0nde_ has joined #ruby
_phaul has joined #ruby
mwlang_ has quit [Quit: mwlang_]
im0nde has quit [Ping timeout: 265 seconds]
buckworst has quit [Quit: WeeChat 2.3]
_phaul has quit [Ping timeout: 240 seconds]
_phaul has joined #ruby
_phaul has quit [Ping timeout: 240 seconds]
_phaul has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
ur5us has quit [Ping timeout: 250 seconds]
_phaul has quit [Ping timeout: 265 seconds]
Esa_ has quit []
vrih has quit [Ping timeout: 276 seconds]
_phaul has joined #ruby
vrih has joined #ruby
AJA4351 has joined #ruby
_phaul has quit [Ping timeout: 246 seconds]
akemhp has quit [Ping timeout: 252 seconds]
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
_phaul has joined #ruby
_phaul has quit [Ping timeout: 250 seconds]