havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.2, 2.3.5 & 2.2.8: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
daydream has joined #ruby
PresidentBiscuit has quit [Remote host closed the connection]
daydream has quit [Client Quit]
hahuang61 has quit [Quit: WeeChat 1.9]
cagomez_ has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
michaelzinn has joined #ruby
millerti has joined #ruby
zachk has quit [Quit: night]
enterprisey has joined #ruby
skweek has joined #ruby
PresidentBiscuit has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
michaelzinn has quit [Ping timeout: 260 seconds]
r3QuiEm_cL has quit [Ping timeout: 240 seconds]
noobineer has joined #ruby
noobineer has quit [Max SendQ exceeded]
jphase has joined #ruby
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ornerymoose has quit [Quit: ornerymoose]
zapata has quit [Ping timeout: 246 seconds]
jphase has quit [Ping timeout: 252 seconds]
ta_ has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
SeepingN has quit [Ping timeout: 248 seconds]
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
workmad3 has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
Skull0inc has joined #ruby
jdawgaz has quit [Client Quit]
ta_ has quit [Ping timeout: 240 seconds]
jdawgaz has joined #ruby
michaelzinn has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
Azure|dc has quit [Read error: Connection reset by peer]
Azure has joined #ruby
michaelzinn has quit [Ping timeout: 264 seconds]
lagweezle is now known as lagweezle_away
brent__ has joined #ruby
zapata has joined #ruby
astrobunny has joined #ruby
brent__ has quit [Ping timeout: 248 seconds]
jphase has joined #ruby
nobitanobi has joined #ruby
orbyt_ has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
roadt has joined #ruby
marxarelli|afk is now known as marxarelli
jphase has quit [Ping timeout: 255 seconds]
Cohedrin_ has quit [Read error: Connection reset by peer]
orbyt_ has quit [Client Quit]
nobitanobi has quit [Ping timeout: 260 seconds]
Guest85471 has joined #ruby
jdawgaz has joined #ruby
s2013 has joined #ruby
Skull0inc has quit [Ping timeout: 240 seconds]
<Guest85471> How do I find out the version numbers of the dependencies of a gem package
Guest85471 is now known as Algebr
<Algebr> and I want to be able to do this per version number of a gem package
DTZUZO has quit [Ping timeout: 255 seconds]
<Algebr> so I want to know the version numbers of the dependencies of fastlane 2.50 for example
michaelzinn has joined #ruby
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
yehowyada has joined #ruby
Cohedrin_ has joined #ruby
kculpis has joined #ruby
skweek has quit [Ping timeout: 248 seconds]
skweek has joined #ruby
michaelzinn has quit [Ping timeout: 240 seconds]
Cohedrin_ has quit [Read error: Connection reset by peer]
<Algebr> oh, gem dependency gets me far
PresidentBiscuit has quit [Remote host closed the connection]
paradisaeidae has joined #ruby
paradisaeidae_ has joined #ruby
Cohedrin_ has joined #ruby
PresidentBiscuit has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
Algebr has quit [Ping timeout: 255 seconds]
d^sh has quit [Ping timeout: 264 seconds]
d^sh has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
Algebr has joined #ruby
Cohedrin_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
michaelzinn has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
yokel_ has joined #ruby
gizmore|2 has joined #ruby
knight33 has joined #ruby
Cohedrin_ has joined #ruby
enterprisey has quit [Quit: Leaving]
gizmore has quit [Ping timeout: 264 seconds]
jackjackdripper1 has quit [Quit: Leaving.]
michaelzinn has quit [Ping timeout: 240 seconds]
kn-928 has joined #ruby
Algebr` has joined #ruby
Algebr has quit [Read error: Connection reset by peer]
<Algebr`> what is this command flag to ruby? -rbundler/setup
ta_ has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
<havenwood> Algebr`: that's like: ruby -e "require 'bundler/setup'"
Kilobyte22 has quit [Ping timeout: 252 seconds]
<havenwood> Algebr`: -rlibrary require the library before executing your script
<Algebr`> ah
uZiel has joined #ruby
t-recx has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 248 seconds]
<Algebr`> do you know what running bundler/setup concretly does?
charliesome has joined #ruby
Kilo`byte has joined #ruby
hfp_work has quit [Ping timeout: 260 seconds]
michaelzinn has joined #ruby
<Algebr`> oh that's not bad at all
Dimik has quit [Ping timeout: 240 seconds]
<Algebr`> I mean only 28 loc
tvw has quit [Ping timeout: 240 seconds]
<havenwood> *in turn*
uZiel has quit [Ping timeout: 248 seconds]
kn-928 has quit [Ping timeout: 240 seconds]
<havenwood> then cascading requires
naprimer has quit [Quit: Leaving]
mim1k has joined #ruby
jdawgaz has joined #ruby
<Algebr`> can mruby use arbitrary gems?
hfp_work has joined #ruby
michaelzinn has quit [Ping timeout: 240 seconds]
<havenwood> it can use mgems
<havenwood> not gems
PresidentBiscuit has quit [Remote host closed the connection]
PresidentBiscuit has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
<havenwood> Algebr`: module Kernel; alias original_require require; def require this; puts this; original_require this end end; require 'bundler/setup'
brent__ has joined #ruby
naprimer has joined #ruby
<Algebr`> quite a bit
jackjackdripper has joined #ruby
Dimik has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
PresidentBiscuit has quit [Remote host closed the connection]
PresidentBiscuit has joined #ruby
naprimer has quit [Client Quit]
<havenwood> you could also check which were already required
<havenwood> some were
<Algebr`> ah darn, mgems doesn't have what I wanted.
fyrril has joined #ruby
<havenwood> what do you want?
Cohedrin_ has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
<Algebr`> fastlane
cagomez has joined #ruby
naprimer has joined #ruby
brent__ has quit [Remote host closed the connection]
<Algebr`> oh this is cool, matz still commits on mruby
<havenwood> Algebr`: you actually build mruby along with the mgems you'll want for that build
<havenwood> it's a bit different than ruby gems
<havenwood> but you require them along the same lines
jackjackdripper has quit [Client Quit]
marxarelli is now known as marxarelli|afk
hfp_work has quit [Ping timeout: 260 seconds]
<Algebr`> havenwood: how long have you been doing ruby?
<havenwood> Algebr`: 7 years
cschneid has joined #ruby
<havenwood> Algebr`: heading to Ruby in Hollywood meetup, back in a few!
<Algebr`> cool, thanks for answering my questions
bmurt has joined #ruby
hfp_work has joined #ruby
cschneid has quit [Ping timeout: 252 seconds]
rrichardsr3 has joined #ruby
hfp_work has quit [Ping timeout: 240 seconds]
<Algebr`> is method name ending in ? a convention to say this return bool?
michaelzinn has joined #ruby
edwardly has quit [Ping timeout: 252 seconds]
JaredR has joined #ruby
PresidentBiscuit has quit [Ping timeout: 255 seconds]
kn-928 has joined #ruby
michaelzinn has quit [Ping timeout: 264 seconds]
MrBismuth has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
rrichardsr3 has quit [Quit: Apparantly my attempt to stay awake has failed...]
JaredR has quit [Client Quit]
cagomez has quit [Remote host closed the connection]
d^sh has quit [Ping timeout: 240 seconds]
nicolai86 has quit [Quit: ZNC - http://znc.in]
MrBusiness3 has quit [Ping timeout: 246 seconds]
cagomez has joined #ruby
nicolai86 has joined #ruby
d^sh has joined #ruby
hfp_work has joined #ruby
<havenwood> Algebr`: no, rather that the value will be used for truthiness
<Algebr`> but just convention right
<Algebr`> what about methods ending in !
<havenwood> Algebr`: a bang ! means there's a less dangerous version without a bang
<havenwood> Algebr`: often it means the ! version mutates the receiver
<havenwood> but it could be anything where there's a more squirrelly variants
<Algebr`> this language leaves so much up to convention
Guiri has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michaelzinn has joined #ruby
chouhoulis has quit [Ping timeout: 255 seconds]
<Algebr`> bundle and bundler are the same thing?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaelzinn has quit [Ping timeout: 240 seconds]
cagomez has quit [Remote host closed the connection]
jdawgaz has joined #ruby
cagomez has joined #ruby
<havenwood> yes
ornerymoose has joined #ruby
<Algebr`> how do I dump all versions of a library available via gem
milardovich has joined #ruby
ornerymoose has quit [Client Quit]
cagomez has quit [Ping timeout: 252 seconds]
kies has quit [Ping timeout: 248 seconds]
ta_ has joined #ruby
rrichardsr3 has joined #ruby
<Algebr`> bah, easier to just look at github releases
<Algebr`> bundler getting a lot of attention lately?
Dimik has quit [Ping timeout: 240 seconds]
<Nilium> Probably no more than usual?
maryo_ has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
arescorpio has joined #ruby
roadt has quit [Ping timeout: 260 seconds]
michaelzinn has joined #ruby
perniciouscaffei has joined #ruby
maryo_ has joined #ruby
kn-928 has quit [Ping timeout: 240 seconds]
michaelzinn has quit [Ping timeout: 260 seconds]
ornerymoose has joined #ruby
paradisaeidae_ has quit [Read error: Connection reset by peer]
paradisaeidae has quit [Read error: Connection reset by peer]
jameser has joined #ruby
maryo_ has quit [Quit: Leaving]
lacuna has joined #ruby
znz_jp has quit [Remote host closed the connection]
znz_jp has joined #ruby
hfp_work has quit [Ping timeout: 240 seconds]
cschneid has joined #ruby
howdoi has joined #ruby
michaelzinn has joined #ruby
hfp_work has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
jdawgaz has quit [Client Quit]
cschneid has quit [Ping timeout: 240 seconds]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
michaelzinn has quit [Ping timeout: 248 seconds]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
Skull0inc has joined #ruby
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
yehowyada has quit [Quit: Textual IRC Client: www.textualapp.com]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
ornerymoose has quit [Quit: ornerymoose]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
jdawgaz has joined #ruby
paradisaeidae has joined #ruby
paradisaeidae_ has joined #ruby
cschneid has joined #ruby
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troys_ is now known as troys
michaelzinn has joined #ruby
lacuna has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid has quit [Ping timeout: 246 seconds]
jdawgaz has joined #ruby
jphase has joined #ruby
michaelzinn has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
roadt has joined #ruby
ta_ has joined #ruby
jenrzzz has joined #ruby
jphase has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rrichardsr3 has quit [Quit: Apparantly my attempt to stay awake has failed...]
ta_ has quit [Ping timeout: 240 seconds]
DTZUZO has joined #ruby
zapata has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
gix has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
jenrzzz has joined #ruby
michaelzinn has joined #ruby
gix has joined #ruby
mim1k has quit [Ping timeout: 252 seconds]
milardovich has quit [Remote host closed the connection]
michaelzinn has quit [Ping timeout: 240 seconds]
jphase has joined #ruby
johnny56_ has joined #ruby
s3nd1v0g1us has quit [Quit: tempusfugit]
bronson has quit [Remote host closed the connection]
zapata has joined #ruby
govg has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
Xiti has quit [Quit: Xiti]
jphase has quit [Ping timeout: 240 seconds]
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jphase has joined #ruby
orbyt_ has joined #ruby
ornerymoose has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
uZiel has joined #ruby
michaelzinn has joined #ruby
milardovich has joined #ruby
bronson has joined #ruby
jphase has quit [Ping timeout: 248 seconds]
michaelzinn has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 240 seconds]
arescorpio has quit [Quit: Leaving.]
jenrzzz has quit [Ping timeout: 240 seconds]
jphase has joined #ruby
noobineer has joined #ruby
troys is now known as troys_
noobineer has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
ornerymoose has quit [Quit: ornerymoose]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
jphase has quit [Ping timeout: 246 seconds]
jdawgaz has quit [Client Quit]
astronavt has joined #ruby
jdawgaz has joined #ruby
cdg has joined #ruby
jdawgaz has quit [Client Quit]
<astronavt> how does the system() decide which shell to use, and is it possible to control that explicitly?
<astronavt> the system() method
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
michaelzinn has joined #ruby
jphase has joined #ruby
<matthewd> astronavt: If you want to be more specific, you should probably invoke the shell explicitly
jdawgaz has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jphase has quit [Ping timeout: 248 seconds]
ta_ has joined #ruby
Skull0inc has quit [Ping timeout: 248 seconds]
michaelzinn has quit [Ping timeout: 240 seconds]
Puffball has quit [Quit: No Ping reply in 180 seconds.]
noobineer has joined #ruby
Puffball has joined #ruby
jphase has joined #ruby
ta_ has quit [Ping timeout: 248 seconds]
<Algebr`> is invoking bundle the same as bundle install
cadillac_ has quit [Ping timeout: 252 seconds]
dviola has quit [Quit: WeeChat 1.9]
cadillac_ has joined #ruby
mim1k has joined #ruby
jphase has quit [Ping timeout: 240 seconds]
Skull0inc has joined #ruby
Xiti has joined #ruby
<matthewd> Algebr`: Yes
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 248 seconds]
jphase has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
nobitanobi has joined #ruby
lacuna has joined #ruby
troys_ is now known as troys
michaelzinn has joined #ruby
millerti has joined #ruby
nobitanobi has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
lacuna has quit [Ping timeout: 240 seconds]
jackjackdripper has joined #ruby
michaelzinn has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jphase has quit [Ping timeout: 264 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackjackdripper has quit [Client Quit]
jackjackdripper has joined #ruby
Skull0inc has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
knight33 has joined #ruby
_whitelogger has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jphase has joined #ruby
<Algebr`> saw this in a usage of bundle, --without development, read the page for --without but still don't understand
jphase has quit [Ping timeout: 252 seconds]
michaelzinn has joined #ruby
jphase has joined #ruby
michaelzinn has quit [Ping timeout: 240 seconds]
alex`` has joined #ruby
jphase has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
Bock has joined #ruby
brent__ has joined #ruby
samlisl_ has joined #ruby
jphase has joined #ruby
cschneid has joined #ruby
kculpis has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
jphase has quit [Ping timeout: 240 seconds]
brent__ has quit [Remote host closed the connection]
gusrub has quit [Remote host closed the connection]
Dimik has joined #ruby
michaelzinn has joined #ruby
jphase has joined #ruby
ta_ has joined #ruby
alex`` has quit [Quit: WeeChat 1.9]
paradisaeidae_ has quit [Ping timeout: 240 seconds]
paradisaeidae has quit [Ping timeout: 240 seconds]
<Algebr`> Is it possible to tell gem download another platform's native extensions? For example, I want to gem/bundle install the windows binaries for unf_ext but I am on OS X
<matthewd> Algebr`: I don't think so.. why do you want to do that?
belmoussaoui has joined #ruby
<Algebr`> my usecase is odd
<Algebr`> this seems like an oversight to me
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
michaelzinn has quit [Ping timeout: 246 seconds]
ta_ has quit [Ping timeout: 255 seconds]
aupadhye has joined #ruby
biberu has joined #ruby
Cohedrin_ has joined #ruby
<nofxx> Algebr`, clone, `ag PLATFORM` , comment'em all
biberu has quit [Read error: Connection reset by peer]
jphase has quit [Ping timeout: 248 seconds]
retrazil has joined #ruby
<Algebr`> what you mean by comment'em all
Asher has quit [Ping timeout: 246 seconds]
<retrazil> hi, can I ask beginner questions here ?
Asher has joined #ruby
kn-928 has joined #ruby
anisha has joined #ruby
paranoicsan has joined #ruby
jphase has joined #ruby
troys has quit [Quit: Bye]
paranoicsan has quit [Client Quit]
AnoHito has joined #ruby
paranoicsan has joined #ruby
kn-928 has quit [Ping timeout: 240 seconds]
jphase has quit [Ping timeout: 240 seconds]
alex`` has joined #ruby
alex`` is now known as alexherbo2
alexherbo2 is now known as alex``
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michaelzinn has joined #ruby
milardovich has joined #ruby
retrazil has quit [Quit: Leaving]
rabajaj has joined #ruby
michaelzinn has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
Silthias has quit [Ping timeout: 255 seconds]
Silthias has joined #ruby
milardovich has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
DipoleHourglass has quit [Quit: Connection closed for inactivity]
mkali has joined #ruby
michaelzinn has joined #ruby
mostlybadfly has joined #ruby
michaelzinn has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
michaelzinn has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
huyderman has quit [Ping timeout: 260 seconds]
kazi has joined #ruby
GhostK has quit [Remote host closed the connection]
michaelzinn has quit [Ping timeout: 264 seconds]
astronavt has quit [Quit: Leaving...]
Asher has quit [Quit: Leaving.]
jenrzzz has joined #ruby
<Algebr`> how do you show show which platforms a gem is available for?
Asher has joined #ruby
milardovich has joined #ruby
ta_ has joined #ruby
ta_ has quit [Client Quit]
milardovich has quit [Ping timeout: 252 seconds]
phaul has joined #ruby
ta_ has joined #ruby
rrichardsr3 has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
rrichardsr3 has quit [Ping timeout: 252 seconds]
<kazi> I tried to install a gem and found this error in my log https://gist.github.com/anonymous/595cbcc32342401d66ec6f3efb5d66bc#file-mkmf-log
ur5us has quit [Ping timeout: 240 seconds]
r7c has joined #ruby
<kazi> Is there any suggestion regarding what I could do with this?
Pisuke has joined #ruby
<teatime> kazi: do you have libc headers installed
<teatime> kazi: what OS are you on?
Mortomes|Work has joined #ruby
rrichardsr3 has joined #ruby
MyMind has quit [Ping timeout: 260 seconds]
<teatime> e.g., on debian or ubuntu you'd do: apt-get install build-essential libc6-dev
<kazi> teatime: I do have linux mint or ubuntu installed on my machine
<teatime> welp then try that
<kazi> teatime: Yes I'm trying this
<kazi> teatime: My problem has been fixed using your solution.
<kazi> I highly appreciate your time and effort for reading my issue and giving your kind solution to it.
<teatime> hehe, no probs :)
paranoicsan is now known as paranoicsan[Away
millerti has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
enterprisey has joined #ruby
kahra has quit [Quit: WeeChat 1.9]
ledestin has joined #ruby
rrichardsr3 has quit [Quit: He who dares .... wins.]
jaruga has joined #ruby
TomyWork has joined #ruby
<Algebr`> if anyone happens to know about platform issues in gem files https://github.com/knu/ruby-unf_ext/issues/33
ana_ has joined #ruby
paranoicsan[Away is now known as paranoicsan
nobitanobi has joined #ruby
<matthewd> Algebr`: You seem to be misinterpreting the purpose of the :platform option
ana_ has quit [Quit: Leaving]
<Algebr`> I think so
claudiuinberlin has joined #ruby
<Algebr`> I thought that it could distribute prebuilt binaries as well for the native extensions
ana_ has joined #ruby
<matthewd> You'll likely have more luck if you describe the problem you're trying to solve
claudiuinberlin has quit [Client Quit]
<Algebr`> I am trying to build a windows package using traveling ruby. Pure ruby code works fine packaged, but code using native extensions (seemingly) doesn't work, first example is this unf_ext package
claudiuinberlin has joined #ruby
<Algebr`> I build these packages on OS X
<Algebr`> (Or Linux)
selim has quit [Ping timeout: 240 seconds]
<Algebr`> so it would be great if there was a way to say give me the prebuilt binaries of native extensions for a different platform.
<matthewd> Well three clicks just got me to https://github.com/phusion/traveling-ruby#caveats
<matthewd> > Native extensions are currently not supported when creating Windows packages
selim has joined #ruby
aufi has joined #ruby
<Algebr`> right. That said, when I try loading it on windows, I just get a unf_ext not found in sources, so I thought it would just be a matter of placing the correct compiled code in a path
Dimik has quit [Ping timeout: 255 seconds]
<matthewd> If the authors of the tool are explicitly claiming it won't work, it seems unrealistic to expect to solve it by "just" putting the thing in the place
enterprisey has quit [Remote host closed the connection]
<Algebr`> possibly
howdoi has quit [Quit: Connection closed for inactivity]
michaelzinn has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
brendan- has quit [Ping timeout: 248 seconds]
Algebr` has quit [Ping timeout: 248 seconds]
Silthias1 has joined #ruby
Silthias has quit [Read error: Connection reset by peer]
Silthias has joined #ruby
Silthias1 has quit [Ping timeout: 264 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadt has quit [Ping timeout: 240 seconds]
chihhsin has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
claudiuinberlin has joined #ruby
roadt has joined #ruby
astrobunny has quit [Ping timeout: 255 seconds]
kazi has quit [Quit: Leaving]
ur5us has joined #ruby
mikecmpbll has joined #ruby
jphase has joined #ruby
jphase has quit [Read error: Connection reset by peer]
fyrril2 has joined #ruby
jphase has joined #ruby
jphase has quit [Read error: Connection reset by peer]
jphase_ has joined #ruby
jphase_ has quit [Read error: Connection reset by peer]
jphase has joined #ruby
jphase has quit [Read error: Connection reset by peer]
fyrril has quit [Ping timeout: 255 seconds]
jphase has joined #ruby
jphase has quit [Read error: Connection reset by peer]
jphase has joined #ruby
cdg has joined #ruby
jphase has quit [Read error: Connection reset by peer]
mim1k has joined #ruby
jphase has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jphase has quit [Read error: Connection reset by peer]
cadillac_ has quit [Ping timeout: 240 seconds]
jphase has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
cadillac_ has joined #ruby
jphase has quit [Read error: Connection reset by peer]
jphase_ has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jphase_ has quit [Read error: Connection reset by peer]
jphase has joined #ruby
ledestin has joined #ruby
jphase has quit [Read error: Connection reset by peer]
jphase has joined #ruby
huyderman has joined #ruby
mim1k has quit [Disconnected by services]
mim1k_ has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
imode has quit [Ping timeout: 252 seconds]
rgr_ has joined #ruby
kaibro has joined #ruby
rgr_ has quit [Client Quit]
jphase has quit [Ping timeout: 246 seconds]
mim1k has joined #ruby
mim1k_ has quit [Ping timeout: 246 seconds]
lxsameer has joined #ruby
Doow has joined #ruby
jphase has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ledestin has joined #ruby
ledestin has quit [Client Quit]
Doow has quit [Quit: Leaving]
ledestin has joined #ruby
Doow has joined #ruby
ur5us has quit [Remote host closed the connection]
ta_ has quit [Quit: Leaving...]
ur5us has joined #ruby
Beams has joined #ruby
mark_66 has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
jphase has quit [Ping timeout: 264 seconds]
InfinityFye has joined #ruby
dextrey has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ertes-w has joined #ruby
adaedra has joined #ruby
`derpy has joined #ruby
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
<ertes-w> hi… question from a non-ruby-programmer: is there any way to improve the boot times and general performance of ruby programs without changing the code? specific problem is that sensu checks are quite expensive: 300ms for `check-http.rb --help`
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 255 seconds]
<ertes-w> (i know i could just switch to perl/python/shell-based nagios checks, but perhaps there is a way to avoid that)
acarpe has joined #ruby
<matthewd> ertes-w: No magic go-fast button, no.. the perhaps-too-obvious answers are to load less at startup, or to avoid startup entirely
<ertes-w> i see, thanks
<matthewd> The only notable thing you could try would be --disable=gems, but most nontrivial applications will be expecting that functionality to be there
jphase has joined #ruby
jinie has quit [Ping timeout: 252 seconds]
jinie has joined #ruby
ams__ has joined #ruby
DipoleHourglass has joined #ruby
jphase has quit [Ping timeout: 240 seconds]
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewd> ertes-w: If the script is being run by another ruby process, the best trick is to just fork and load it directly, instead of needlessly booting a new copy of the interpreter
<ertes-w> /bin/check-http.rb:13:in `<main>': uninitialized constant Gem (NameError)
<ertes-w> so much for that =)
<ertes-w> matthewd: unfortunately i believe sensu has no mechanism to do that
<ertes-w> well, it does have some extension concept, but it would basically require me to become a ruby programmer
bronson has quit [Remote host closed the connection]
workmad3 has joined #ruby
jphase has joined #ruby
howdoi has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tvw has joined #ruby
jphase has quit [Ping timeout: 252 seconds]
GhostK has joined #ruby
belmoussaoui has quit [Ping timeout: 255 seconds]
ledestin has joined #ruby
michaelzinn1 has joined #ruby
jphase has joined #ruby
michaelzinn has quit [Ping timeout: 252 seconds]
harai has quit [Read error: Connection reset by peer]
harai has joined #ruby
nobitanobi has quit [Remote host closed the connection]
jphase has quit [Ping timeout: 240 seconds]
nobitanobi has joined #ruby
phinxy has joined #ruby
jphase has joined #ruby
InfinityFye has quit [Ping timeout: 252 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
InfinityFye has joined #ruby
Bhootrk_ has joined #ruby
Bhootrk_ has quit [Max SendQ exceeded]
ledestin has joined #ruby
yokel has quit [Read error: Connection reset by peer]
yokel_ is now known as yokel
dextrey has quit [Ping timeout: 240 seconds]
jphase has quit [Ping timeout: 246 seconds]
paranoicsan is now known as paranoicsan[Away
claudiuinberlin has joined #ruby
kn-928 has joined #ruby
paranoicsan[Away is now known as paranoicsan
Serpent7776 has joined #ruby
jphase has joined #ruby
kn-928 has quit [Ping timeout: 252 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ledestin has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
chihhsin has quit [Quit: leaving]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ledestin has quit [Client Quit]
marxarelli|afk has quit [Ping timeout: 246 seconds]
huyderman has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
jphase has quit [Ping timeout: 248 seconds]
mim1k has quit [Ping timeout: 246 seconds]
roadt has quit [Ping timeout: 248 seconds]
mim1k has joined #ruby
michaelzinn1 has quit [Ping timeout: 248 seconds]
mikecmpb_ has quit [Quit: inabit. zz.]
claudiuinberlin has joined #ruby
roadt has joined #ruby
mikecmpbll has joined #ruby
huyderman has joined #ruby
claudiuinberlin has quit [Client Quit]
ledestin has joined #ruby
[reed] has quit [Read error: Connection reset by peer]
huyderman_ has joined #ruby
ur5us has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 255 seconds]
anisha has quit [Quit: Leaving]
[reed] has joined #ruby
[reed] has quit [Changing host]
[reed] has joined #ruby
ledestin has quit [Client Quit]
anisha has joined #ruby
Azure has quit [Ping timeout: 248 seconds]
brent__ has joined #ruby
jottr has joined #ruby
Azure has joined #ruby
ledestin has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
ledestin has quit [Client Quit]
ledestin has joined #ruby
Silthias has quit [Ping timeout: 255 seconds]
phinxy has quit [Quit: Leaving]
Silthias has joined #ruby
zenspider has quit [Ping timeout: 240 seconds]
zenspider has joined #ruby
phaul has quit [Ping timeout: 252 seconds]
bruno- has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mostlybadfly has quit [Quit: Connection closed for inactivity]
hinbody has quit [Read error: Connection reset by peer]
hinbody has joined #ruby
jameser_ has joined #ruby
apparition has joined #ruby
jameser has quit [Ping timeout: 240 seconds]
duckpuppy has joined #ruby
acarpe has quit [Quit: acarpe]
acarpe has joined #ruby
dionysus69 has quit [Quit: dionysus69]
acarpe has quit [Client Quit]
dionysus69 has joined #ruby
mim1k has joined #ruby
banisterfiend has joined #ruby
drcode has joined #ruby
drcode has quit [Remote host closed the connection]
cdg has joined #ruby
michaelzinn1 has joined #ruby
drcode has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
Yxhuvud has quit [Remote host closed the connection]
Yxhuvud has joined #ruby
bronson has joined #ruby
charliesome has joined #ruby
mim1k has quit [Ping timeout: 255 seconds]
nobitanobi has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 240 seconds]
dextrey has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
mtkd has quit [Ping timeout: 240 seconds]
rawste has joined #ruby
claudiuinberlin has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
paranoicsan is now known as paranoicsan[Away
mim1k has joined #ruby
mtkd has joined #ruby
banisterfiend has joined #ruby
bmurt has joined #ruby
jottr has quit [Quit: WeeChat 1.9]
Mortomes|Work has quit [Ping timeout: 260 seconds]
bmurt has quit [Ping timeout: 240 seconds]
FahmeF has joined #ruby
op84 has joined #ruby
sylario has joined #ruby
<op84> hey there - how i can sort a an array based on hash value percent? [{:name=>”Fashion”, :percent=>25.0},{:name=>"Accessoires", :percent=>75.0}] any hint?
tvw has quit [Remote host closed the connection]
<matthewd> op84: sort_by
tvw has joined #ruby
<op84> matthewd: thanks
ldnunes has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
paranoicsan[Away is now known as paranoicsan
arup_r has joined #ruby
konos5 has joined #ruby
ledestin has joined #ruby
minimalism has quit [Quit: minimalism]
ShalokShalom_ has joined #ruby
<arup_r> I want to change the string "Cannot delete record because of dependent inspection_components" to "Cannot delete record because of dependent Inspection components". I tried s.sub(/Cannot delete record because of dependent (\w+)/, '\1'.humanize) but it is returning 'inspection_components'. What am I missing?
selim_ has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
selim has quit [Ping timeout: 246 seconds]
synthroid has joined #ruby
ShalokShalom has quit [Ping timeout: 240 seconds]
claudiuinberlin has joined #ruby
claudiuinberlin has quit [Client Quit]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
acarpe has joined #ruby
acalycine has joined #ruby
_aeris_ has quit [Read error: Connection reset by peer]
uZiel has quit [Write error: Connection reset by peer]
mson has joined #ruby
<matthewd> arup_r: You need a block
<arup_r> tried block.. but block argument is the whole string
<arup_r> don't know what am I missing
<matthewd> Well that just means you did the block wrong; it doesn't change my response for the above.
<teatime> arup_r: inside the block you can use $1 instead of \1
<teatime> arup_r: you're also going to need to capture the first part of the sentence so you can put it back in.
nobitanobi has joined #ruby
<arup_r> teatime: and matthewd thanks .. worked s.sub(/(Cannot delete record because of dependent) (\w+)/) { |m| p "#{$1} #{$2.humanize}" }
op84 has quit [Quit: op84]
acalycine has quit [Quit: bye]
bronson has joined #ruby
acalycine has joined #ruby
arup_r has quit []
bronson has quit [Ping timeout: 246 seconds]
Bish_ has joined #ruby
ta_ has joined #ruby
Bish has quit [Ping timeout: 240 seconds]
Bish_ is now known as Bish
dionysus69 has joined #ruby
fusta has joined #ruby
gnufied has joined #ruby
_aeris_ has joined #ruby
daed has quit [Remote host closed the connection]
FahmeF has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
ornerymoose has joined #ruby
FahmeF_ has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
ornerymoose_ has joined #ruby
maryo_ has joined #ruby
Mon_Ouie has joined #ruby
ornerymoose has quit [Ping timeout: 240 seconds]
ornerymoose_ is now known as ornerymoose
michaelzinn2 has joined #ruby
michaelzinn1 has quit [Ping timeout: 252 seconds]
jdawgaz has joined #ruby
rawste has quit [Quit: (ー。ー) zzz...]
charliesome has joined #ruby
claudiuinberlin has joined #ruby
ta_ has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Ping timeout: 240 seconds]
AgentVenom has joined #ruby
acalycine has quit [Quit: bye]
ShalokShalom_ is now known as ShalokShalom
vondruch has quit [Ping timeout: 248 seconds]
ta_ has joined #ruby
kahra has joined #ruby
soyokaze has joined #ruby
balazs_ has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
apparition has quit [Quit: Bye]
phaul has joined #ruby
cdg has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
acarpe has quit [Read error: Connection reset by peer]
hfp_work has quit [Ping timeout: 252 seconds]
roadt has quit [Ping timeout: 264 seconds]
aupadhye has quit [Ping timeout: 246 seconds]
cagmz has joined #ruby
banko has quit [Quit: Connection closed for inactivity]
acarpe has joined #ruby
hfp_work has joined #ruby
Skull0inc has joined #ruby
workmad3 has joined #ruby
hfp_work has quit [Ping timeout: 248 seconds]
hfp_work has joined #ruby
nofxx has quit [Ping timeout: 240 seconds]
hfp__work has joined #ruby
rabajaj has quit [Quit: Leaving]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michaelzinn2 has quit [Quit: nyeh]
hfp_work- has joined #ruby
hfp_work has quit [Ping timeout: 255 seconds]
chouhoulis has joined #ruby
hfp__work has quit [Ping timeout: 260 seconds]
hfp_work has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
hfp_work- has quit [Ping timeout: 255 seconds]
t-recx has joined #ruby
nofxx has joined #ruby
biberu has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jphase has joined #ruby
nofxx has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
nofxx has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
LastWhisper____ has joined #ruby
dextrey has quit [Ping timeout: 240 seconds]
Mighty_Warthog has joined #ruby
Mighty_Warthog has quit [Client Quit]
jameser_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bruno- has quit [Ping timeout: 240 seconds]
ana_ has quit [Ping timeout: 246 seconds]
claudiuinberlin has joined #ruby
claudiuinberlin has quit [Client Quit]
soyokaze has quit [Quit: Leaving]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
Rapture has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
jphase_ has joined #ruby
jphase has quit [Ping timeout: 246 seconds]
jphase_ is now known as jphase
huyderman has quit [Remote host closed the connection]
bronson has joined #ruby
claudiuinberlin has joined #ruby
alex`` has quit [Quit: WeeChat 1.9]
Skull0inc has quit [Quit: leaving]
cagomez has joined #ruby
mbologna1 has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
ldnunes has quit [Ping timeout: 252 seconds]
cagomez has quit [Ping timeout: 264 seconds]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LastWhisper____ has joined #ruby
__Yiota has joined #ruby
kahra has quit [Quit: WeeChat 1.9]
marr has joined #ruby
paranoicsan has quit [Quit: paranoicsan]
mostlybadfly has joined #ruby
ldnunes has joined #ruby
biberu has quit []
cschneid has joined #ruby
montyboy has quit [Ping timeout: 240 seconds]
jobewan has joined #ruby
milardovich has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
milardovich has joined #ruby
mbologna1 has quit [Quit: WeeChat 1.8]
cschneid has quit [Read error: Connection reset by peer]
cschneid has joined #ruby
gizmore|2 has quit [Read error: Connection reset by peer]
ujhee has joined #ruby
oleo has quit [Quit: Leaving]
cdg has joined #ruby
gusrub has joined #ruby
jaruga has quit [Quit: jaruga]
d10n-work has joined #ruby
wald0 has quit [Quit: Lost terminal]
fury has joined #ruby
<fury> i am attempting to build a docker image for my ruby app based on 2.4.2-alpine, about how long is it supposed to take to run apk add --update build-base libxml2-dev libxslt-dev postgresql-dev libsqlite3-dev O_o cause it's just sitting there looking at me funny right now...been running for about 6 minutes
bruno- has joined #ruby
polishdub has joined #ruby
SeepingN has joined #ruby
konos5 has quit [Ping timeout: 240 seconds]
r7c has quit [Quit: Leaving]
mark_66 has quit [Remote host closed the connection]
<fury> oh. unsatisfiable constraints, libsqlite3-dev missing... whoops. dunno why it took like 10 minutes to tell me that tho
gizmore has joined #ruby
BigRonnieRon has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
milardovich has quit [Remote host closed the connection]
cagomez has joined #ruby
oleo has joined #ruby
belmoussaoui has joined #ruby
synthroid has quit [Remote host closed the connection]
elsevero has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
belmoussaoui has quit [Client Quit]
belmoussaoui has joined #ruby
s2013 has joined #ruby
mim1k has joined #ruby
jackjackdripper has joined #ruby
__Yiota has joined #ruby
rippa has joined #ruby
raynold has joined #ruby
marr has quit [Ping timeout: 264 seconds]
elsevero has quit [Ping timeout: 260 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
InfinityFye has quit [Quit: Leaving]
aufi has quit [Quit: Leaving]
ujhee has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
jameser has quit [Ping timeout: 255 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
nb_bez_______ has joined #ruby
milardovich has joined #ruby
synthroid has joined #ruby
__Yiota has joined #ruby
jameser has quit [Ping timeout: 248 seconds]
milardovich has quit [Ping timeout: 252 seconds]
banisterfiend has joined #ruby
skweek has quit [Ping timeout: 248 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
beilabs has joined #ruby
[Butch] has joined #ruby
tvw has quit [Remote host closed the connection]
joker5bb has joined #ruby
Serpent7776 has quit [Quit: Leaving]
FahmeF has joined #ruby
FahmeF_ has quit [Ping timeout: 248 seconds]
ledestin has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
johnny56_ is now known as johnny56
ledestin has quit [Ping timeout: 240 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joker5bb has quit [Ping timeout: 248 seconds]
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
Beams has quit [Quit: .]
claudiuinberlin has joined #ruby
claudiuinberlin has quit [Client Quit]
dinfuehr has joined #ruby
jphase has quit [Remote host closed the connection]
joker5bb has joined #ruby
jphase has joined #ruby
kn-928 has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
quobo has joined #ruby
kn-928 has quit [Ping timeout: 248 seconds]
chmurifree is now known as chmuri
kn-928 has joined #ruby
nofxx has quit [Read error: Connection reset by peer]
nofxx has joined #ruby
noobineer has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
serhart has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
jphase_ has joined #ruby
jphase has quit [Ping timeout: 252 seconds]
ertes-w has left #ruby ["ERC (IRC client for Emacs 25.2.1)"]
cadillac_ has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
skweek has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
dionysus69 has joined #ruby
kn-928 has quit [Ping timeout: 246 seconds]
acarpe has quit [Quit: acarpe]
acarpe has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
uZiel has joined #ruby
bruno-_ has joined #ruby
acarpe has quit [Client Quit]
mostlybadfly has quit [Quit: Connection closed for inactivity]
bruno- has quit [Ping timeout: 240 seconds]
hippo has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
hippo is now known as Guest69208
Guest69208 has quit [Client Quit]
montyboy has joined #ruby
kies has joined #ruby
barbacua has joined #ruby
knight33 has joined #ruby
nobitanobi has quit [Remote host closed the connection]
cfjk has quit [Ping timeout: 240 seconds]
jphase_ is now known as jphase
mim1k has quit [Ping timeout: 255 seconds]
Dimik has joined #ruby
FahmeF_ has joined #ruby
FahmeF has quit [Ping timeout: 248 seconds]
Ltem has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
lagweezle_away is now known as lagweezle
dextrey has joined #ruby
BigRonnieRon has quit [Quit: Textual IRC Client: www.textualapp.com]
skweek has quit [Ping timeout: 264 seconds]
imode has joined #ruby
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ornerymoose has quit [Quit: ornerymoose]
chouhoulis has quit [Remote host closed the connection]
ornerymoose has joined #ruby
kirun has joined #ruby
mkali has quit [Quit: mkali]
banisterfiend has joined #ruby
ornerymoose has quit [Quit: ornerymoose]
knight33 has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
raynold has quit [Quit: Connection closed for inactivity]
npgm has joined #ruby
Rapture has joined #ruby
kies has quit [Ping timeout: 260 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
uZiel has quit [Ping timeout: 248 seconds]
mim1k has joined #ruby
uZiel has joined #ruby
orbyt_ has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
TomyLobo has joined #ruby
Joufflu has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Puffball has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Puffball has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ornerymoose has joined #ruby
ivanskie has joined #ruby
ResidentBiscuit has quit [Ping timeout: 240 seconds]
ornerymoose has quit [Ping timeout: 248 seconds]
ornerymoose has joined #ruby
Cohedrin_ has joined #ruby
cdg has quit [Remote host closed the connection]
fusta has quit [Ping timeout: 240 seconds]
Algebr` has joined #ruby
<Algebr`> matthewd: sorry, i got disconnected yesterday in case you had more to say
chouhoulis has joined #ruby
ivanskie has quit [Ping timeout: 260 seconds]
jackjackdripper has quit [Quit: Leaving.]
s2013 has joined #ruby
bronson has joined #ruby
jameser has joined #ruby
ResidentBiscuit has joined #ruby
dysfigured has quit [Ping timeout: 248 seconds]
skweek has joined #ruby
dviola has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
jameser has quit [Ping timeout: 248 seconds]
troys has joined #ruby
mkali has joined #ruby
<Algebr`> .gemspec files are for publishing to gem?
<Algebr`> is bundle or bundler the preferred one today?
beilabs has quit [Ping timeout: 240 seconds]
ahrs has quit [Remote host closed the connection]
kies has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
ahrs has joined #ruby
orbyt_ has joined #ruby
<havenwood> Algebr`: Yes, gemspec files are for gems. You *can* have a Gemfile in a gem for devs with the line in it: gemspec
kn-928 has joined #ruby
<havenwood> Algebr`: If you decide to use a Gemfile with your gem, don't commit the Gemfile.lock.
<havenwood> But you'll still need your .gemspec file.
mkali has quit [Quit: mkali]
<Algebr`> how do I locally build following the .gemspec?
<havenwood> Algebr`: gem build
<havenwood> Algebr`: see that link ^
kn-928 has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
cdg has joined #ruby
Pisuke has quit [Ping timeout: 240 seconds]
Sembei has joined #ruby
cagomez has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 246 seconds]
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
kirun has quit [Read error: Connection reset by peer]
duckpuppy has quit [Ping timeout: 260 seconds]
mson has quit [Quit: Connection closed for inactivity]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nobitanobi has joined #ruby
balazs_ has quit [Ping timeout: 260 seconds]
marr has joined #ruby
claudiuinberlin has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nobitanobi has quit [Ping timeout: 260 seconds]
dysfigured has joined #ruby
troys is now known as troys_
bronson has joined #ruby
mikecmpbll has joined #ruby
rgr has joined #ruby
synthroid has quit [Remote host closed the connection]
d10n-work has quit [Quit: Connection closed for inactivity]
__Yiota has joined #ruby
troys_ is now known as troys
jackjackdripper has joined #ruby
milardovich has joined #ruby
synthroid has joined #ruby
bronson has quit [Remote host closed the connection]
jackjackdripper has quit [Client Quit]
jackjackdripper has joined #ruby
acarpe has joined #ruby
acarpe has quit [Client Quit]
milardovich has quit [Client Quit]
ams__ has quit [Quit: Connection closed for inactivity]
lagweezle is now known as lagweezle_away
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
jinie has quit [Ping timeout: 240 seconds]
imode has quit [Ping timeout: 246 seconds]
jinie has joined #ruby
charliesome has joined #ruby
phinxy has joined #ruby
phinxy has quit [Changing host]
phinxy has joined #ruby
mjolnird has quit [Remote host closed the connection]
dysfigured has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
mjolnird has joined #ruby
JD2020X has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
duckpuppy has joined #ruby
elcontrastador has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elsevero has joined #ruby
mjolnird has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
charliesome has joined #ruby
L0rdShrek_____ has joined #ruby
mjolnird has joined #ruby
Mon_Ouie has joined #ruby
milardovich has quit [Remote host closed the connection]
s3nd1v0g1us has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RickHull has joined #ruby
SeepingN has quit [Ping timeout: 252 seconds]
<RickHull> Hi, I'm having trouble finding the rdoc for Dir::Tmpname looking at Core and Stdlib. e.g. https://ruby-doc.org/core-2.4.1/
<RickHull> likewise, I know there is Dir stuff in Stdlib, but I don't see any way to get to it here: https://ruby-doc.org/stdlib-2.4.1/
charliesome has joined #ruby
<RickHull> are these just undocumented or omitted on purpose or some kind of oversight?
cagomez has joined #ruby
cdg has joined #ruby
charliesome has quit [Client Quit]
<havenwood> RickHull: appears undocumented
<havenwood> module Tmpname # :nodoc:
cagomez has quit [Ping timeout: 240 seconds]
<RickHull> is that the desired state of affairs?
charliesome has joined #ruby
nb_bez_______ has quit [Quit: Connection closed for inactivity]
<RickHull> typically, does this just signify that we haven't gotten around to it yet?
jdawgaz has joined #ruby
jobewan has quit [Quit: jobewan]
<havenwood> Meant to link: http://documenting-ruby.org/
<elomatreb> I'd guess in this case it's more a matter of this being an internal thing
<havenwood> RickHull: "Only about 75% of Ruby is adequately documented"
<RickHull> thanks for the info, I may be able to contribute
<RickHull> my "real" problem is to create a filename that is (very) unlikely to previously exist :)
<havenwood> RickHull: SecureRandom.uuid
mc_fail has joined #ruby
<havenwood> If you want random but not a tempfile ^
<mc_fail> hi guys
<havenwood> hi mc_fail
phaul has joined #ruby
<RickHull> just a name. I'm guessing whatever Dir::Tmpname does is reasonable
<mc_fail> io have the old good "common.rb:155:in `parse': 757: unexpected token at {"
mostlybadfly has joined #ruby
<mc_fail> what the hell?
<mc_fail> my json is correct
<mc_fail> jsonlint validates it
<RickHull> mc_fail: put together some pastes on e.g. gist.github.com
<RickHull> to demonstrate the problem
quobo has quit [Quit: Connection closed for inactivity]
<RickHull> mc_fail: what package owns common.rb? or what package is common.rb using?
milardovich has joined #ruby
<RickHull> could this be a parser that is rejecting more than one object per file? not sure if that's a JSON thing
MyMind has joined #ruby
Sembei has quit [Ping timeout: 264 seconds]
lele has quit [Ping timeout: 240 seconds]
cdg_ has joined #ruby
<mc_fail> oh wait
<mc_fail> is it supposed to be one liner
<elomatreb> You can't parse JSON line-by-line like that, if I'm reading your code correctly
cagomez has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
<RickHull> yep, slurp the file into a string and parse the entire string
lele has joined #ruby
<RickHull> or there is probably some parse_file() or similar
cdg has quit [Ping timeout: 246 seconds]
LastWhisper____ has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz_ has joined #ruby
Ltem has quit [Quit: Leaving]
<RickHull> there are surely stream parsers that can avoid slurping if that's a concern
jenrzzz has quit [Ping timeout: 255 seconds]
<RickHull> Dir::Tmpname makes use of `module_function` which is new to me. Reading this https://idiosyncratic-ruby.com/8-self-improvement.html
<RickHull> > Not having to prepend the module name every time you use the functions saves time and looks good: # BARF
cadillac_ has quit [Read error: Connection reset by peer]
eminencehc has joined #ruby
kn-928 has joined #ruby
<RickHull> gee, I saved so much time by not having to type out Math.pi. and now my readers can try to figure out where it comes from. thankfully i saved all that time
<elomatreb> It's more a shorthand for not having to do self.something or ModuleName.something when defining new Module methods, IME
lxsameer has quit [Ping timeout: 246 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull> i actually much prefer self.foo when calling instance methods rather than naked foo
<RickHull> again, as a reader, I am looking for any clues as to what foo resolves to
<elomatreb> It's often used like `extend self`, but is arguably a little clearer in meaning
cadillac_ has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
<RickHull> I've never had a problem with keeping class methods as class methods, and transmuting them to the instance layer smells really bad to me
<RickHull> there is structure and semantics, IMHO, to class layer vs instance layer. and violating that for the sake of aesthetics is a mistake
<RickHull> class layer methods should be more or less functional, where there is no internal state. instance layer methods that do not refer to internal state should be rewritten as class methods
milardovich has quit [Remote host closed the connection]
<elomatreb> It's just that class methods are the easy shortcut to singleton-like objects in Ruby, i.e. Logger.info
<RickHull> ah, good point
milardovich has joined #ruby
<RickHull> I think that is a valid use case but it still kind of smells
SeepingN has joined #ruby
<elomatreb> It's still true about the state part for many applications, a logger still shouldn't need or keep state
jphase_ has joined #ruby
<RickHull> well, maybe the current log level
<RickHull> i.e. if level is FATAL then Logger.info should be a NOOP
milardovich has quit [Ping timeout: 240 seconds]
<elomatreb> True, and other minor things like e.g. a File descriptor, but you get what I mean
<RickHull> interesting you bring that up: https://github.com/rickhull/lager ;)
<elomatreb> :)
jphase has quit [Ping timeout: 240 seconds]
<elomatreb> TBH, except for the Rails builtin logger, I don't remember ever actually feeling like I wanted to use one, I just abuse Kernel#warn for everything
<RickHull> it's super handy to turn on a debug or trace logging
<RickHull> and you don't want that on all the time
ur5us has joined #ruby
quobo has joined #ruby
<elomatreb> I guess I don't work with complicated enough scripts often enough to feel like I need to leave debugging prints in place, I add them when I need them and remove them again
duckpuppy has quit [Ping timeout: 240 seconds]
r3QuiEm_cL has joined #ruby
chouhoul_ has joined #ruby
<RickHull> yeah, my context is more libraries than scripts
<RickHull> at some point, a library doing something sufficiently complicated needs debug / trace logging
enterprisey has joined #ruby
chouhou__ has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
synthroid has quit []
__Yiota has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
lxsameer has joined #ruby
milardovich has joined #ruby
chouhoul_ has quit [Ping timeout: 252 seconds]
<RickHull> elomatreb: as far as you know, is the `module_function` in Dir::Tmpname just to avoid typing `def self.fn_name` ?
<RickHull> i.e. typing `def fn_name` instead
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
perniciouscaffei has quit [Ping timeout: 252 seconds]
dextrey has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Ping timeout: 252 seconds]
<elomatreb> RickHull: As far as I see, yes
<RickHull> well, and I guess internal calls can avoid specifying the method is really at the class layer
<RickHull> er, hm, that last part should work without `module_function`
<RickHull> i.e. when Tmpname.create calls Tmpname.make_tmpname
t-recx has quit [Quit: t-recx]
<RickHull> I might write a PR before I write the docs ;)
ornerymoose has quit [Ping timeout: 240 seconds]
lxsameer has quit [Quit: WeeChat 1.7]
<havenwood> RickHull: It's so you get the module method like you said, but also so if you mix-it-in it'll be private.
<havenwood> RickHull: It's saying this is a function, and it might be used directly from this namespace or mixed into another - but in the latter case it'll be private for internal use, without a public interface.
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> Either way, the receiver isn't important to its function, it's a function.
<havenwood> A module function.
nobitanobi has joined #ruby
<RickHull> I don't quite understand the desire to mix in a function that doesn't refer to internal state
<RickHull> why wouldn't I just call Dir::Tmpname.create when I need to create stuff?
<RickHull> and if Tmpname.create *does* refer to internal state -- i.e. ivars -- then it doesn't belong at the class layer
<havenwood> RickHull: It's a namespace to put some functions. You could insist the namespace always be used to access those function, but here they allow mixins as an alternative.
<RickHull> it seems destructive to me
<havenwood> RickHull: Normally when you mixin a module with include, its methods become public instance methods. With module_function they become private instance methods.
<havenwood> It lets you mixin some functions without defining public methods for them.
<havenwood> That's nice to do.
nobitanobi has quit [Ping timeout: 248 seconds]
<RickHull> the cost of mixing in a "stateless" function outweighs the benefit, particularly to readers IMHO
<havenwood> It's a common pattern in the Ruby stdlib.
<RickHull> when I see a naked `create`, how do I track down which module it comes from and where the definition lies?
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull> I have to load the whole method resolution mechanism in my head, along with any author-provided fuckery
<havenwood> RickHull: method(:create).owner
<havenwood> RickHull: method(:create).source_location
<havenwood> You ask it!
<havenwood> >> method(:puts).owner
<ruby[bot]> havenwood: # => Kernel (https://eval.in/866054)
<RickHull> not if I'm reading code on github or paper
<RickHull> but, fair enough :)
orbyt_ has joined #ruby
<RickHull> it seems much nicer to just reference the method explicitly rather than hiding its origins from the reader
<RickHull> i truly don't understand the benefit
jenrzzz_ has quit [Ping timeout: 240 seconds]
kentin has joined #ruby
kentin has quit [Client Quit]
rfoust has joined #ruby
__Yiota has joined #ruby
<RickHull> also, in what context would method(:create) actually work, say in irb? I'd have to reopen Dir::Tmpdir and define a method to call method(:create) and then close the module and call my method from outside?
mson has joined #ruby
<RickHull> er, sorry, reopen whatever class had Dir::Tmpdir mixed in
<RickHull> or I guess something like method(:the_class, :create)
<RickHull> or just use pry ;)
bronson has joined #ruby
TomyLobo has quit [Ping timeout: 252 seconds]
<RickHull> TheClass.method(:create) # duh
ldnunes has quit [Quit: Leaving]
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vb333 has joined #ruby
barbacua has quit [Quit: Leaving]
Cohedrin_ has joined #ruby
belmoussaoui_ has joined #ruby
dysfigured has joined #ruby
<RickHull> more new-to-me stuff: https://github.com/ruby/ruby/blob/trunk/lib/tmpdir.rb#L109 can someone explain the purpose of this form? (parenthesized method args)
lagweezle_away is now known as lagweezle
chouhou__ has quit [Remote host closed the connection]
<RickHull> best guess: it's a way to have suffix default to nil, while following args do not have a default
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
<RickHull> >> Dir::Tmpname.make_tmpname(["one", "two"], 3)
<ruby[bot]> RickHull: # => uninitialized constant Dir::Tmpname (NameError) ...check link for more (https://eval.in/866061)
noizex has joined #ruby
<RickHull> aside from the eval error, this shit is pretty goofy IMHO
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
vb333 has quit [Remote host closed the connection]
<RickHull> why not: `def make_tmpname(prefix, suffix = nil, n = nil)` as both of these default cases are expected inputs. or just use an options hash
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elomatreb> A lot of Ruby stdlib code is older than keyword args
<RickHull> and I guess before options hashes were popular
<RickHull> I'm not sure I'm up to speed on actual keyword args. do they go beyond sugar around a hash with symbol keys?
<RickHull> ah yes, looks like it
<elomatreb> Yes, they're pretty nice, you can even have them emulate the old-style options Hash (which is also still possible) with **args
_whitelogger has joined #ruby
quobo has quit [Ping timeout: 252 seconds]
peteretep has quit [Ping timeout: 252 seconds]
Olipro has quit [Ping timeout: 252 seconds]
daxroc has quit [Ping timeout: 252 seconds]
koenrh has quit [Ping timeout: 252 seconds]
jrgifford has quit [Ping timeout: 252 seconds]
Klumben has quit [Ping timeout: 252 seconds]
Tony-St4rk has quit [Ping timeout: 252 seconds]
elomatreb has quit [Ping timeout: 252 seconds]
Brak____________ has quit [Ping timeout: 252 seconds]
npgm has joined #ruby
claw has joined #ruby
graingert has joined #ruby
tobiasvl has quit [Ping timeout: 252 seconds]
elcontrastador has quit [Ping timeout: 240 seconds]
gbailey has quit [Ping timeout: 240 seconds]
IceDragon has quit [Ping timeout: 240 seconds]
contradictioned has joined #ruby
doesntbyte has joined #ruby
rjungemann has joined #ruby
valkyr2e has quit [Ping timeout: 260 seconds]
bmn has quit [Ping timeout: 260 seconds]
cyberRodent has quit [Ping timeout: 260 seconds]
d^sh has quit [Ping timeout: 240 seconds]
bokayio has quit [Ping timeout: 240 seconds]
andersh has joined #ruby
Ikri has joined #ruby
cadillac_ has joined #ruby
G has joined #ruby
<RickHull> dumb question, asked sincerely: what is a very good way to find all calls to Dir::Tmpname.make_tmpname? git clone ruby and git grep? something with CTAGS?
troys is now known as troys_
adaedra has quit [Ping timeout: 240 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tvl has joined #ruby
<RickHull> all calls within ruby core, that is
Xeago has quit [Ping timeout: 240 seconds]
tvl is now known as tobiasvl
d^sh has joined #ruby
IceDragon has joined #ruby
L0rdShrek_____ has joined #ruby
bokayio has joined #ruby
quobo has joined #ruby
IceDragon is now known as Guest15786
peteretep has joined #ruby
cyberRodent has joined #ruby
Tony-St4rk has joined #ruby
nyuszika7h has joined #ruby
Xeago has joined #ruby
valkyr2e has joined #ruby
Technaton has joined #ruby
jrgifford has joined #ruby
davic has joined #ruby
gbailey has joined #ruby
elomatreb has joined #ruby
bmn has joined #ruby
Bilge has joined #ruby
lele has joined #ruby
jhass has joined #ruby
adaedra has joined #ruby
FahmeF_ has quit [Remote host closed the connection]
synstack has joined #ruby
synstack has quit [Changing host]
synstack has joined #ruby
S007 has joined #ruby
Zarthus has joined #ruby
SegFaultAX has joined #ruby
jdawgaz has joined #ruby
cschneid_ has joined #ruby
Olipro has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
mim1k has joined #ruby
elsevero has quit [Quit: elsevero]
justizin has joined #ruby
Klumben has joined #ruby
zapata has joined #ruby
ForeignBiscuit has joined #ruby
ForeignBiscuit has quit [Max SendQ exceeded]
jokke has joined #ruby
orbyt_ has joined #ruby
jphase_ is now known as jphase
ForeignBiscuit has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
tbuehlmann has joined #ruby
JR042444__ has joined #ruby
zachk has joined #ruby
ResidentBiscuit has quit [Ping timeout: 240 seconds]
gil__ has quit [Ping timeout: 255 seconds]
wogi has joined #ruby
gil_ has joined #ruby
gil_ has quit [Changing host]
gil_ has joined #ruby
ForeignBiscuit has quit [Ping timeout: 252 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
JR042444__ has quit [Ping timeout: 248 seconds]
iszak has quit [Ping timeout: 240 seconds]
iszak has joined #ruby
iszak has quit [Changing host]
iszak has joined #ruby
brent__ has quit [Remote host closed the connection]
imode has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brent__ has joined #ruby
<RickHull> is there no good way to find all callers? I didn't mean for this to be a point against unnecessary-and-trivial mixins, but I suppose it is
<RickHull> FWIW I don't see anyone actually mixing in Dir::Tmpname, which seems plenty sensible to me, so I would want to rip out any code that tries to make it friendly to would-be mix-in-ers
jdawgaz has joined #ruby
<RickHull> YAGNI and you probably don't want it anyway ;)
brent__ has quit [Ping timeout: 240 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
L0rdShrek_____ has quit [Quit: Connection closed for inactivity]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Joufflu has quit [Quit: Leaving]
__Yiota has joined #ruby
dysfigured has quit [Ping timeout: 252 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goyox86_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
goyox86__ has joined #ruby
goyox86_ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
troys_ is now known as troys
chouhoulis has quit [Ping timeout: 240 seconds]
jphase has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 252 seconds]
kn-928 has quit [Ping timeout: 260 seconds]
jphase has joined #ruby
goyox86__ has quit [Ping timeout: 248 seconds]
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
jenrzzz has joined #ruby
kn-928 has joined #ruby
polishdub has quit [Quit: leaving]
jphase has quit [Ping timeout: 248 seconds]
enterprisey has quit [Ping timeout: 255 seconds]
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jphase has joined #ruby
goyox86_ has joined #ruby
jphase_ has joined #ruby
Cohedrin_ has joined #ruby
JD2020X has quit [Quit: Leaving]
jphase has quit [Ping timeout: 264 seconds]
nobitanobi has joined #ruby
jphase_ has quit [Read error: Connection reset by peer]
jphase has joined #ruby
phaul has quit [Ping timeout: 264 seconds]
jphase_ has joined #ruby
nobitanobi has quit [Ping timeout: 260 seconds]
jphase has quit [Ping timeout: 252 seconds]
jphase_ has quit [Read error: Connection reset by peer]
jphase has joined #ruby
<Algebr`> How can I change a extconf.rb file so that it DOES NOT use a library that it ordinarily would use, -lgmp in this case
govg has quit [Ping timeout: 264 seconds]
troys is now known as troys_
bruno-_ has quit [Ping timeout: 248 seconds]
imode has quit [Ping timeout: 246 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
jphase has quit [Read error: Connection reset by peer]
jphase has joined #ruby
jottr has quit [Quit: WeeChat 1.9]
mson has quit [Quit: Connection closed for inactivity]
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troys_ is now known as troys
kn-928 has quit [Quit: WeeChat 1.9]
<RickHull> Algebr`: $LDFLAGS maybe?
<RickHull> I assume this relates to https://gmplib.org/ and the recent removal of the Bignum distinction
<Algebr`> do tell, please elaborate
<Algebr`> can I just do: $LDFLAGS = '' ?
<RickHull> not sure, this is a shaky area for me
moei has quit [Quit: Leaving...]
<RickHull> for background, Ruby before 2.4 distinguished between Fixnum and Bignum (Bignums are, well, bigger). I assume Ruby was using gmplib for Bignums
<RickHull> but I'm kinda just guessing these are related and/or relevant
goyox86_ has quit [Quit: goyox86_]
<RickHull> this seems like a reasonable example for $LDFLAGS: https://github.com/Mon-Ouie/ray/blob/master/ext/extconf.rb
goyox86_ has joined #ruby
npgm has quit [Quit: Connection closed for inactivity]
<Algebr`> is << appending to a list or appending to a stirng
<SeepingN> yes
mostlybadfly has quit [Quit: Connection closed for inactivity]
<Algebr`> yes is ambigious, first or second
imode has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
<Algebr`> is `` another way to make a stirng
<bougyman> no
<bougyman> backticks shell out
<Algebr`> wow
<bougyman> %x{ls} and `ls` essentially are the same.
<Algebr`> straight part of the language? or just special in extconf.rb?
<elomatreb> Algebr`: If the left hand side is an array, << appends to the array, if it is a String it appends to a string
Olipro has quit [Ping timeout: 255 seconds]
<bougyman> part of the language
<elomatreb> Part of the language, but a lot of languages have that feature (many even use the same syntax)
<Algebr`> I have only seen this in shell before
Olipro has joined #ruby
jphase has quit [Ping timeout: 252 seconds]
<elomatreb> PHP has it too, and Perl
r3QuiEm_cL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Algebr`> ah, I have never used either.
meinside has joined #ruby
Chew has joined #ruby
tfitts has joined #ruby
koenrh has joined #ruby
x0f has quit [Ping timeout: 246 seconds]
daxroc has joined #ruby
Brak____________ has joined #ruby
<RickHull> Algebr`: what is the problem in the big picture? who wrote this extconf.rb ?
<RickHull> if you're not familiar with backticks or the append operator in ruby, messing with extconf stuff is pretty advanced
enterprisey has joined #ruby
<Algebr`> I learn quickly, not worried about that. Big picture is that I'm trying to compile https://github.com/knu/ruby-unf_ext to work with traveling-ruby using ruby 2.2.2 on windows.
<RickHull> oh fun, C extensions on windows
<Algebr`> I would not characterize as fun...
<Algebr`> heh.
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<RickHull> are you sure that removing `-lgmp` is the right approach? or just trying to get the install to proceed by any means necessary?
x0f has joined #ruby
<Algebr`> yea, not sure myself.
<Algebr`> I mean, the extconf test case compiles without -lgmp
ivanskie has quit [Ping timeout: 240 seconds]
<Algebr`> RUBY_PLATFORM of i386-mingw32 means its 32bit right
bruce_lee has quit [Read error: Connection reset by peer]
jackjackdripper has quit [Quit: Leaving.]
mim1k has joined #ruby