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
SteenJobs_ has joined #ruby
SteenJobs_ has quit [Client Quit]
<havenwood> quuxman: You're not expecting the values, you're expecting the whole hash, right?
<havenwood> If you're passing the method the whole Hash: with(EXAMPLE_DICT)
SeepingN has quit [Quit: The system is going down for reboot NOW!]
<havenwood> quuxman: Show a bit more code or further explain why you're expecting multiple arguments for each value in the Hash, like the test you pasted shows?
kn-928 has quit [Ping timeout: 246 seconds]
bruce_lee has quit [Ping timeout: 240 seconds]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
r3QuiEm_cL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
safe has joined #ruby
imode has quit [Ping timeout: 264 seconds]
ascarter has joined #ruby
A124 has quit [Quit: '']
A124 has joined #ruby
twillkens has joined #ruby
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
wald0 has quit [Quit: Lost terminal]
quobo has quit [Quit: Connection closed for inactivity]
Alina-malina has quit [Ping timeout: 240 seconds]
brent__ has quit [Ping timeout: 240 seconds]
Alina-malina has joined #ruby
mkroman has joined #ruby
ashZ_ is now known as ashZ
twillkens has quit [Ping timeout: 252 seconds]
coderphive has joined #ruby
<mkroman> can anyone recommend a still maintained RPC library for Ruby?
twillkens has joined #ruby
kn-928 has joined #ruby
marr has quit [Ping timeout: 246 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kn-928 has quit [Ping timeout: 248 seconds]
ascarter has joined #ruby
kn-928 has joined #ruby
kculpis has joined #ruby
<mkroman> havenwood: that's the format google uses to describe its APIs, right?
<havenwood> mkroman: yeah, it's Google
twillkens has quit [Ping timeout: 240 seconds]
<mkroman> it's not exactly lightweight, but I'll check it out. Thanks.
nobitanobi has joined #ruby
<havenwood> mkroman: Whatcha making?
bronson has joined #ruby
twillkens has joined #ruby
<mkroman> I'm running a server that manages data across JBODs from an application, right now I'm using redis to do most of the work, but it's not easy to verify that it's doing what it's supposed to
<mkroman> another solution would be a HTTP API, but I think I'll try with RPC instead
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 240 seconds]
__Yiota has quit [Ping timeout: 246 seconds]
<havenwood> mkroman: I do love Roda for HTTP APIs.
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
<havenwood> mkroman: There's a very nice HTTP-2 gem ftiw: https://github.com/igrigorik/http-2#readme
coderphive has quit [Quit: coderphive]
__Yiota has joined #ruby
plujon has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
<mkroman> Roda looks easy, might try that for another project
<mkroman> on the HTTP2 note, does the Rack model work well for HTTP2?
Slinky_Pete has joined #ruby
<havenwood> nope
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
<havenwood> mkroman: you can always proxy H2 in front of Rack for multiplexing and push, but Rack is oriented around request/response
astrobunny has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
<mkroman> yeah, that's what I figured
<mkroman> was wondering what Sinatra and Rails might do to fix that
<havenwood> nothing anytime soon
<havenwood> HTTP2 from CDN proxy for multiplexing is already very nice.
mostlybadfly has quit [Quit: Connection closed for inactivity]
silverdust has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<silverdust> Is there a way to run ruby inline like `ruby -i "puts 'hello'"` ?
<havenwood> silverdust: ruby -e
<silverdust> Great! Thanks
ascarter has joined #ruby
<havenwood> silverdust: In case you're not aware, Ruby also ships with a REPL called irb and there's a popular gem alternative called pry.
<havenwood> ?pry
<ruby[bot]> Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
<havenwood> The irb command ships with Ruby so just: irb
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wbnns has left #ruby [#ruby]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
carnegie has quit [Quit: Leaving...]
griffindy has joined #ruby
ascarter has joined #ruby
juggler has joined #ruby
<silverdust> Oh I'm aware of all that havenwood . Thanks
pilne has joined #ruby
<silverdust> I just needed the inline version
jenrzzz has quit [Ping timeout: 248 seconds]
gizmore|2 has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
marcux has joined #ruby
jokester has quit [Quit: kernel dump]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Silthias1 has joined #ruby
ascarter has joined #ruby
nofxxx has joined #ruby
Silthias has quit [Ping timeout: 255 seconds]
brent__ has joined #ruby
jokester has joined #ruby
brent__ has quit [Ping timeout: 248 seconds]
swankier has joined #ruby
maum has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschnei__ has joined #ruby
Blackpajamas has joined #ruby
<swankier> Hi! I’m writing some ruby code for metasploit. In the module I have a loop that tries to be resistent to timeouts. The end result, though, is that the next iteration of the loop exits prematurely. https://pastebin.com/UiNm9XMn
<ruby[bot]> swankier: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/54503056a7238b97e9b4ec5728fec476
<ruby[bot]> swankier: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<swankier> any advice?
ascarter has joined #ruby
ozcanesen has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
shakes has joined #ruby
Bhootrk_ has quit [Quit: Leaving]
elbuki has joined #ruby
d^sh has quit [Ping timeout: 248 seconds]
d^sh has joined #ruby
cschnei__ has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
troys is now known as troys_
juggler has quit [Ping timeout: 240 seconds]
sylario has quit [Quit: Connection closed for inactivity]
swankier has quit [Quit: swankier]
elbuki_ has joined #ruby
swankier has joined #ruby
swankier has quit [Client Quit]
elbuki_ has left #ruby [#ruby]
mim1k has quit [Ping timeout: 248 seconds]
elbuki_ has joined #ruby
elbuki_ is now known as catbrownie
jackjackdripper has joined #ruby
<catbrownie> how would you test a web scraper?
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brent__ has joined #ruby
elbuki has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ascarter has joined #ruby
marcux has quit [Quit: leaving]
Slinky_Pete has quit [Remote host closed the connection]
marcux has joined #ruby
Slinky_Pete has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
guardianx has joined #ruby
jinie has quit [Ping timeout: 252 seconds]
jinie has joined #ruby
michael4 has joined #ruby
kculpis has quit [Read error: Connection reset by peer]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
michael2 has quit [Ping timeout: 240 seconds]
enterprisey has quit [Remote host closed the connection]
jameser has joined #ruby
t-recx has quit [Quit: t-recx]
agent_white has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shakes has quit [Ping timeout: 248 seconds]
ascarter has joined #ruby
arescorpio has joined #ruby
herbmillerjr has quit [Remote host closed the connection]
npgm has quit [Quit: Connection closed for inactivity]
enterprisey has joined #ruby
Bhootrk_ has joined #ruby
Bhootrk_ has quit [Max SendQ exceeded]
uneeb has joined #ruby
r3QuiEm_cL has joined #ruby
Slinky_Pete has quit [Remote host closed the connection]
Slinky_Pete has joined #ruby
Slinky_Pete has quit [Remote host closed the connection]
Slinky_Pete has joined #ruby
uneeb has quit [Ping timeout: 240 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r3QuiEm_cL has quit [Client Quit]
orbyt_ has joined #ruby
catbrownie has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
catbrownie has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
TheMoonMaster has joined #ruby
brent__ has joined #ruby
brent__ has quit [Remote host closed the connection]
catbrownie has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Quit: Leaving.]
r3QuiEm_cL has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marcux has quit [Ping timeout: 248 seconds]
ascarter has joined #ruby
Puffball_ has quit [Remote host closed the connection]
Puffball has joined #ruby
catbrownie has joined #ruby
zacts has quit [Quit: WeeChat 1.4]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
catbrownie has quit [Ping timeout: 248 seconds]
ascarter has joined #ruby
dviola has quit [Read error: Connection reset by peer]
zacts has joined #ruby
dviola has joined #ruby
bronson has joined #ruby
dviola has quit [Quit: WeeChat 1.9]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harai_ has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
govg has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
uneeb has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
guardianx has quit []
ozcanesen has quit [Quit: ozcanesen]
frozengeek_ has joined #ruby
herbmillerjr has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
vee_ has joined #ruby
vee_ has quit [Client Quit]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vee_ has joined #ruby
<silverdust> Is there a place to see libraries I can require without installing a gem
<silverdust> Like libraries that ship with ruby
cahoots_ has joined #ruby
jenrzzz has joined #ruby
<cahoots_> hi, i want to do a scan but also get all of the line numbers. is there an easy way to do this?
<cahoots_> line numbers for each result
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
gix has quit [Ping timeout: 248 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phate408 has joined #ruby
phate408 has quit [Remote host closed the connection]
ascarter has joined #ruby
nobitanobi has quit [Ping timeout: 240 seconds]
ozcanesen has joined #ruby
r3QuiEm_cL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has joined #ruby
kies has quit [Ping timeout: 240 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
gix has joined #ruby
spt0 has quit [Ping timeout: 260 seconds]
baroquebobcat has joined #ruby
__Yiota has joined #ruby
_aeris_ has quit [Ping timeout: 248 seconds]
harai_ has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_aeris_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
ascarter has joined #ruby
enterprisey has quit [Remote host closed the connection]
kapil___ has joined #ruby
danieli has quit [Remote host closed the connection]
mim1k has joined #ruby
spt0 has joined #ruby
danieli has joined #ruby
<vee_> silerdust: you can get list of load path with $:
mim1k has quit [Ping timeout: 248 seconds]
danieli has quit [Changing host]
danieli has joined #ruby
troys_ is now known as troys
<vee_> silverdust: you can get list of load path with $:
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
<vee_> silverdust: ruby -e 'puts $:'
nertzy has joined #ruby
pilne has quit [Quit: Quitting!]
sarbs has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Trynemjoel has quit [Quit: Quitting]
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
lektrik has quit [Quit: Leaving]
r3QuiEm_cL has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Trynemjoel has joined #ruby
CrazyEddy has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
benlieb has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nobitanobi has joined #ruby
Bl4ckpajamas has joined #ruby
Blackpajamas has quit [Ping timeout: 240 seconds]
s3nd1v0g1us has quit [Quit: tempusfugit]
cahoots_ has quit [Ping timeout: 248 seconds]
enterprisey has joined #ruby
Slinky_Pete has quit [Remote host closed the connection]
guns has joined #ruby
nofxxx has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
kn-928 has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
nofxxx has joined #ruby
nobitanobi has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
mkali has joined #ruby
nobitanobi has joined #ruby
arescorpio has quit [Quit: Leaving.]
milardovich has quit [Remote host closed the connection]
Silthias has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<guns> I may be misremembering, but is there syntactic sugar for guarding against dispatching methods on nil values? Like x.?foo
Silthias1 has quit [Ping timeout: 246 seconds]
<silverdust> Thanks vee_
<havenwood> guns: x?.foo
benlieb has joined #ruby
<guns> havenwood: oh! thank you
<guns> havenwood: that doesn't seem to work. Maybe I'm misunderstanding?
<havenwood> guns: oh, sorry - mental lapse on my part: x&.foo
<havenwood> >> nil&.foo
<ruby[bot]> havenwood: # => nil (https://eval.in/862238)
<guns> havenwood: ahhh, okay that's right
<guns> thanks
guns has left #ruby [#ruby]
milardovich has joined #ruby
spt0 has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
MrSparkle has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
nobitanobi has quit [Remote host closed the connection]
astrobunny has quit [Remote host closed the connection]
jamesaxl has joined #ruby
mim1k has quit [Ping timeout: 252 seconds]
Ishido has quit [Read error: Connection reset by peer]
bronson has joined #ruby
Ishido has joined #ruby
Slinky_Pete has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
baweaver is now known as baweaver_away
Slinky_Pete has quit [Ping timeout: 246 seconds]
benlieb has quit [Quit: benlieb]
jenrzzz has joined #ruby
tcopeland has joined #ruby
BTRE has joined #ruby
dviola has quit [Quit: WeeChat 1.9]
Bl4ckpajamas has quit [Quit: Ciao!]
thuryn has quit [Ping timeout: 240 seconds]
r3QuiEm_cL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ozcanesen has quit [Quit: ozcanesen]
astrobunny has joined #ruby
MrSparkle has quit [Ping timeout: 240 seconds]
safe has quit [Read error: Connection reset by peer]
oleo has quit [Quit: irc client terminated!]
Dimik has quit [Ping timeout: 240 seconds]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bock has joined #ruby
ur5us has quit [Remote host closed the connection]
sarbs has quit [Read error: Connection reset by peer]
frozengeek_ has quit [Quit: frozengeek_]
Dimik has joined #ruby
mkali has quit [Quit: mkali]
sagax has joined #ruby
mkali has joined #ruby
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
anisha has joined #ruby
drcode has joined #ruby
kn-928 has joined #ruby
nofxxx has quit [Remote host closed the connection]
nofxx has quit []
mkali has quit [Quit: mkali]
nofxx has joined #ruby
drcode has quit [Client Quit]
anisha_ has joined #ruby
alex`` has joined #ruby
kn-928 has quit [Ping timeout: 248 seconds]
anisha has quit [Ping timeout: 252 seconds]
Slinky_Pete has joined #ruby
alex`` has quit [Client Quit]
rabajaj has joined #ruby
Slinky_Pete has quit [Ping timeout: 248 seconds]
ana_ has joined #ruby
mkali has joined #ruby
uneeb has quit [Read error: Connection reset by peer]
sekmo has joined #ruby
milardovich has joined #ruby
DK2 has joined #ruby
ana_ has quit [Quit: Leaving]
ana_ has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
Guest65485 is now known as ndrst
ndrst has quit [Changing host]
ndrst has joined #ruby
baweaver_away is now known as baweaver
TomyLobo has quit [Ping timeout: 255 seconds]
ams__ has joined #ruby
harfangk has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
sekmo has quit [Quit: Textual IRC Client: www.textualapp.com]
dionysus69 has joined #ruby
ta_ has quit [Remote host closed the connection]
conta has joined #ruby
gusrub has joined #ruby
MrBismuth has joined #ruby
gusrub has quit [Client Quit]
MrBusiness has quit [Ping timeout: 264 seconds]
nobitanobi has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
mark_66 has joined #ruby
nobitanobi has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
astrobunny has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 240 seconds]
drcode has joined #ruby
troys is now known as troys_
troys_ is now known as troys
cabotto has joined #ruby
cadillac_ has quit [Ping timeout: 248 seconds]
r7c has joined #ruby
cadillac_ has joined #ruby
high_fiver has joined #ruby
_joes_ has joined #ruby
jameser_ has joined #ruby
_joes_ has quit [Client Quit]
_joes_ has joined #ruby
_joes_ has quit [Client Quit]
_joes_ has joined #ruby
_joes_ has quit [Client Quit]
jameser has quit [Ping timeout: 240 seconds]
_joes_ has joined #ruby
harai_ has quit [Ping timeout: 260 seconds]
TomyWork has joined #ruby
_joes_ has quit [Client Quit]
_joes_ has joined #ruby
_joes_ has quit [Client Quit]
_joes_ has joined #ruby
ta_ has joined #ruby
_joes_ has quit [Client Quit]
high_fiver has quit [Ping timeout: 240 seconds]
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
kn-928 has joined #ruby
selim has quit [Ping timeout: 252 seconds]
guille-moe has joined #ruby
mkali has quit [Quit: mkali]
selim has joined #ruby
drcode has joined #ruby
kn-928 has quit [Ping timeout: 240 seconds]
cahoots_ has joined #ruby
drcode has quit [Client Quit]
frozengeek_ has joined #ruby
astrobunny has joined #ruby
nofxx has quit [Ping timeout: 240 seconds]
cahoots_ has quit [Ping timeout: 255 seconds]
justthisguy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tvw has joined #ruby
drcode has joined #ruby
ledestin has quit [Quit: Textual IRC Client: www.textualapp.com]
frozengeek_ has quit [Quit: frozengeek_]
drcode has quit [Client Quit]
quobo has joined #ruby
kies has joined #ruby
yeticry_ has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
kies has quit [Ping timeout: 264 seconds]
devil_tux has joined #ruby
Bhootrk_ has joined #ruby
Bhootrk_ has quit [Max SendQ exceeded]
phaul has joined #ruby
milardovich has joined #ruby
ShalokShalom has quit [Ping timeout: 252 seconds]
depesz has left #ruby ["WeeChat 1.9"]
milardovich has quit [Ping timeout: 260 seconds]
cabotto has quit []
sleetdrop has joined #ruby
kies has joined #ruby
troys is now known as troys_
harai_ has joined #ruby
ShalokShalom has joined #ruby
jameser_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
mostlybadfly has joined #ruby
justthisguy has joined #ruby
Silthias has quit [Read error: Connection reset by peer]
mim1k has joined #ruby
Silthias has joined #ruby
fivmo has joined #ruby
biberu has joined #ruby
troys_ is now known as troys
cdg has joined #ruby
Silthias1 has joined #ruby
nofxx has joined #ruby
justthisguy has quit [Ping timeout: 255 seconds]
enterprisey has quit [Ping timeout: 248 seconds]
Silthias has quit [Ping timeout: 240 seconds]
cdg_ has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
twillkens has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 255 seconds]
maum has joined #ruby
frozengeek_ has joined #ruby
cdg_ has quit [Ping timeout: 246 seconds]
alex`` has joined #ruby
alex`` is now known as alexherbo2
alexherbo2 is now known as alex``
cdg has joined #ruby
enterprisey has joined #ruby
frozengeek_ has quit [Remote host closed the connection]
DTZUZO has quit [Ping timeout: 252 seconds]
Burgestrand has joined #ruby
frozengeek has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
nobitanobi has joined #ruby
Slinky_Pete has joined #ruby
mim1k has joined #ruby
mjolnird has quit [Ping timeout: 252 seconds]
cdg has joined #ruby
Slinky_Pete has quit [Ping timeout: 248 seconds]
kn-928 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
jgjorgji has left #ruby ["WeeChat 1.9"]
lxsameer has joined #ruby
nobitanobi has quit [Read error: No route to host]
nobitanobi has joined #ruby
tvw has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 248 seconds]
marr has joined #ruby
kn-928 has quit [Ping timeout: 248 seconds]
tvw has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
roadt has joined #ruby
fivmo has quit [Quit: Textual IRC Client: www.textualapp.com]
roadt has quit [Client Quit]
devil_tux has quit [Ping timeout: 255 seconds]
roadt has joined #ruby
troys has quit [Quit: Bye]
fivmo has joined #ruby
cabotto has joined #ruby
cdg has joined #ruby
mjolnird has joined #ruby
elsevero has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
Ishido has quit [Ping timeout: 246 seconds]
sekmo has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
CrazyEddy has joined #ruby
Beams has joined #ruby
jaruga has joined #ruby
maum has quit [Remote host closed the connection]
cdg has joined #ruby
abrcdbr has joined #ruby
harfangk has quit [Ping timeout: 260 seconds]
abrcdbr has quit [Client Quit]
Slinky_Pete has joined #ruby
cabotto has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 246 seconds]
devil_tux has joined #ruby
frozengeek has quit [Quit: frozengeek]
frozengeek has joined #ruby
cdg has joined #ruby
astrobunny has quit [Remote host closed the connection]
sekmo has quit [Quit: Textual IRC Client: www.textualapp.com]
cdg has quit [Ping timeout: 246 seconds]
Ishido has joined #ruby
Slinky_Pete has quit [Remote host closed the connection]
Slinky_Pete has joined #ruby
cdg has joined #ruby
sleetdrop has quit [Remote host closed the connection]
michael4 has quit [Ping timeout: 240 seconds]
Slinky_Pete has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 255 seconds]
cdg has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
cdg_ has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
cdg has joined #ruby
milardovich has joined #ruby
figuresofstick has quit [Ping timeout: 248 seconds]
figuresofstick has joined #ruby
cdg_ has quit [Ping timeout: 248 seconds]
cdg has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 255 seconds]
ledestin has joined #ruby
fivmo has quit [Quit: Textual IRC Client: www.textualapp.com]
brent__ has joined #ruby
nemesit|znc has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
Serpent7776 has joined #ruby
yokel has quit [Remote host closed the connection]
cabotto has joined #ruby
enterprisey has quit [Quit: Leaving]
<dminuoso> havenwood: You mean applying MaybeT right?
yokel has joined #ruby
Slinky_Pete has joined #ruby
cdg has joined #ruby
Slinky_Pete has quit [Ping timeout: 240 seconds]
ShalokShalom has quit [Read error: Connection reset by peer]
roonsauce has joined #ruby
bruno- has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
mim1k has joined #ruby
roonsauce has quit [Ping timeout: 240 seconds]
agent_white has quit [Ping timeout: 255 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
harfangk has joined #ruby
belmoussaoui_ has quit [Read error: Connection reset by peer]
frozengeek has quit [Quit: frozengeek]
belmoussaoui has joined #ruby
frozengeek has joined #ruby
belmoussaoui has quit [Client Quit]
belmoussaoui has joined #ruby
anisha_ has quit [Ping timeout: 240 seconds]
anisha_ has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
tcopeland has quit [Quit: tcopeland]
jenrzzz has quit [Ping timeout: 260 seconds]
ShalokShalom has joined #ruby
mim1k has joined #ruby
mkali has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has quit [Disconnected by services]
mim1k_ has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
cabotto has quit []
bronson has joined #ruby
rawste has joined #ruby
charliesome has joined #ruby
govg has quit [Ping timeout: 248 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
Slinky_Pete has joined #ruby
govg has joined #ruby
millerti has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
drcode has joined #ruby
nobitanobi has quit [Remote host closed the connection]
Slinky_Pete has quit [Ping timeout: 248 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bhator3 has joined #ruby
<bhator3> Please fill this survey for my research project. It will only take 2 minutes.
mim1k_ is now known as mim1k
bhator3 has left #ruby [#ruby]
<adaedra> 👋
al2o3-cr has joined #ruby
devil_tux has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Remote host closed the connection]
justache has quit [Remote host closed the connection]
hsiktas has quit [Remote host closed the connection]
dionysus69 has joined #ruby
hsiktas has joined #ruby
justache has joined #ruby
t-recx has joined #ruby
charliesome has joined #ruby
milardovich has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
belmoussaoui has quit [Quit: belmoussaoui]
belmoussaoui_ has joined #ruby
roshanavand has joined #ruby
tcopeland has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
belmoussaoui_ has quit [Client Quit]
kn-928 has joined #ruby
belmoussaoui has joined #ruby
devil_tux has joined #ruby
kn-928 has quit [Ping timeout: 246 seconds]
ldnunes has joined #ruby
Slinky_Pete has joined #ruby
Siyfion has joined #ruby
ShalokShalom_ has joined #ruby
ShalokShalom has quit [Ping timeout: 248 seconds]
Slinky_Pete has quit [Ping timeout: 240 seconds]
belmoussaoui has quit [Ping timeout: 252 seconds]
nobitanobi has joined #ruby
roshanavand has quit [Quit: Leaving]
roshanavand has joined #ruby
marcux has joined #ruby
snickers has joined #ruby
__Yiota has joined #ruby
mson has joined #ruby
synthroid has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
smp_dup has joined #ruby
sajinmp has joined #ruby
smp_dup has quit [Client Quit]
<sajinmp> Hi, Is there a way to reverse symbolization of json hash? I was trying to pass it to an api, but it doesn't accept symbolized hash, ruby hash or json string
<dminuoso> "reverse symbolization" ?
<michael_mbp> sounds like JSON.parse?
<michael_mbp> sajinmp: are you using Hash#to_json doesn't work?
<sajinmp> michael_mbp, Doesn't happen. JSON.parse converts it to ruby hash which the third-party api doesn't accept
bmurt has joined #ruby
InfinityFye has joined #ruby
<dminuoso> sajinmp: What is your input and your desired output?
<sajinmp> michael_mbp, dminuoso : Let me first write a fiddle. I will give the info there
<michael_mbp> sounds like a 3rd party API issue. You should be able to send Hash#to_json to that API without any issues.
jinie has quit [Ping timeout: 240 seconds]
jinie has joined #ruby
jameser has joined #ruby
<sajinmp> michael_mbp, dminuoso : http://rubyfiddle.com/riddles/95a8d
<sajinmp> I also thought that its the api issue, but when I tried the same thing in postman, it worked
guille-moe has quit [Ping timeout: 240 seconds]
<dminuoso> sajinmp: And what does the API expect?
<sajinmp> It expects a json hash
<dminuoso> What is a "json hash" ?
<sajinmp> Thats why I speculated that the reason might be because what ruby sends is a ruby hash and not json hash
<dminuoso> And what shape does it expect?
<michael_mbp> sajinmp: LOL no
<sajinmp> { "user": 1, "name": "superman"} - this
<dminuoso> JSON.parse("{\"user\":1,\"name\":\"superman\"}")
<dminuoso> {user: 1, name: "superman"}
<michael_mbp> Ruby/Rails sends JSON.
<sajinmp> JSON.parse("{\"user\":1,\"name\":\"superman\"}") - {"user"=>1, "name"=>"superman"}
<dminuoso> Yup, same thing.
<dminuoso> sajinmp: Mine was in JavaScript
<michael_mbp> sajinmp: there's nothing wrong with that
<dminuoso> sajinmp: So as you can see, it parses properly.
<michael_mbp> You're using Ruby, so it parses to Ruby.
<dminuoso> sajinmp: If we ignore the escaping characters, this is what it looks in the raw json form:
<dminuoso> { "user": 1, "name": "superman"}
<dminuoso> >> puts { user: 1, name: "superman" }.to_json
<ruby[bot]> dminuoso: # => /tmp/execpad-eb94b0143683/source-eb94b0143683:2: syntax error, unexpected ':', expecting '}' ...check link for more (https://eval.in/862548)
<dminuoso> >> puts({ user: 1, name: "superman" }.to_json)
<ruby[bot]> dminuoso: # => undefined method `to_json' for {:user=>1, :name=>"superman"}:Hash ...check link for more (https://eval.in/862549)
<dminuoso> >> require 'json'; puts({ user: 1, name: "superman" }.to_json)
<ruby[bot]> dminuoso: # => {"user":1,"name":"superman"} ...check link for more (https://eval.in/862550)
<dminuoso> sajinmp: ^-
<sajinmp> dminuoso: I understand that, but its not working
jameser has quit [Read error: Connection reset by peer]
<dminuoso> sajinmp: Then you are passing invalid data, the shape is wrong or something else.
<sajinmp> This is the first time, I am finding this issue
<dminuoso> We cant help you.
<sajinmp> ok. Thank you for your help
jameser has joined #ruby
<sajinmp> I'll find some way
devil_tux has quit [Ping timeout: 248 seconds]
<sajinmp> Thanks dminuoso, michael_mbp
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<michael_mbp> work backwards from Postman
<michael_mbp> at least you have that as a base line.
<sajinmp> Yes. Thank again
<michael_mbp> how are you 'sending' it in Ruby?
faces has joined #ruby
jameser_ has joined #ruby
Siyfion has quit [Quit: Textual IRC Client: www.textualapp.com]
jameser has quit [Ping timeout: 240 seconds]
facest has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jameser_ has quit [Client Quit]
sija has joined #ruby
MarkBilk has quit [Ping timeout: 240 seconds]
devil_tux has joined #ruby
MarkBilk has joined #ruby
sija has quit [Client Quit]
jenrzzz has quit [Ping timeout: 240 seconds]
InfinityFye has quit [Quit: Leaving]
Slinky_Pete has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Slinky_Pete has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
MarkBilk has quit [Ping timeout: 255 seconds]
phaul has quit [Ping timeout: 264 seconds]
cabotto has joined #ruby
iMadper has joined #ruby
__Yiota has joined #ruby
apparition has joined #ruby
cabotto has quit [Client Quit]
bronson has joined #ruby
InfinityFye has joined #ruby
dviola has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
bovis has joined #ruby
dviola has quit [Client Quit]
cdg has joined #ruby
spt0 has joined #ruby
mim1k has quit [Quit: Reconnecting]
mim1k has joined #ruby
marcux has quit [Ping timeout: 264 seconds]
<sajinmp> I am using httparty to post it. I generated the code from postman and tried, still the same issue. I have asked the third party if the could check the log and find what the issue is. This is a payment gateway api
snickers has quit [Ping timeout: 240 seconds]
oleo has joined #ruby
roadt has quit [Ping timeout: 240 seconds]
FrostCandy has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
ldnunes has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ruby
rippa has joined #ruby
GodFather_ has quit [Remote host closed the connection]
r7c has quit [Quit: Leaving]
GodFather has joined #ruby
kn-928 has joined #ruby
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
chouhoulis has joined #ruby
GodFather has quit [Read error: No route to host]
GodFather_ has joined #ruby
Burgestrand has quit [Quit: Closing time!]
GodFather_ has quit [Remote host closed the connection]
DLSteve has joined #ruby
ldnunes has joined #ruby
oleo has quit [Remote host closed the connection]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
devil_tux has quit [Ping timeout: 255 seconds]
nobitanobi has quit [Ping timeout: 246 seconds]
oleo has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Slinky_Pete has joined #ruby
rawste has quit [Quit: (ー。ー) zzz...]
dionysus69 has quit [Ping timeout: 252 seconds]
devil_tux has joined #ruby
bruno-_ has joined #ruby
t-recx has quit [Quit: t-recx]
phaul has joined #ruby
VladGh has quit [Remote host closed the connection]
duckpuppy has joined #ruby
devil_tux has quit [Client Quit]
Slinky_Pete has quit [Ping timeout: 246 seconds]
VladGh has joined #ruby
t-recx has joined #ruby
guille-moe has joined #ruby
jrm has quit [Quit: ciao]
jrm has joined #ruby
rawste has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
darix has quit [Quit: may the packets be with you...]
brent__ has joined #ruby
rabajaj has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
brent__ has quit [Ping timeout: 248 seconds]
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LastWhisper____ has joined #ruby
bairyn is now known as ByronJohnson
chouhoulis has joined #ruby
kn-928 has quit [Ping timeout: 248 seconds]
harfangk has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
jackjackdripper has joined #ruby
nofxx has quit [Ping timeout: 240 seconds]
kn-928 has joined #ruby
GrimGrim has joined #ruby
GrimGrim has quit [Quit: Leaving]
ResidentBiscuit has joined #ruby
ur5us has joined #ruby
synthroid has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
Rapture has joined #ruby
chouhoul_ has joined #ruby
eputnam has quit [Ping timeout: 260 seconds]
eputnam has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
millerti has joined #ruby
frozengeek has quit [Quit: frozengeek]
frozengeek has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mark_66 has quit [Quit: Leaving.]
ams__ has quit [Quit: Connection closed for inactivity]
mark_66 has joined #ruby
Slinky_Pete has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BSaboia has quit [Read error: Connection reset by peer]
tvw has quit [Remote host closed the connection]
phinxy has joined #ruby
Slinky_Pete has quit [Ping timeout: 240 seconds]
bruno-_ has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
ur5us has quit [Remote host closed the connection]
anisha_ has quit [Quit: This computer has gone to sleep]
arup_r has joined #ruby
phinxy has left #ruby ["Leaving"]
mkali has quit [Quit: mkali]
<arup_r> I want to review one of my regex code as I am noob in Regex. s = 'https://www.google.co.in/search?q=123';; s[/\?q=(\d+)/, 1] # 123 which is what I want. Does my regex matcher is correct has no bug?
darix has joined #ruby
ana_ has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
jenrzzz has joined #ruby
__Yiota has joined #ruby
<phaul> arup_r: are you aware of rubular.com?
<arup_r> phaul: yes tested there http://rubular.com/r/6Uf8Fa72b2
montyboy has quit [Ping timeout: 248 seconds]
oleo has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 248 seconds]
<phaul> ok, just checking :)
<arup_r> np :)
montyboy has joined #ruby
tvw has quit []
bruno- has joined #ruby
bruno-_ has joined #ruby
marcux has joined #ruby
millerti has joined #ruby
cschneid has joined #ruby
bronson has joined #ruby
ShalokShalom_ is now known as ShalokShalom
dextrey has joined #ruby
oleo has joined #ruby
nobitanobi has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
ResidentBiscuit has quit [Ping timeout: 264 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
baroquebobcat has joined #ruby
bmurt has joined #ruby
Xeago has quit [Ping timeout: 248 seconds]
sepp2k has joined #ruby
baroquebobcat_ has joined #ruby
mark_66 has quit [Remote host closed the connection]
vivus has joined #ruby
<vivus> Hello all
<vivus> I was told yesterday that in order to build this project: https://github.com/veganstraightedge/h-card-as-a-service
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<vivus> I need to run: bundle exec puma -C config/puma.rb
<vivus> but this command fails
<vivus> bundler: command not found: puma
baroquebobcat has quit [Ping timeout: 248 seconds]
baroquebobcat_ is now known as baroquebobcat
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
millerti has joined #ruby
kculpis has joined #ruby
<adaedra> Did you `bundle install`?
roonsauce has joined #ruby
conta has quit [Ping timeout: 240 seconds]
TomyLobo has joined #ruby
jackjackdripper has joined #ruby
iMadper has quit [Read error: Connection reset by peer]
kn-928 has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RedNifre has joined #ruby
arup_r has quit [Remote host closed the connection]
quobo has quit [Quit: Connection closed for inactivity]
polishdub has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ashZ_ has joined #ruby
PaulCapestany has quit [Quit: .]
[Butch] has joined #ruby
brent__ has joined #ruby
cahoots_ has joined #ruby
ashZ has quit [Ping timeout: 252 seconds]
<vivus> adaedra: I first need to run bundle install?
<adaedra> Yes, you need to install dependencies
PaulCapestany has joined #ruby
<vivus> oh I understand now. bundle is the package manager
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamesaxl has quit [Read error: Network is unreachable]
Slinky_Pete has joined #ruby
jamesaxl has joined #ruby
rawste has quit [Quit: See ya later!]
bmurt has joined #ruby
millerti has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
<RedNifre> JSON.parse returns arrays and hashes which I can access like["this"]. Is it also possible to parse it to arrays and structs so I can access it like.this ? The keys in the json already look like_this.
al2o3-cr has quit [Ping timeout: 260 seconds]
im0nde has joined #ruby
Serpent has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drale2k_ has joined #ruby
scootaloo has joined #ruby
t-recx_ has joined #ruby
bmurt has joined #ruby
kn-928 has joined #ruby
MrBusiness3 has joined #ruby
bogdanteleaga has quit [Ping timeout: 246 seconds]
adaedra has quit [Ping timeout: 246 seconds]
drale2k has quit [Ping timeout: 246 seconds]
t-recx has quit [Quit: t-recx]
SirFunk has quit [Ping timeout: 246 seconds]
swills has quit [Read error: Connection reset by peer]
mkaito has quit [Ping timeout: 246 seconds]
ghormoon has quit [Ping timeout: 246 seconds]
gf3 has quit [Ping timeout: 246 seconds]
ghormoon_ has joined #ruby
mkaito_ has joined #ruby
mkaito_ is now known as mkaito
mkaito has quit [Changing host]
mkaito has joined #ruby
Serpent7776 has quit [Ping timeout: 246 seconds]
MrBismuth has quit [Ping timeout: 246 seconds]
swills has joined #ruby
swills has joined #ruby
daveomcd has quit [Remote host closed the connection]
t-recx_ is now known as t-recx
<ule> I asked there on RubyOnRails, so I'm gonna ask here as well just in case someone can help. I have an ActiveRecord result object. How can I simple pick one element having it's id? Something like: users[1234]. Currently, I'm doing a users.select { |u| u.id == 1234 }.first It works but it's very slow... do you guys know whats the fastest way to do this?
daveomcd has joined #ruby
<adam12> Why not just select it the first time
<adam12> User.find(1234)
bogdanteleaga has joined #ruby
SirFunk has joined #ruby
<ule> long story.. but basically Im working on an optimiation... if I do what you're suggesting I need to make 6k calls to pick some info for each user.. the way I'm doing here, Im grabbing groups "chunks" of users and then filtering via ruby..
<ule> It's complicated because I'm dealing with different data sources.. I can't just do what you suggested
gf3 has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adam12> Well, instead of using `select`, maybe you can use `find` or `detect` which returns first element that matches
<adam12> instead of iterating over the entire group just to return the first one found.
bokayio has quit [Ping timeout: 240 seconds]
<adam12> users.find { |u| u.id == 1234 }
<ule> adam12: because that .find will trigger another call do my db, and I'm truing to avoid that since I already have the result object in memory. I just need to pick based on the id
<adam12> Then convert it to an array first
<Papierkorb> isn't there a `#to_a`?
<adam12> users.to_a.find { |u| u.id == 1234 }
<ule> adam12: what might work.. let me try here
<ule> so since its an array I can't I just do users[1234] then ?
baroquebobcat has quit [Quit: baroquebobcat]
bokayio has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adam12> ule: That would return the user at array position 1234, and not with the id of 1234, so no
<Papierkorb> ule, if it's such a common use, convert it to an hash first for quick&easy lookup
<adam12> That would work aswell.
<ule> I'd love to see the index with the same user id, then it would perform super fast BigO(1)
<Papierkorb> users.map{|u| [u.id, u]}.to_h and done
<ule> Papierkorb: then how can I find having a hash?
<Papierkorb> huh?
<Papierkorb> Like you do with a hash?
<ule> ohh I see..
<ule> cool, let me try here
__Yiota has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
<Papierkorb> And if you need to iterate over the whole thing still, either store the array too, or #each_value over it.
bmurt has joined #ruby
Serpent has quit [Quit: Leaving]
<ule> Boom worked like a charm
<ule> amosbird: Papierkorb thanks guys
<ule> ops adam12
<ule> :)
<adam12> yw.
<Papierkorb> cheers
Beams has quit [Quit: .]
AlexRussia_ has joined #ruby
AlexRussia has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
roonsauce has quit [Remote host closed the connection]
chouhoul_ has quit [Remote host closed the connection]
roonsauce has joined #ruby
milardovich has quit []
duckpuppy has joined #ruby
roshanavand has quit [Quit: Leaving]
sajinmp has quit [Ping timeout: 246 seconds]
uZiel has joined #ruby
redondos has joined #ruby
redondos has quit [Changing host]
redondos has joined #ruby
<ule> its flying now.. from 15seconds to 300ms
<vivus> in the following Gemfile: https://github.com/veganstraightedge/h-card-as-a-service/blob/master/Gemfile . is it okay to disable uglifier ?
<vivus> if yes, how?
marcux has quit [Ping timeout: 260 seconds]
roonsauce has quit [Ping timeout: 246 seconds]
dextrey has quit [Quit: WeeChat 1.9]
baroquebobcat has joined #ruby
marcux has joined #ruby
roonsauce has joined #ruby
synthroid has joined #ruby
TchanZ has joined #ruby
<TchanZ> Hello
dionysus69 has quit [Ping timeout: 240 seconds]
uZiel has quit [Ping timeout: 248 seconds]
guardian has quit [Quit: Coyote finally caught me]
guardian has joined #ruby
guardian has quit [Client Quit]
<havenwood> vivus: Remove the line in the Gemfile and: bundle
<havenwood> TchanZ: hi
<havenwood> vivus: Or better yet, just install Node.js.
<havenwood> And leave it.
<vivus> things are getting so bloated though. this is just for a local install.
<havenwood> vivus: PS - You don't need rails_12factor in your production group for Rails 5, it ships 12factor support.
<vivus> havenwood: can you clarify what I need to remove from the gemfile? just this line: gem 'uglifier', '>= 1.3.0' ?
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<havenwood> That'd remove uglifier, yep.
<havenwood> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
ResidentBiscuit has joined #ruby
twillkens has joined #ruby
frozengeek has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
Slinky_Pete has quit [Remote host closed the connection]
Slinky_Pete has joined #ruby
quobo has joined #ruby
marcux has quit [Ping timeout: 246 seconds]
TchanZ has left #ruby [#ruby]
Slinky_Pete has quit [Remote host closed the connection]
Slinky_Pete has joined #ruby
marcux has joined #ruby
dviola has joined #ruby
orbyt_ has joined #ruby
mkali has joined #ruby
kn-928 has quit [Ping timeout: 248 seconds]
marcux has quit [Client Quit]
kies has quit [Ping timeout: 240 seconds]
bruno-__ has joined #ruby
bruno-___ has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
bruno-_ has quit [Ping timeout: 248 seconds]
cagomez has joined #ruby
Dimik has joined #ruby
tor-browser has joined #ruby
marcux has joined #ruby
<tor-browser> irssi -h
mtkd has quit [Ping timeout: 240 seconds]
tor-browser_ has joined #ruby
marcux has quit [Client Quit]
tor-browser has quit [Client Quit]
marcux has joined #ruby
mtkd has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
nofxx has joined #ruby
marcux has quit [Quit: leaving]
oleo has quit [Quit: Leaving]
marcux has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
millerti has joined #ruby
jenrzzz has joined #ruby
jaruga has quit [Quit: jaruga]
millerti has quit [Client Quit]
guardian has joined #ruby
apparition has quit [Quit: Bye]
SeepingN has joined #ruby
RedNifre has quit [Ping timeout: 246 seconds]
synthroid has quit [Remote host closed the connection]
TomyWork has quit [Remote host closed the connection]
_sfiguser has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mon_Ouie has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
AlexRussia_ has quit [Ping timeout: 246 seconds]
lxsameer has quit [Ping timeout: 248 seconds]
guille-moe has quit [Ping timeout: 240 seconds]
fChanX has joined #ruby
tor-browser_ has left #ruby ["Konversation terminated!"]
<fChanX> Hello
<havenwood> fChanX: hi
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roonsauce has quit [Remote host closed the connection]
bmurt has joined #ruby
tor-browser_ has joined #ruby
abrcdbr has joined #ruby
abhi56rai has joined #ruby
nobitanobi has quit [Remote host closed the connection]
BSaboia has joined #ruby
nobitanobi has joined #ruby
abhi56rai has quit [Client Quit]
bovis has quit [Ping timeout: 264 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxx has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
nobitanobi has quit [Ping timeout: 240 seconds]
fChanX has left #ruby ["Leaving"]
kn-928 has joined #ruby
cagomez has quit [Remote host closed the connection]
nofxx has joined #ruby
armin has joined #ruby
millerti has joined #ruby
kn-928 has quit [Ping timeout: 246 seconds]
bruno-___ has quit [Quit: leaving]
chouhoulis has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
milardovich has joined #ruby
claudiuinberlin has joined #ruby
cagomez has joined #ruby
jenrzzz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
im0nde has quit [Ping timeout: 255 seconds]
cahoots_ has quit [Ping timeout: 240 seconds]
nofxx has quit [Ping timeout: 255 seconds]
raynold has joined #ruby
abrcdbr has quit [Max SendQ exceeded]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
kies has joined #ruby
InfinityFye has quit [Quit: Leaving]
cahoots has joined #ruby
twillkens has quit [Ping timeout: 240 seconds]
oleo has joined #ruby
im0nde has joined #ruby
roonsauce has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vivus has left #ruby ["Leaving"]
jenrzzz has quit [Ping timeout: 240 seconds]
cdg has quit [Remote host closed the connection]
roonsauce has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ruby
Ltem has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
RedNifre has joined #ruby
govg has quit [Ping timeout: 240 seconds]
RedNifre is now known as Guest39719
tcopeland has quit [Quit: tcopeland]
uZiel has quit [Ping timeout: 248 seconds]
cschneid has quit [Remote host closed the connection]
roonsauce has joined #ruby
cschneid has joined #ruby
roonsauce has quit [Client Quit]
tcopeland has joined #ruby
maryo has joined #ruby
mim1k has joined #ruby
AndBobsYourUncle has joined #ruby
Dimik has joined #ruby
oleo has quit [Remote host closed the connection]
Guest39719 has quit [Ping timeout: 255 seconds]
cschneid has quit [Ping timeout: 246 seconds]
oleo has joined #ruby
conta has joined #ruby
Ashoshi has joined #ruby
milardovich has quit [Remote host closed the connection]
Ashoshi has left #ruby [#ruby]
mim1k has quit [Ping timeout: 264 seconds]
conta has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
ONDIE has joined #ruby
ONDIE has left #ruby [#ruby]
imode has joined #ruby
nofxx has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has quit [Ping timeout: 248 seconds]
twillkens has joined #ruby
mson has quit [Quit: Connection closed for inactivity]
Guest39719 has joined #ruby
Bock has quit [Ping timeout: 248 seconds]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
Dimik has quit [Ping timeout: 255 seconds]
mkali has quit [Quit: mkali]
Guest39719 has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
lxsameer has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
rippa has joined #ruby
phaul has quit [Quit: WeeChat 1.9]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
millerti has joined #ruby
frozengeek has joined #ruby
twillkens has quit [Ping timeout: 240 seconds]
cschnei__ has joined #ruby
bronson has joined #ruby
skweek has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdbrowne has joined #ruby
tor-browser_ has quit [Read error: No route to host]
al2o3-cr has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
cadillac_ has quit [Read error: Connection reset by peer]
al2o3-cr has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Alina-malina has quit [Ping timeout: 248 seconds]
Qommand0r has quit [Quit: WeeChat 1.9]
cadillac_ has joined #ruby
__Yiota has joined #ruby
amitchellbullard has joined #ruby
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
ONDIE has joined #ruby
ldnunes has quit [Ping timeout: 248 seconds]
zachk has joined #ruby
_sfiguser has quit [Ping timeout: 248 seconds]
zachk has quit [Max SendQ exceeded]
ONDIE has left #ruby [#ruby]
zachk has joined #ruby
ta_ has joined #ruby
jdbrowne has quit [Read error: Connection reset by peer]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has joined #ruby
bmurt has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
preyalone has joined #ruby
bronson has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby
_sfiguser has joined #ruby
chouhoul_ has joined #ruby
milardovich has joined #ruby
mostlybadfly has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
synthroid has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
MrBusiness3 has quit [Quit: https://www.youtube.com/watch?v=xIIqYqtR1lY -- Suicide is Painless - Johnny Mandel]
belmoussaoui_ has joined #ruby
Alina-malina has quit [Ping timeout: 248 seconds]
hfp_work has quit [Ping timeout: 252 seconds]
hfp_work has joined #ruby
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
kn-928 has joined #ruby
twillkens has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
kn-928 has quit [Ping timeout: 240 seconds]
ycyclist has joined #ruby
<ycyclist> Say, anybody know what this is about??? cannot load such file -- minitest/spec (LoadError)
griffindy has joined #ruby
<ycyclist> Usually, on Ubuntu, I get no problem with minitest just being there. I thought that it was the default test framework for almost 10 years now for Ruby.
<ycyclist> But now it appears I need to install it as a gem? That is a bit of a kick in the teeth for a devotee who just told his boss it comes default.
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michael4 has joined #ruby
cagomez has joined #ruby
bmurt has joined #ruby
duckpuppy has quit [Ping timeout: 255 seconds]
duckpupp1 has joined #ruby
<ycyclist> Wow. I didn't realize this place was so dead.
<SeepingN> it's Friday
<SeepingN> programmers' day off
Guest39719 has joined #ruby
milardovich has quit []
cagomez has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest39719 has quit [Ping timeout: 240 seconds]
griffindy has quit [Ping timeout: 246 seconds]
synthroid has quit [Remote host closed the connection]
<ycyclist> I'm a programmer.
<ycyclist> Whew.
<Papierkorb> Friday evening. people may be doing something else for a change
duckpupp1 has quit [Ping timeout: 246 seconds]
<ycyclist> Say, I seem to be getting yum install of ruby on centos7 just fine, but no require 'minitest/spec' require 'minitest/autorun'.
<ycyclist> I wonder if centos has some known brokenness where I can just yum or gem install that. It should just be there I think.
bmurt has joined #ruby
bmurt has quit [Client Quit]
mson has joined #ruby
tsia has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
__Yiota has joined #ruby
jamesaxl has quit [Quit: WeeChat 1.8]
jenrzzz has quit [Ping timeout: 255 seconds]
orbyt_ has joined #ruby
brent__ has quit []
Slinky_Pete has quit [Remote host closed the connection]
Slinky_Pete has joined #ruby
jenrzzz has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tsia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
[Butch] has quit [Quit: I'm out . . .]
cdg has joined #ruby
kn-928 has joined #ruby
benlieb has joined #ruby
cdg has quit [Read error: Connection reset by peer]
Slinky_Pete has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
cagomez has joined #ruby
ozcanesen has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
BSAlb has joined #ruby
<havenwood> ycyclist: What Ruby are you on?
<havenwood> ycyclist: You can, and should update minitest independently from Ruby.
bronson has quit [Remote host closed the connection]
BSaboia has quit [Ping timeout: 246 seconds]
maryo has quit [Ping timeout: 264 seconds]
milardovich has quit [Remote host closed the connection]
<ycyclist> This centos 7 has 2.0
tsia has joined #ruby
<havenwood> ycyclist: gem update minitest
<ycyclist> Exactly which ruby 2.0: [xeno@xcclouderac7v1 shop]$ ruby --version ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
<ycyclist> Ok.
<ycyclist> I have a better but less easy question though. This application installs it's own version of ruby in some /opt/something/.../ruby/bin area.
Slinky_Pete has joined #ruby
sami has joined #ruby
<sami> I'm having some trouble with the ruby version of elasticsearch-dsl, would this be the right channel to ask?
<ycyclist> However, when I try to use minitest/autorun and minitest/spec it similarly does not see them.
<sami> For some reason this is what my query looks like, client doesn't extract the hash: curl -X GET 'http://localhost:9200/_search?pretty'; -d '"#<Elasticsearch::DSL::Search::Search:0x007fdb6086ff40>"'
<ycyclist> I would like to use the minitest I can see down in this ruby 2.3 install, but it does not see it.
<havenwood> sami: need a #to_s or something on that Elasticsearch::DSL::Search::Search instance?
sepp2k has quit [Quit: Leaving.]
twillkens has quit [Ping timeout: 240 seconds]
<ycyclist> Is there some kind of include qualifier I can give in ruby to make it see it?
<havenwood> ycyclist: Usually Ruby version switchers get you the Ruby and Gem to match the Ruby you've selected.
<sami> havenwood: Let me gist the example code. Just a sec
<matthewd> ycyclist: Run it with that ruby
<havenwood> ycyclist: Maybe on CentOS you could use update-alternatives to select it.
<ycyclist> Yes, I ran it with that ruby with explicit path, and it did not see minitest/autorun nor minitest/spec.
<ycyclist> Yes, I want to use the 2.3 as it is always installed independent of the OS.
<havenwood> ycyclist: Run: /path/to/ruby -rminitest/spec -e "0"
<havenwood> ycyclist: Does that work?
<ycyclist> Everything else works this way in the framework, so I think I just need the simple qualifier to pick up autorun and spec.
<ycyclist> Ok. I will try that.
tsia has quit [Quit: Textual IRC Client: www.textualapp.com]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Dimik has joined #ruby
biberu has quit []
<ycyclist> There is probably something obvious I am doing. Don't worry about laughing out loud if there is.
ensyde has quit [Quit: Leaving]
lagweezle has joined #ruby
<ycyclist> ?
cdg_ has joined #ruby
milardovich has joined #ruby
<ycyclist> A desert again I fear.
milardovich has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 240 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
al2o3-cr has joined #ruby
Guest39719 has joined #ruby
Slinky_Pete has quit [Remote host closed the connection]
sami has left #ruby [#ruby]
Guest39719 has quit [Ping timeout: 240 seconds]
Ishido has quit [Ping timeout: 264 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
TomyLobo has quit [Read error: Connection reset by peer]
mim1k has joined #ruby
elsevero has quit [Quit: elsevero]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
mim1k has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
Guest39719 has joined #ruby
ldnunes has quit [Quit: Leaving]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
Guest39719 has quit [Ping timeout: 240 seconds]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
milardovich has joined #ruby
MrBusiness has joined #ruby
tsia has joined #ruby
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
millerti has quit [Ping timeout: 240 seconds]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
bovis has joined #ruby
Ltem has quit [Quit: Leaving]
imode has quit [Ping timeout: 246 seconds]
<ycyclist> havenwood: You around?
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elsevero has joined #ruby
<havenwood> ycyclist: hi
cahoots has quit [Ping timeout: 252 seconds]
tsia has quit [Quit: Textual IRC Client: www.textualapp.com]
tcopeland has quit [Quit: tcopeland]
preyalone has quit [Quit: Connection closed for inactivity]
marcux has quit [Ping timeout: 260 seconds]
cahoots has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
<havenwood> ycyclist: before requiring you could try: gem 'minitest'
wilbert has joined #ruby
<havenwood> ycyclist: does that line 6 succeed? (omit the ./service part)
<havenwood> ycyclist: The only reason to try that is to just confirm you can require minitest/spec with that Ruby.
Slinky_Pete has joined #ruby
<havenwood> ycyclist: Gist the content of shwrapin.sh?
<havenwood> ycyclist: Can you require minitest/spec when using the relevant Ruby directly?
<ycyclist> Okay, one thing at a time.
<ycyclist> I did try the minitest. It appears btw that thought I thought minitest was in there, it is only under an area called rr-1.1.2
<ycyclist> Here is a path:
<ycyclist> ./lib/ruby/gems/2.3.0/gems/rr-1.1.2/lib/rr/integrations/minitest.rb
<ycyclist> But according to a doc that went around, it is always part of bundle level gems, so it always comes with install.
milardovich has quit [Remote host closed the connection]
<havenwood> ycyclist: Err, what happens when you run just this:
<havenwood> /path/to/ruby -rminitest/spec -e "puts 'it worked...'"
milardovich has joined #ruby
zacts has quit [Quit: WeeChat 1.4]
<ycyclist> trying...
lxsameer has quit [Ping timeout: 246 seconds]
zacts has joined #ruby
<ycyclist> Same thing:
<ycyclist> xeno@xcalatestvm1h:~/shop$ ./shwrapin.sh /opt/microsoft/omsagent/ruby/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- minitest/spec (LoadError) from /opt/microsoft/omsagent/ruby/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
Slinky_Pete has quit [Ping timeout: 246 seconds]
<havenwood> ycyclist: Doesn't seem you're running what I wrote.
<havenwood> /opt/microsoft/omsagent/ruby/lib/ruby/2.3.0/bin/ruby -e "puts 'it worked...'"
zacts has quit [Client Quit]
<havenwood> ycyclist: Does that work? ^
zacts has joined #ruby
<havenwood> if so, does this work?:
<havenwood> /opt/microsoft/omsagent/ruby/lib/ruby/2.3.0/bin/ruby -rminitest/spec -e "puts 'it worked...'"
zacts is now known as Guest73908
Guest73908 has quit [Client Quit]
milardovich has quit [Remote host closed the connection]
FrostCandy has quit []
<ycyclist> xeno@xcalatestvm1h:~/shop$ /opt/microsoft/omsagent/ruby/bin/ruby -e "puts 'it worked...'" it worked...
<ycyclist> So that works.
zacts_ has joined #ruby
<havenwood> How about with the -rminitest/spec
<havenwood> still good?
milardovich has joined #ruby
zacts_ is now known as zacts
<ycyclist> This fails:
<ycyclist> xeno@xcalatestvm1h:~/shop$ /opt/microsoft/omsagent/ruby/bin/ruby -rminitest/spec -e "puts 'it worked...'" /opt/microsoft/omsagent/ruby/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- minitest/spec (LoadError) from /opt/microsoft/omsagent/ruby/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
<havenwood> ycyclist: Are they shipping some stripped-down form or Ruby?
<ycyclist> So it is not seeing a minitest nor minitest/spec
<havenwood> form of*
<ycyclist> I am wanting to conclude the same thing.
<havenwood> ycyclist: Try: /opt/microsoft/omsagent/ruby/bin/gem install minitest
<havenwood> ycyclist: It's quite possible to remove bundled gems like minitest (default gems on the other hand can't be removed).
<ycyclist> That works:
<ycyclist> xeno@xcalatestvm1h:~/shop$ /opt/microsoft/omsagent/ruby/bin/ruby -rminitest -e "puts 'it worked...'" it worked...
<havenwood> Okay, then you're good.
<havenwood> Somehow you uninstalled the minitest gem, which you can do.
<havenwood> Or they did.
<havenwood> Someone did.
<ycyclist> Is there some way to include the gem from the net just for the script execution rather than gem installing it?
<havenwood> ycyclist: It's described here why it can be uninstalled: https://stdgems.org/
<havenwood> ycyclist: It's presumed to be there, since it's a bundled gem. Almost nobody uninstalls it.
bovis has quit [Ping timeout: 240 seconds]
<ycyclist> Okay, well it is sure simple to re-install, but it stinks as it changes the install area.
milardovich has quit [Remote host closed the connection]
<havenwood> ycyclist: You can always have a Gemfile and add the line: gem 'minitest'
<havenwood> Then when people `bundle` it will get installed.
<ycyclist> yes, well, I'd say it won't hurt too bad to install it for testing. Better than using the OS ruby.
<havenwood> Or for a gem, include the dep in the gemspec.
milardovich has joined #ruby
Slinky_Pete has joined #ruby
<ycyclist> Best for me to just install for now, then bring it up in meetings that it is the recommended standard and that their use of test unit is strongly deprecated legacy.
<ycyclist> I have already done that partly, but the fact that they have chopped it out makes it a little more ticklish.
<ycyclist> Seems to me a sane engineer would have chopped out test unit and forced use of minitest, but well...
marcux has joined #ruby
<havenwood> ycyclist: Maybe they `gem uninstall --all` in their setup or something. Dunno.
<havenwood> It's not normal to uninstall bundled gems.
lagweezle is now known as lagweezle_away
<ycyclist> Well, we are living in a day and age of expansive fatuousness. Ahem.
<ycyclist> Anyway, this is very helpful havenwood. Thank you.
<havenwood> ycyclist: You're welcome.
eckhardt has quit [Ping timeout: 246 seconds]
milardovich has quit [Remote host closed the connection]
cahoots has quit [Ping timeout: 246 seconds]
milardovich has joined #ruby
Xeago has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
al2o3-cr has joined #ruby
ShalokShalom has quit [Ping timeout: 248 seconds]
milardovich has quit [Remote host closed the connection]
coderphive has joined #ruby
Slinky_Pete has quit [Remote host closed the connection]
Slinky_Pete has joined #ruby
Guest39719 has joined #ruby
Slinky_Pete has quit [Ping timeout: 252 seconds]
Seenox has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 240 seconds]
eyeris has joined #ruby
chouhoul_ has quit [Ping timeout: 248 seconds]
michael4 has quit [Ping timeout: 260 seconds]
Guest39719 has quit [Ping timeout: 248 seconds]
<eyeris> Is there any way to make a method yield to a block that yields back to the function, which yields to the block once again?
cahoots has joined #ruby
<Papierkorb> You could pass a Proc to the block. Though, why?
<Papierkorb> Sounds kinda scary
<eyeris> I'd want that proc to be the remainder of the method though.
<eyeris> def f; puts 1; yield; puts 2; yield; puts 3; end; f{ puts 100; yield; puts 200 }
<eyeris> that doesn't work because the yield from the block fails w/ a LocalJumpError
jinie has quit [Ping timeout: 246 seconds]
<Papierkorb> blocks ain't JS generators or coroutines
iszak has quit [Ping timeout: 240 seconds]
cagomez has quit [Remote host closed the connection]
jinie has joined #ruby
<Papierkorb> I mean you could simulate that using an array of procs.
iszak has joined #ruby
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
<matthewd> Maybe you want a Fiber?
<eyeris> I suppose that is the closest.
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<eyeris> naw, it's not worth the allocation a Fiber brings along w/ it
<eyeris> I'll just find a different way :)
<eyeris> It was more of a curiosity, really.
theunraveler has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
theunraveler has quit [Client Quit]
iszak has quit [Ping timeout: 248 seconds]
eyeris has quit [Quit: leaving]
iszak has joined #ruby
iszak has quit [Changing host]
iszak has joined #ruby
bronson has joined #ruby
griffindy has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
coderphive has quit [Quit: coderphive]
milardovich has joined #ruby
lagweezle_away is now known as lagweezle
Guest39719 has joined #ruby
kn-928 has quit [Ping timeout: 248 seconds]
AgentVenom has quit [Quit: Textual IRC Client: www.textualapp.com]
im0nde has quit [Quit: im0nde]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millerti has joined #ruby
Guest39719 has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 252 seconds]
Slinky_Pete has joined #ruby
Slinky_Pete has quit [Ping timeout: 248 seconds]
coderphive has joined #ruby
ur5us has quit [Remote host closed the connection]
__Yiota has joined #ruby
orbyt_ has joined #ruby
milardovich has joined #ruby
coderphive has quit [Ping timeout: 240 seconds]
Slinky_Pete has joined #ruby
goyox86_ has joined #ruby
Paraxial has quit [Remote host closed the connection]
Paraxial has joined #ruby
tcopeland has joined #ruby
ozcanesen has quit [Quit: ozcanesen]
goyox86_ has quit [Read error: Connection reset by peer]
_sfiguser has quit [Quit: Leaving]
goyox86__ has joined #ruby
mim1k has joined #ruby
Slinky_Pete has quit [Remote host closed the connection]
phaul has quit [Ping timeout: 248 seconds]
mim1k has quit [Ping timeout: 260 seconds]
bruce_lee has quit [Read error: Connection reset by peer]
conta2 has joined #ruby
wilbert has quit [Ping timeout: 240 seconds]
marcux has quit [Ping timeout: 248 seconds]
wilbert has joined #ruby
conta2 has quit [Ping timeout: 240 seconds]
goyox86__ has quit [Quit: goyox86__]
marcux has joined #ruby
goyox86_ has joined #ruby
marcux has quit [Quit: leaving]
marcux has joined #ruby
polishdub has quit [Quit: leaving]
goyox86_ has quit [Client Quit]
Asher has quit [Quit: Leaving.]
cdg has joined #ruby
abrcdbr has joined #ruby
skweek has joined #ruby
kn-928 has joined #ruby
cdg_ has quit [Ping timeout: 240 seconds]
goyox86_ has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
jackjackdripper has joined #ruby
kn-928 has quit [Ping timeout: 240 seconds]
enterprisey has joined #ruby
Guest25403 has joined #ruby
<Guest25403> Looking for some resources about compiling ruby C extensions on windows
Guest25403 is now known as Algebr
bruno-__ has quit [Ping timeout: 240 seconds]
<havenwood> Algebr: You might want to look into the Windows Subsystem for Linux (WSL) that's available as a developer option with the latest Windows 10.
<havenwood> Algebr: Or if you really want to stay on the Windows kernel, there's DevKit.
<havenwood> Algebr: TL;DR: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
<havenwood> bash
goyox86 has joined #ruby
goyox86_ has quit [Ping timeout: 260 seconds]
wilbert has quit [Ping timeout: 240 seconds]
<Algebr> WSL isn't available to me
Guest39719 has joined #ruby
goyox86 has quit [Quit: goyox86]
<havenwood> Algebr: Are you using RubyInstaller or Chocolatey?