baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://gist.github.com | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby
sammi` has quit [Read error: Connection reset by peer]
jcarl43 has quit [Quit: WeeChat 2.1]
schneider has quit [Ping timeout: 260 seconds]
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
n0m4d1c has joined #ruby
sammi` has joined #ruby
sammi` has quit [Read error: Connection reset by peer]
schneider has joined #ruby
moei has quit [Quit: Leaving...]
chouhoulis has joined #ruby
sammi` has joined #ruby
moei has joined #ruby
thinkpad has quit [Ping timeout: 240 seconds]
caleBOT_ has joined #ruby
caleBOT has joined #ruby
sammi` has quit [Read error: Connection reset by peer]
ellcs1 has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
thinkpad has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
Andrevan has joined #ruby
alfiemax has joined #ruby
jottr has joined #ruby
sammi` has joined #ruby
sammi` has quit [Read error: Connection reset by peer]
schneider has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
sammi` has joined #ruby
xtsee has joined #ruby
sammi` has quit [Read error: Connection reset by peer]
TomyLobo has quit [Ping timeout: 256 seconds]
schneider has quit [Ping timeout: 248 seconds]
marr has quit [Remote host closed the connection]
sammi` has joined #ruby
cagomez has quit [Remote host closed the connection]
sammi` has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
schneider has joined #ruby
zapata has quit [Read error: Connection reset by peer]
cagomez has quit [Read error: Connection reset by peer]
zapata has joined #ruby
sammi` has joined #ruby
cagomez has joined #ruby
sammi` has quit [Read error: Connection reset by peer]
schneider has quit [Ping timeout: 240 seconds]
cagomez has quit [Ping timeout: 255 seconds]
sammi` has joined #ruby
sammi` has quit [Read error: Connection reset by peer]
schneider has joined #ruby
c0ncealed1 has quit [Remote host closed the connection]
c0ncealed1 has joined #ruby
sammi` has joined #ruby
schneider has quit [Ping timeout: 255 seconds]
sammi` has quit [Read error: Connection reset by peer]
p0p0pr37 has quit [Read error: Connection reset by peer]
p0p0pr37 has joined #ruby
p0p0pr37 has joined #ruby
p0p0pr37 has quit [Changing host]
nitric has quit [Ping timeout: 260 seconds]
sammi` has joined #ruby
jameser has joined #ruby
schneider has joined #ruby
heftig has quit [Quit: heftig]
sammi` has quit [Read error: Connection reset by peer]
jameser has quit [Client Quit]
heftig has joined #ruby
jameser has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
caleBOT has quit [Remote host closed the connection]
caleBOT_ has quit [Remote host closed the connection]
zapata has quit [Ping timeout: 256 seconds]
ccrow has quit [Quit: Ex-Chat]
sammi` has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
sammi` has quit [Read error: Connection reset by peer]
roamingdog has quit [Remote host closed the connection]
arooni_team_b has joined #ruby
kmurphy4 has quit [Quit: kmurphy4]
schneider has joined #ruby
sammi` has joined #ruby
sammi` has quit [Read error: Connection reset by peer]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
sammi` has joined #ruby
<garyserj> baweaver, havenwood: thanks
schneider has quit [Ping timeout: 256 seconds]
sammi` has quit [Read error: Connection reset by peer]
white_lilies has joined #ruby
sammi` has joined #ruby
schneider has joined #ruby
elchingadou has joined #ruby
sammi` has quit [Read error: Connection reset by peer]
tvw has quit [Remote host closed the connection]
garyserj has quit []
schneider has quit [Ping timeout: 240 seconds]
_antares_ has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
cyberg has quit [Quit: Leaving]
schneider has joined #ruby
mroutis has quit [Ping timeout: 256 seconds]
_antares_ has quit [Ping timeout: 255 seconds]
zapata has joined #ruby
arooni_team_b has quit [Quit: ZNC - http://znc.in]
schneider has quit [Ping timeout: 248 seconds]
sameerynho has quit [Ping timeout: 265 seconds]
samort7 has quit []
tag has quit [Quit: Connection closed for inactivity]
schneider has joined #ruby
jenrzzz_ has quit [Ping timeout: 240 seconds]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
cagomez has joined #ruby
orbyt_ has joined #ruby
sammi` has joined #ruby
dinfuehr has quit [Ping timeout: 264 seconds]
sammi` has quit [Read error: Connection reset by peer]
schneider has joined #ruby
dinfuehr has joined #ruby
caleBOT_ has quit [Ping timeout: 265 seconds]
caleBOT has quit [Ping timeout: 265 seconds]
kmurphy4 has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
cagomez has quit [Quit: Leaving]
cagomez has joined #ruby
kmurphy4 has quit [Client Quit]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cagomez> I have a CommandFactory class that passes a `command` to a "base command". However, I'm not sure how/where to test the command it passes to the base command. Example here: https://gist.github.com/cagmz/f71fbb54f27e2fb3494f35a9a614a4a3
mroutis has joined #ruby
<cagomez> Should I just move those lines into the BaseCommand instance itself? the proc seems kind of gratuitous and I have no real reason to pass a proc into the base command. by doing so, I can test the behavior
schneider has joined #ruby
elchingadou has quit [Quit: Leaving]
chouhoulis has quit [Remote host closed the connection]
kmurphy4 has joined #ruby
<baweaver> cagomez: Why are you using a command pattern?
<baweaver> This seems like you could just use items.map(fn)
<baweaver> Command patterns make very little sense in languages with functions.
schneider has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
<baweaver> Most of the Gang of Four patterns were invented in terms of Java without consideration for anonymous functions
<baweaver> because at that point they didn't exist in Java.
<baweaver> A command is a verb in the context of a noun. Functions are in essence verbs. Coercing them to nouns (Objects) doesn't always make sense, and this is especially true in languages like Ruby and Javascript.
schneider has joined #ruby
<baweaver> So short version cagomez, you don't really need the Command pattern in Ruby.
alfiemax has quit [Ping timeout: 255 seconds]
<cagomez> I guess it's not strictly a "command". We have a convention of `DoXCommand` because it enforces the SRP
<baweaver> GoF patterns don't make sense in languages with functional features.
schneider has quit [Ping timeout: 248 seconds]
caleBOT has joined #ruby
<baweaver> I'd have to see the actual code used but I have a feeling you're making it more complicated than it needs to be.
caleBOT_ has joined #ruby
chouhoulis has joined #ruby
<cagomez> baweaver, I probably am. I have a knack for that :\
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
schneider has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
schneider has quit [Ping timeout: 268 seconds]
cagomez has quit [Read error: Connection reset by peer]
schneider has joined #ruby
alfiemax_ has joined #ruby
ciscam has quit [Ping timeout: 255 seconds]
jottr has joined #ruby
AJA4350 has quit [Quit: AJA4350]
bmurt has joined #ruby
chouhoulis has quit [Remote host closed the connection]
ciscam has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
schneider has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
n0m4d1c has quit [Remote host closed the connection]
dviola has quit [Quit: WeeChat 2.1]
schneider has quit [Ping timeout: 248 seconds]
alfiemax_ has quit [Remote host closed the connection]
Janky has quit []
alfiemax has joined #ruby
memo1 has joined #ruby
schneider has joined #ruby
tomaw has quit [Ping timeout: 619 seconds]
schneider has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
arescorpio has joined #ruby
tomaw has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
mroutis has quit [Ping timeout: 248 seconds]
schneider has joined #ruby
_antares_ has joined #ruby
pilne has quit [Quit: Leaving]
schneider has quit [Ping timeout: 240 seconds]
ryzokuken has quit [Remote host closed the connection]
_antares_ has quit [Ping timeout: 240 seconds]
ciscam has quit [Ping timeout: 248 seconds]
schneider has joined #ruby
ciscam has joined #ruby
<tuskkk___> how do I seed some data for rspec feature spec?
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
schneider has quit [Ping timeout: 268 seconds]
schneider has joined #ruby
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
schneider has quit [Ping timeout: 260 seconds]
darkhanb has joined #ruby
schneider has joined #ruby
karapetyan has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
_zach has quit [Ping timeout: 276 seconds]
_zach has joined #ruby
xuanrui has quit [Remote host closed the connection]
schneider has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
memo1 has quit [Quit: WeeChat 1.4]
memo1 has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
howdoi has joined #ruby
memo1 has quit [Ping timeout: 240 seconds]
memo1 has joined #ruby
<memo1> hi, is worthy learn ruby this days?, lookinig the omnipresence of js
schneider has joined #ruby
cagomez has joined #ruby
<baweaver> memo1: what research have you done on the subject?
schneider has quit [Ping timeout: 240 seconds]
kapil___ has joined #ruby
schneider has joined #ruby
caleBOT has joined #ruby
caleBOT_ has joined #ruby
n0m4d1c has joined #ruby
govg has joined #ruby
roamingdog has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
jrich523 has quit [Read error: Connection reset by peer]
jrich523 has joined #ruby
arescorpio has quit [Quit: Leaving.]
roamingd_ has joined #ruby
roamingdog has quit [Ping timeout: 268 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
caleBOT_ has quit [Ping timeout: 268 seconds]
caleBOT has quit [Ping timeout: 268 seconds]
schneider has joined #ruby
Eiam_ has quit [Ping timeout: 240 seconds]
ciscam has quit [Ping timeout: 256 seconds]
ciscam has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
orbyt_ has joined #ruby
schneider has joined #ruby
roamingdog has joined #ruby
roamingd_ has quit [Read error: Connection reset by peer]
schneider has quit [Ping timeout: 240 seconds]
gix- has joined #ruby
gix has quit [Disconnected by services]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
schneider has quit [Ping timeout: 248 seconds]
RougeR has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
jenrzzz has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 276 seconds]
dc1 has quit [Ping timeout: 255 seconds]
schneider has joined #ruby
white_lilies has quit [Ping timeout: 256 seconds]
_antares_ has joined #ruby
cagomez has quit [Remote host closed the connection]
n0m4d1c has quit [Remote host closed the connection]
n0m4d1c has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
hotpancakes has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
n0m4d1c has quit [Ping timeout: 256 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
n0m4d1c has joined #ruby
<memo1> baweaver: just looking the polls. Js and all the frameworks
ramfjord has joined #ruby
<baweaver> Polls are relatively worthless.
schneider has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
schneider has joined #ruby
RougeR has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Quit: dionysus69]
kmurphy4 has quit [Quit: kmurphy4]
n0m4d1c has quit [Read error: Connection reset by peer]
schneider has joined #ruby
n0m4d1c has joined #ruby
_antares_ has quit [Remote host closed the connection]
<memo1> baweaver: my friend, you use ruby for webdevelopment?
clemens3 has joined #ruby
_antares_ has joined #ruby
<Radar> memo1: do you have any questions of substance?
_antares_ has quit [Remote host closed the connection]
<baweaver> We can help you learn Ruby, sure, but many people have already written about whether or not it's the right thing for you.
<baweaver> I'd encourage you to keep searching online for those articles.
<baweaver> But asking which language to use in a Ruby channel is very silly.
_antares_ has joined #ruby
<Radar> 👆🏻
oleo has quit [Quit: Leaving]
CuriousMind has joined #ruby
<CuriousMind> Hi, where can I learn about gem install's configuration options?
schneider has quit [Ping timeout: 276 seconds]
<CuriousMind> I want to learn about them in detail so I understand how the options work and stuff
<baweaver> gem help install
<baweaver> Either that or look it up on Google for an online version or tutorials around it.
roamingdog has quit [Ping timeout: 276 seconds]
n0m4d1c has quit [Ping timeout: 248 seconds]
_antares_ has quit [Remote host closed the connection]
_antares_ has joined #ruby
schneider has joined #ruby
d_kam has quit [Quit: Be back later ...]
<CuriousMind> ok thank you
<dminuoso> Im trying to install a package but gem says error. What do?
<dminuoso> Radar can you help?
* dminuoso sharpens his sword
schneider has quit [Ping timeout: 240 seconds]
c0ncealed1 has quit [Ping timeout: 260 seconds]
n0m4d1c has joined #ruby
c0ncealed1 has joined #ruby
tonini has joined #ruby
<baweaver> pointed question?
<dminuoso> baweaver: Yes it is. Radar is basically forced to provide a meaningful answer now.
anisha has joined #ruby
schneider has joined #ruby
<CuriousMind> I did 'gem install pg' and I was unable to install it. I did 'brew install postgresql' which apparently installed the app but when I do gem list I don't see it. How come?
_antares_ has quit [Remote host closed the connection]
tonini is now known as zastav
zastav is now known as tonini
hotpancakes has quit []
schneider has quit [Ping timeout: 248 seconds]
za1b1tsu has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
_antares_ has joined #ruby
schneider has joined #ruby
CuriousMind has quit [Quit: Page closed]
_antares_ has quit [Remote host closed the connection]
_antares_ has joined #ruby
donofrio has quit [Remote host closed the connection]
n0m4d1c has quit [Read error: Connection reset by peer]
n0m4d1c has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
n0m4d1c_ has joined #ruby
sauvin has joined #ruby
ur5us has quit [Remote host closed the connection]
schneider has joined #ruby
apeiros has joined #ruby
domhnall has joined #ruby
n0m4d1c has quit [Ping timeout: 256 seconds]
<domhnall> hi, im looking to use ruby 2.5 while I have 2.4 install. How would I make the switch? Im on FreeBSD...checking documentation also.
anisha_ has joined #ruby
anisha has quit [Read error: Connection reset by peer]
n13z has quit [Ping timeout: 260 seconds]
n0m4d1c_ has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 264 seconds]
chris349 has quit [Ping timeout: 264 seconds]
<domhnall> hm, something about rvm seems useful. though I installed it but command not available.
<domhnall> rebooting.
domhnall has quit [Quit: leaving]
hays has quit [Ping timeout: 248 seconds]
schneider has joined #ruby
Asher1 has joined #ruby
n0m4d1c has joined #ruby
caleBOT has joined #ruby
caleBOT_ has joined #ruby
schneider has quit [Ping timeout: 256 seconds]
Asher has quit [Ping timeout: 276 seconds]
Asher1 has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
lytol has quit [Remote host closed the connection]
caleBOT_ has quit [Ping timeout: 260 seconds]
caleBOT has quit [Ping timeout: 260 seconds]
schleppel has joined #ruby
schneider has joined #ruby
Asher has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
aufi has joined #ruby
jenrzzz has joined #ruby
d_kam has joined #ruby
domhnall has joined #ruby
schneider has joined #ruby
mtkd has joined #ruby
apeiros has quit [Remote host closed the connection]
d_kam has quit [Ping timeout: 240 seconds]
chris349 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 256 seconds]
_antares_ has quit [Remote host closed the connection]
dc1 has joined #ruby
_antares_ has joined #ruby
reber has joined #ruby
7GHAAT31H has joined #ruby
aufi has quit [Ping timeout: 256 seconds]
_antares_ has quit [Remote host closed the connection]
reber has quit [Remote host closed the connection]
7GHAAT31H has quit [Remote host closed the connection]
reber has joined #ruby
schneider has joined #ruby
Burgestrand has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
shiroeni has joined #ruby
memo1 has quit [Ping timeout: 260 seconds]
_antares_ has joined #ruby
dc1 has quit [Ping timeout: 276 seconds]
ryzokuken has joined #ruby
schneider has joined #ruby
jottr has joined #ruby
d_kam has joined #ruby
sanscoeur has joined #ruby
Burgestrand has quit [Quit: Closing time!]
schneider has quit [Ping timeout: 268 seconds]
Burgestrand has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
domhnall has left #ruby [#ruby]
schneider has joined #ruby
_antares_ has quit [Remote host closed the connection]
d_kam has quit [Quit: Be back later ...]
Burgestrand has quit [Quit: Closing time!]
schneider has quit [Ping timeout: 260 seconds]
DTZUZO has quit [Ping timeout: 240 seconds]
sidx64 has joined #ruby
_antares_ has joined #ruby
_antares_ has quit [Ping timeout: 276 seconds]
sidx64_ has joined #ruby
sidx64 has quit [Ping timeout: 255 seconds]
caleBOT has joined #ruby
sidx64 has joined #ruby
apeiros has joined #ruby
drale2k_ has joined #ruby
sidx64_ has quit [Ping timeout: 256 seconds]
karapetyan has joined #ruby
schneider has joined #ruby
biberu has joined #ruby
caleBOT has quit [Ping timeout: 256 seconds]
vondruch has quit [Ping timeout: 248 seconds]
schneider has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 240 seconds]
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
n13z has joined #ruby
ramfjord has joined #ruby
Tempesta has quit [Quit: See ya!]
TinkerT has quit [Read error: Connection reset by peer]
TinkerT has joined #ruby
Tempesta has joined #ruby
mlkkk has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
mlkkk has quit [Remote host closed the connection]
mlkkk has joined #ruby
suukim has joined #ruby
andikr has joined #ruby
Burgestrand has joined #ruby
schneider has joined #ruby
anisha_ has quit [Ping timeout: 264 seconds]
sysvalve has joined #ruby
tvw has quit [Ping timeout: 256 seconds]
schneider has quit [Ping timeout: 268 seconds]
anisha has joined #ruby
blackmesa1 has joined #ruby
sphenxes has quit [Ping timeout: 248 seconds]
<shiroeni> / buffer 13
shiroeni has quit [Quit: WeeChat 2.1]
claudiuinberlin has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
sphenxes has joined #ruby
blackmesa1 has quit [Ping timeout: 255 seconds]
n0m4d1c has joined #ruby
TomyWork has joined #ruby
ellcs1 has left #ruby [#ruby]
n0m4d1c has quit [Ping timeout: 256 seconds]
blackmesa1 has joined #ruby
amar has joined #ruby
amar has quit [Remote host closed the connection]
schneider has joined #ruby
schneider has quit [Client Quit]
mikecmpbll has joined #ruby
Burgestrand has quit [Quit: Closing time!]
Nussi has quit [Quit: WeeChat 2.1]
schneider has joined #ruby
Burgestrand has joined #ruby
sysvalve has quit [Read error: Connection reset by peer]
sysvalve has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
hahuang65 has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby
claudiuinberlin has quit [Ping timeout: 260 seconds]
d_kam has joined #ruby
mtkd has quit [Ping timeout: 256 seconds]
mtkd has joined #ruby
d_kam has quit [Ping timeout: 265 seconds]
hahuang65 has quit [Ping timeout: 276 seconds]
hahuang65 has joined #ruby
XB23 has joined #ruby
mikecmpbll has joined #ruby
_antares_ has joined #ruby
jottr has joined #ruby
guille-moe has joined #ruby
_antares_ has quit [Ping timeout: 276 seconds]
amar has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
amar has quit [Ping timeout: 256 seconds]
amar has joined #ruby
alex`` has quit [Quit: WeeChat 2.1]
amar has quit [Remote host closed the connection]
amar has joined #ruby
sanscoeur has quit [Remote host closed the connection]
dionysus69 has joined #ruby
dionysus69 has quit [Client Quit]
amar has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
guille-moe has quit [Quit: guille-moe]
guille-moe has joined #ruby
KeyJoo has joined #ruby
KeyJoo has quit [Max SendQ exceeded]
KeyJoo has joined #ruby
caleBOT has joined #ruby
caleBOT_ has joined #ruby
NL3limin4t0r has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
conta has joined #ruby
minimalism has quit [Quit: minimalism]
mostlybadfly has quit [Quit: Connection closed for inactivity]
<NL3limin4t0r> Do you guys know where the best place is to ask a simple xpath question? I checked the #xpath channel, but that seems to be empty.
caleBOT_ has quit [Ping timeout: 265 seconds]
caleBOT has quit [Ping timeout: 265 seconds]
<NL3limin4t0r> I was wondering if in Nokigiri I could write the following:
<NL3limin4t0r> doc.xpath('//ol[not(ancestor::ol | ancestor::ul)] | //ul[not(ancestor::ol | ancestor::ul)]')
<NL3limin4t0r> as something like:
<NL3limin4t0r> doc.xpath('//(ol | ul)[not(ancestor::ol | ancestor::ul)]')
<NL3limin4t0r> but the above is not valid xpath
ur5us has joined #ruby
<dminuoso> NL3limin4t0r: You can do something like that uh give me a moment
<NL3limin4t0r> or even: `doc.xpath('//(ol | ul)[not(ancestor::(ol | ul))]')`
<NL3limin4t0r> dminuoso: sure, I have time =P
alfiemax has joined #ruby
<NL3limin4t0r> I don't have much experience in xpath.
<dminuoso> Curious whether you can use this =)
<NL3limin4t0r> I'll have a look
venmx has joined #ruby
<dminuoso> some $x in //(ol | ul) satisfies $x[not(ancestor::(ol | ul))]
<dminuoso> Something along these lines perhaps
ellcs has joined #ruby
d_kam has joined #ruby
alex`` has joined #ruby
d_kam_ has joined #ruby
ellcs has quit [Client Quit]
jenrzzz has quit [Ping timeout: 256 seconds]
arekushi has quit [Read error: Connection reset by peer]
<dminuoso> ¯\_(ツ)_/¯
<dminuoso> XPath is weird
d_kam has quit [Ping timeout: 260 seconds]
alfiemax has quit [Remote host closed the connection]
Beams has joined #ruby
alfiemax has joined #ruby
DTZUZO has joined #ruby
nayena has joined #ruby
DTZUZO has quit [Client Quit]
alfiemax has quit [Ping timeout: 240 seconds]
<NL3limin4t0r> Hmm, it seems like nokogiri doesn't like the "some satisfies" syntax.
jrich523_ has joined #ruby
Mortomes|Work has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrich523 has quit [Ping timeout: 248 seconds]
<NL3limin4t0r> This seemed pretty valid xpath: `doc.xpath('some $list in (//ol, //ul) satisfies $list[not(ancestor::ol | ancestor::ul)]')`
jrich523_ is now known as jrich523
<NL3limin4t0r> I'll puzzle on later, for now I'll go with my original solution.
<NL3limin4t0r> dminuoso: ty for the link though, I'll need to have a look at that whole page.
sidx64 has joined #ruby
jrich523_ has joined #ruby
d_kam__ has joined #ruby
venmx has quit [Quit: leaving]
guille-moe has quit [Remote host closed the connection]
jrich523 has quit [Ping timeout: 256 seconds]
jrich523_ is now known as jrich523
contradictioned has quit [Ping timeout: 256 seconds]
d_kam_ has quit [Ping timeout: 260 seconds]
alex`` has quit [Quit: WeeChat 2.1]
contradictioned has joined #ruby
Exagone313 has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
pama has joined #ruby
<dminuoso> NL3limin4t0r: Ah nokogiri has only support for XPath 1.0
anikras has joined #ruby
CaptainAmari has joined #ruby
<dminuoso> NL3limin4t0r: From a quick glance there doesn't appear anything you could use.
<anikras> Hi, anyone knows how can I create a similar htaccess in ruby on rails without apache ?
<CaptainAmari> hi guys, i'm trying to understand a function in ruby, can you help me understand what it does? I did try to google it
schneider has quit [Ping timeout: 264 seconds]
plexigras has joined #ruby
<CaptainAmari> specifically what does "#{name}=" do in:
<CaptainAmari> def []=(name, value)
<CaptainAmari> __send__("#{name}=", value)
<dminuoso> CaptainAmari: "#{e}" interpolates a string
<dminuoso> asm>> "#{e}"
<ruby[bot]> dminuoso: I have disassembled your code, the result is at https://eval.in/1005807
<CaptainAmari> dminuoso, ok but then why the =?
<dminuoso> CaptainAmari: Its basically equivalent to `name.to_s + "="`
<CaptainAmari> oh it is a literal =
<dminuoso> Yes.
<CaptainAmari> ALlright. that makes sense. dminuoso thank you!
DoubleMalt has joined #ruby
DoubleMalt has quit [Client Quit]
alex`` has joined #ruby
guille-moe has joined #ruby
GodFather has quit [Ping timeout: 264 seconds]
marr has joined #ruby
amar has joined #ruby
amar has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
contradictioned has quit [Ping timeout: 255 seconds]
Beams has quit [Quit: .]
alfiemax has quit [Ping timeout: 240 seconds]
<NL3limin4t0r> CaptainAmari: It forwards every call you make on `your_object[attribute] = value` to `yourobject.attribute = value`.
<NL3limin4t0r> I forgot the underscore in the last part, but you get the picture.
contradictioned has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
schneider has joined #ruby
<NL3limin4t0r> anikras: I see you found your way to #RubyOnRails for your question.
arekushi has joined #ruby
joro_ has joined #ruby
Beams has joined #ruby
contradictioned has quit [Ping timeout: 256 seconds]
mtkd has quit [Ping timeout: 260 seconds]
<anikras> NL3limin4t0r, yes, thank you
jamesaxl has joined #ruby
mtkd has joined #ruby
contradictioned has joined #ruby
contradictioned has quit [Ping timeout: 256 seconds]
contradictioned has joined #ruby
jottr has joined #ruby
jameser has quit [Ping timeout: 248 seconds]
arne is now known as Bish
jottr has quit [Ping timeout: 256 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
karapetyan has quit [Ping timeout: 265 seconds]
blackmesa1 has quit [Ping timeout: 256 seconds]
ryzokuken has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
amar has joined #ruby
amar has quit [Remote host closed the connection]
CrazyEddy has quit [Remote host closed the connection]
guille-moe has quit [Remote host closed the connection]
cadillac_ has quit [Read error: Connection reset by peer]
kapil___ has quit [Quit: Connection closed for inactivity]
cadillac_ has joined #ruby
hlmjr has quit [Quit: Konversation terminated!]
RougeR has quit [Ping timeout: 260 seconds]
elphe has joined #ruby
guille-moe has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
Beams has quit [Quit: .]
elphe has quit [Quit: leaving]
elphe has joined #ruby
ramfjord has joined #ruby
drale2k_ has joined #ruby
Beams has joined #ruby
alfiemax has joined #ruby
Exagone313 has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
contradictioned has quit [Ping timeout: 256 seconds]
lipoqil has quit [Quit: Connection closed for inactivity]
contradictioned has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apparition has joined #ruby
drale2k_ has joined #ruby
mtkd has quit []
drale2k_ has quit [Client Quit]
mtkd has joined #ruby
GodFather has joined #ruby
banisterfiend has joined #ruby
aufi has joined #ruby
guille-moe has quit [Remote host closed the connection]
conta has quit [Ping timeout: 256 seconds]
cliluw has quit [Read error: Connection reset by peer]
banisterfiend has quit [Client Quit]
guille-moe has joined #ruby
sysvalve has quit [Ping timeout: 276 seconds]
banisterfiend has joined #ruby
GodFather has quit [Ping timeout: 268 seconds]
alfiemax has quit [Ping timeout: 256 seconds]
ldnunes has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guille-moe has quit [Remote host closed the connection]
guille-moe has joined #ruby
moei has quit [Quit: Leaving...]
CaptainAmari has quit [Quit: Leaving]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Beams has quit [Quit: .]
redlegion has quit [Read error: Connection reset by peer]
_aeris_ has quit [Read error: Connection reset by peer]
jnollette has quit [Write error: Connection reset by peer]
_aeris_ has joined #ruby
redlegion has joined #ruby
GodFather has joined #ruby
d_kam__ has quit [Quit: Lingo: www.lingoirc.com]
banisterfiend has joined #ruby
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
karapetyan has joined #ruby
AJA4350 has joined #ruby
conta1 has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
sidx64 has joined #ruby
karapetyan has quit [Ping timeout: 256 seconds]
mostlybadfly has joined #ruby
yeticry has joined #ruby
shinnya has joined #ruby
Cavallari has joined #ruby
Beams has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
jnollette has joined #ruby
test1337 has joined #ruby
<test1337> i wanna learn ruby, in order to touch some boobie
test1337 has left #ruby ["Leaving"]
banisterfiend has joined #ruby
alfiemax has joined #ruby
banisterfiend has quit [Client Quit]
drale2k_ has joined #ruby
jameser has joined #ruby
donofrio has joined #ruby
synthroid has joined #ruby
alfiemax has quit [Ping timeout: 268 seconds]
guille-moe has quit [Remote host closed the connection]
guille-moe has joined #ruby
kmurphy4 has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
jottr has joined #ruby
banisterfiend has joined #ruby
MedubzZ has joined #ruby
kmurphy4 has quit [Client Quit]
jottr has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
guille-moe has quit [Remote host closed the connection]
MedubzZ has quit [Quit: Leaving]
MedubzZ has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MedubzZ has quit [Client Quit]
MedubzZ has joined #ruby
banisterfiend has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has quit [Client Quit]
MedubzZ has quit [Client Quit]
dano has joined #ruby
guille-moe has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
anikras has quit [Quit: Ex-Chat]
guille-moe has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 265 seconds]
mroutis has joined #ruby
CrazyEddy has joined #ruby
nowhere_man has joined #ruby
guille-moe has joined #ruby
caleBOT has joined #ruby
caleBOT_ has joined #ruby
sysvalve has joined #ruby
Asher has quit [Ping timeout: 256 seconds]
caleBOT_ has quit [Ping timeout: 240 seconds]
caleBOT has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
mroutis has quit [Ping timeout: 240 seconds]
pama has quit [Remote host closed the connection]
redlegion has quit [Remote host closed the connection]
redlegion has joined #ruby
caleBOT has joined #ruby
moei has joined #ruby
ramfjord has joined #ruby
Beams has joined #ruby
jameser has joined #ruby
caleBOT has quit [Ping timeout: 256 seconds]
Asher has joined #ruby
n0m4d1c has joined #ruby
jameser has quit [Client Quit]
karapetyan has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
white_lilies has joined #ruby
Zaab1t has joined #ruby
dionysus69 has quit [Quit: dionysus69]
Asher has quit [Ping timeout: 276 seconds]
mrBen2k2k2k_ has quit [Remote host closed the connection]
guille-moe has quit [Remote host closed the connection]
guille-moe has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
karapetyan has quit [Remote host closed the connection]
ghoti has joined #ruby
karapetyan has joined #ruby
mtkd has quit [Ping timeout: 255 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
mtkd has joined #ruby
elphe has quit [Quit: leaving]
white_lilies has quit [Ping timeout: 240 seconds]
dc1 has joined #ruby
nowhere_man has quit [Ping timeout: 255 seconds]
_antares_ has joined #ruby
reber has quit [Remote host closed the connection]
reber has joined #ruby
_antares_ has quit [Ping timeout: 256 seconds]
dc1 has quit [Ping timeout: 265 seconds]
drale2k_ has quit [Quit: Textual IRC Client: www.textualapp.com]
karapetyan has quit [Remote host closed the connection]
Rapture has joined #ruby
karapetyan has joined #ruby
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
elphe has joined #ruby
amar has joined #ruby
k0mpa has joined #ruby
white_lilies has joined #ruby
alfiemax has quit [Remote host closed the connection]
memo1 has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
white_lilies has quit [Ping timeout: 240 seconds]
markand has joined #ruby
<markand> hello
<markand> is there something wrong with the documentation? when you go to the stdlib home you have a different page than modules
ramfjord has joined #ruby
<markand> http://ruby-doc.org/stdlib-2.5.1/ -> then selecting a topic like fnctl brings a very different page
synthroid has quit [Remote host closed the connection]
oleo has joined #ruby
Asher has joined #ruby
karapetyan has quit [Remote host closed the connection]
synthroid has joined #ruby
karapetyan has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
Asher has quit [Ping timeout: 256 seconds]
marens_ is now known as marens
suukim has quit [Quit: Konversation terminated!]
k0mpa has quit [Ping timeout: 255 seconds]
jottr has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: Closing time!]
Burgestrand has joined #ruby
_antares_ has joined #ruby
sidx64 has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
sidx64 has quit [Client Quit]
govg has quit [Ping timeout: 240 seconds]
sidx64 has joined #ruby
apparition has quit [Quit: Bye]
_antares_ has quit [Ping timeout: 255 seconds]
nowhere_man has joined #ruby
blackmesa1 has joined #ruby
n0m4d1c has joined #ruby
coderphive has joined #ruby
venmx has joined #ruby
Beams has quit [Quit: .]
coderphive has quit [Quit: coderphive]
grilix_ has joined #ruby
chouhoulis has joined #ruby
coderphive has joined #ruby
venmx has quit [Quit: leaving]
karapety_ has joined #ruby
venmx has joined #ruby
mtkd has quit []
Beams has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
mtkd has joined #ruby
cyberg has joined #ruby
XB23 has quit [Remote host closed the connection]
banisterfiend has joined #ruby
Cavallari has quit [Quit: Cavallari]
nayena has quit [Ping timeout: 248 seconds]
excel_girl has joined #ruby
<excel_girl> Good morning. Is there a beginner friendly resource for someone who has some python experience? I am looking for a list that names a certain library in Python and names a corresponding library in python.
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> excel_girl: This doesn't have library info, but it has a quick summary of some differences between Python and Ruby: https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-python/
jrich523 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
TomyWork has quit [Remote host closed the connection]
<havenwood> excel_girl: I don't know of a Python/Ruby stdlib comparison but we'd be happy to help here. For gems there are a few resources like:
<excel_girl> havenwood: Thank you so much! This is awesome
<darix> excel_girl: just using the search on rubygems.org might be a good start too
<darix> depending on the libraries you need
<excel_girl> I was looking for simple libraries like -- os, subprocess, requests, json, datetime, shutil(for moving files), email(for sending email) and what not
<excel_girl> darix: ^^^^^^^^^^^^^^^
<darix> ah
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
<mnemon> excel_girl: have you looked at the stdlib contents? https://ruby-doc.org/stdlib-2.4.1/
<darix> excel_girl: os/subprocess => popen* and friends. I guess. requests ... depending on what exact use case ... I liked "httpclient", faraday also seems popular, mechanize
cagomez has joined #ruby
<darix> datetime might require at most a require 'date'
<darix> shtuils = fileutils
schneider has quit [Ping timeout: 240 seconds]
<darix> email = I can really recommend the "mail" gem
<excel_girl> mnemon: No I haven't. I will now. Thank you :)
<darix> oh and yes stdlib docs
n0m4d1c has quit [Remote host closed the connection]
n0m4d1c has joined #ruby
raynold has quit []
schneider has joined #ruby
_antares_ has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 264 seconds]
shinnya has quit [Ping timeout: 248 seconds]
tonini has quit [Quit: Connection closed for inactivity]
n0m4d1c has quit [Ping timeout: 265 seconds]
schneider has quit [Ping timeout: 248 seconds]
_antares_ has quit [Ping timeout: 256 seconds]
Beams has quit [Quit: .]
RougeT430 has joined #ruby
schneider has joined #ruby
Beams has joined #ruby
chocoelho has joined #ruby
RougeR has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Remote host closed the connection]
DTZUZO has joined #ruby
caleBOT has joined #ruby
caleBOT_ has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: Closing time!]
chocoelho has quit [Client Quit]
chouhoulis has joined #ruby
biberu\ has joined #ruby
chouhoul_ has joined #ruby
chocoelho has joined #ruby
chouhou__ has joined #ruby
chouhou__ has quit [Read error: Connection reset by peer]
chouhou__ has joined #ruby
dano has quit [Quit: Leaving]
synthroid has quit [Remote host closed the connection]
biberu has quit [Ping timeout: 240 seconds]
elphe has quit [Ping timeout: 268 seconds]
chouhoulis has quit [Ping timeout: 264 seconds]
chouhoul_ has quit [Ping timeout: 255 seconds]
mtkd has quit []
guille-moe has quit [Remote host closed the connection]
guille-moe has joined #ruby
mtkd has joined #ruby
rouget430__ has joined #ruby
synthroid has joined #ruby
jcarl43 has joined #ruby
RougeT430 has quit [Ping timeout: 248 seconds]
amar_ has joined #ruby
aufi has quit [Ping timeout: 240 seconds]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TomyLobo has joined #ruby
chocoelho has quit [Remote host closed the connection]
chocoelho has joined #ruby
amar has quit [Ping timeout: 256 seconds]
andikr has quit [Remote host closed the connection]
excel_girl has quit [Quit: Page closed]
amar_ has quit [Ping timeout: 260 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
blackmesa1 has quit [Ping timeout: 255 seconds]
blackmesa1 has joined #ruby
Asher has joined #ruby
alfiemax has joined #ruby
Dbugger has joined #ruby
conta1 has quit [Ping timeout: 248 seconds]
Asher has quit [Ping timeout: 248 seconds]
anisha has quit [Quit: This computer has gone to sleep]
anisha has joined #ruby
mlkkk has quit [Remote host closed the connection]
sysvalve has quit [Quit: Leaving]
anisha has quit [Client Quit]
_antares_ has joined #ruby
regedit has joined #ruby
mohsen_1 has joined #ruby
blackmesa1 has quit [Ping timeout: 276 seconds]
Asher has joined #ruby
karapety_ has quit [Remote host closed the connection]
chocoelho has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
TomyLobo has quit [Read error: Connection reset by peer]
karapetyan has quit [Ping timeout: 240 seconds]
anisha has joined #ruby
darkhanb has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nitric has joined #ruby
kevinburke has joined #ruby
guille-moe has quit [Remote host closed the connection]
MedubzZ has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
ryzokuken has joined #ruby
ixti has joined #ruby
MedubzZ has quit [Quit: Leaving]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
guille-moe has joined #ruby
leslie has joined #ruby
chouhou__ has quit [Remote host closed the connection]
howdoi has joined #ruby
chouhoulis has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
chocoelho has joined #ruby
chouhoul_ has joined #ruby
<havenwood> baweaver: +1 .:
chouhou__ has joined #ruby
chouho___ has joined #ruby
chouh____ has joined #ruby
ixti has quit [Quit: WeeChat 2.1]
chouhoulis has quit [Ping timeout: 265 seconds]
ixti has joined #ruby
chouhoulis has joined #ruby
chouhoul_ has quit [Ping timeout: 256 seconds]
cschneid_ has joined #ruby
chouhoul_ has joined #ruby
chocoelho has quit [Read error: Connection reset by peer]
chocoelho has joined #ruby
chouhou__ has quit [Ping timeout: 240 seconds]
chouhou__ has joined #ruby
chouho___ has quit [Ping timeout: 255 seconds]
chouho___ has joined #ruby
amar has joined #ruby
chouh____ has quit [Ping timeout: 265 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
chouh____ has joined #ruby
chouhoulis has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
chouhoul_ has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby
chouhou__ has quit [Ping timeout: 265 seconds]
ericx2x has joined #ruby
amar has quit [Ping timeout: 248 seconds]
<ericx2x> Can someone take a look at this error? I can't seem to install this rubyracer gem https://imgur.com/a/q8UpdtH
chouhou__ has joined #ruby
chouho___ has quit [Ping timeout: 240 seconds]
chouho___ has joined #ruby
<ericx2x> The error log it wants me to look into is gibberish: https://imgur.com/a/3mQahZP
chouh____ has quit [Ping timeout: 265 seconds]
caleBOT has quit [Ping timeout: 265 seconds]
caleBOT_ has quit [Ping timeout: 265 seconds]
orbyt_ has joined #ruby
<havenwood> ericx2x: Can you just install Node.js rather than using the Ruby Racer?
chouh____ has joined #ruby
chouhoulis has quit [Ping timeout: 248 seconds]
<havenwood> ericx2x: It's saying: "You have to install development tools first."
chouhoulis has joined #ruby
<havenwood> ericx2x: sudo apt-get update && sudo apt-get install build-essential
nowhere_man has joined #ruby
chouhoul_ has quit [Ping timeout: 255 seconds]
<havenwood> ericx2x: If you're using the ruby apt package, make sure the ruby-dev package is installed: sudo apt-get install ruby-dev
chouhoul_ has joined #ruby
nadir has joined #ruby
chouhou__ has quit [Ping timeout: 256 seconds]
chouhou__ has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
chouho___ has quit [Ping timeout: 276 seconds]
chouho___ has joined #ruby
chouh____ has quit [Ping timeout: 264 seconds]
biberu\ has quit []
chouh____ has joined #ruby
biberu has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
n0m4d1c has joined #ruby
sidx64 has joined #ruby
chouhoulis has joined #ruby
chouhoul_ has quit [Ping timeout: 260 seconds]
<ericx2x> havenwood, thanks havenwood. I didn't realize rails could rely on node.js with that build essentials command.. still new to rails
chouhou__ has quit [Ping timeout: 276 seconds]
ldepandis has joined #ruby
chouho___ has quit [Ping timeout: 264 seconds]
graft has joined #ruby
chouh____ has quit [Ping timeout: 256 seconds]
venmx has quit [Ping timeout: 260 seconds]
leslie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamiejackson has joined #ruby
grilix_ has quit [Read error: Connection reset by peer]
grilix_ has joined #ruby
<havenwood> ericx2x: build-essential is the apt general build tools package
<havenwood> ericx2x: Rails asset pipeline can use Node though. It *just works*.
<havenwood> ericx2x: sudo apt-get install nodejs
<havenwood> ericx2x: Also, modern Rails has Yarn and Webpack support.
MedubzZ has joined #ruby
<havenwood> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<havenwood> ericx2x: IMHO, nodejs is your best bet for a Javascript runtime.
raynold has joined #ruby
MedubzZ has quit [Client Quit]
raynold has quit [Excess Flood]
dviola has joined #ruby
raynold has joined #ruby
banisterfiend has joined #ruby
guille-moe has quit [Ping timeout: 260 seconds]
amar has joined #ruby
Beams has quit [Quit: .]
Eiam has joined #ruby
karapetyan has joined #ruby
Beams has joined #ruby
_antares_ has quit [Remote host closed the connection]
amar has quit [Ping timeout: 248 seconds]
sanscoeur has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
graft has quit [Ping timeout: 240 seconds]
sidx64_ has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_antares_ has joined #ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ldepandis has joined #ruby
sidx64 has quit [Ping timeout: 240 seconds]
chocoelho has quit [Quit: Konversation terminated!]
chocoelho has joined #ruby
MedubzZ has joined #ruby
MedubzZ has quit [Client Quit]
memo1 has quit [Ping timeout: 240 seconds]
graft has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Remote host closed the connection]
<ericx2x> Thanks for the info havenwood
<ericx2x> Not exactly sure what a JSRuntime is though? Does rails have a JS runtime? I'll have to look it up later
<ericx2x> Right now I'm just focusing on getting my rails app over to another server and figuring out all the random errors along the way... like this? https://imgur.com/a/lVbj47y
<havenwood> ericx2x: That just means a JavaScript runtime. The JavaScript language.
<ericx2x> Oh, so JS Runtime is what lets you use JS code and that has to be downloaded onto the machine. Got it
alfiemax has joined #ruby
caleBOT has joined #ruby
caleBOT_ has joined #ruby
Dbugger has quit [Quit: Leaving]
<ericx2x> Sorry to ask another question so soon but what would you do if you got this error? https://imgur.com/a/lVbj47y
SeepingN has joined #ruby
Beams has quit [Quit: .]
<Eiam> ericx2x: I'd learn how to read backtraces!
<Eiam> ericx2x: its telling you that it cannot find one of your requirements
GodFather has joined #ruby
<Eiam> you may need to be more specific in your require path, or modify your env variables
Mike11 has joined #ruby
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
mtkd has quit []
sidx64_ has quit [Read error: Connection reset by peer]
<ericx2x> Thanks for the response Eiam but I don't know what you mean. Where can I be more specific in my require path or modify my env variables? I'll look into this. Sorry if my newbness is annoying :x
<Eiam> so when your code in /home/name/vendor/bundle etc etc is executing, it hits "require kgio_ext"
<Eiam> then it goes to FIND kgio_ext and it cannot, hence the error
<Eiam> so you can be more specific about where it is, "require_relative "../blah/kgio_exit" "
<Eiam> or you can ensure that Ruby has more search paths to look in when it tries on its own
<ericx2x> Do I need to be more specific in my Gemfile ?
<Eiam> no thats not what the gemfile does
<Eiam> ericx2x: have you run bundle install?
<Eiam> do you know that kgio_ext has been installed?
<ericx2x> Sec on that. I've done multiple bundle installs because I'm trying to deploy.. let me see if there is any differences with the types of bundle installs I do
pskosinski has quit [Ping timeout: 240 seconds]
_antares_ has quit [Remote host closed the connection]
<ericx2x> so in "vim vendor/bundle/ruby/2.3.0/gems/kgio-2.9.3/lib/kgio.rb" there is on line 21 "require 'kgio_ext'"
amelliaa has joined #ruby
mikecmpbll has joined #ruby
caleBOT has joined #ruby
caleBOT_ has joined #ruby
<ericx2x> I need to be more specific on this line Eiam? I don't even know what kgio_ext is or how to ensure it gets required
flips has quit [Ping timeout: 268 seconds]
orbyt_ has joined #ruby
erlend has quit [Ping timeout: 240 seconds]
<Eiam> ericx2x: and what are your load paths? ruby -e 'puts $:'
RougeT430 has joined #ruby
chocoelho has quit [Remote host closed the connection]
<Eiam> and `gem which kgio_ext` ?
cliluw has joined #ruby
chocoelho has joined #ruby
flips has joined #ruby
<ericx2x> "/var/lib/gems/2.3.0/gems/kgio-2.11.2/lib/kgio_ext.so"
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Read error: Connection reset by peer]
<ericx2x> Eiam,
sameerynho has joined #ruby
mlkkk has joined #ruby
caleBOT has joined #ruby
caleBOT_ has joined #ruby
rouget430__ has quit [Ping timeout: 240 seconds]
pskosinski has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anjen has joined #ruby
_antares_ has joined #ruby
caleBOT_ has quit [Ping timeout: 248 seconds]
caleBOT has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
rgb-one has joined #ruby
<rgb-one> Hey
erlend has joined #ruby
leslie has joined #ruby
<rgb-one> I'm running `sass --watch sass/style.sass:css/style.css --compass` and I get `ERROR: Cannot load compass.`, why is this?
_antares_ has quit [Remote host closed the connection]
<ericx2x> I think you need to install compass
<ericx2x> 'gem install compass' ?
<rgb-one> I see
<rgb-one> ok thanks
apeiros__ has joined #ruby
anjen has quit [Quit: anjen]
mlkkk has quit [Ping timeout: 264 seconds]
apeiros has quit [Ping timeout: 256 seconds]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
ixti has quit [Quit: WeeChat 2.1]
apeiros__ has quit [Ping timeout: 264 seconds]
<ericx2x> Eiam, it's complaining about almost all the requires im my project..
<Eiam> ericx2x: `gem env` shows the same as puts $: right?
pilne has joined #ruby
<ericx2x> I have made several require lines specific
<ericx2x> but they keep coming.. I think I need to change something else
<ericx2x> Eiam,
<Eiam> oh, hm its in the path
<Eiam> yeah if you are doing a bunch of path modifications there is a better solution higher up in the stack
<Eiam> like setting the search paths etc
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
<ericx2x> I don't really get what that means.. but If you can point me in the direction I'd be willing to figure it out
<ericx2x> just want to get this stupid app to run..
caleBOT_ has joined #ruby
caleBOT has joined #ruby
<Eiam> pretty sure the issue is the bundle
ramfjord has joined #ruby
sauvin has quit [Remote host closed the connection]
caleBOT_ has quit [Read error: No route to host]
caleBOT has quit [Read error: No route to host]
<ericx2x> uhhh, what do you mean the bundle?
<ericx2x> I need to do a different 'bundle install'?
caleBOT has joined #ruby
caleBOT_ has joined #ruby
<Eiam> its been awhile since I've used bundler so im trying to think
<ericx2x> is it a bad thing to make all my requires specific?
<ericx2x> I can just keep going.. I'm just afraid there might be a hundred+
<Eiam> ericx2x: whats `bundle env` ?
<Eiam> ericx2x: yeah its a bad thing in general, it makes it less portable. you want environments to control relativeness and search paths usually
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
caleBOT has quit [Remote host closed the connection]
caleBOT_ has quit [Remote host closed the connection]
<Eiam> humor me, add kgio to your gemfile
<Eiam> do another bundle install
caleBOT has joined #ruby
caleBOT_ has joined #ruby
<Eiam> then try again, see if that works. it shouldn't matter cause unicorn looks like it requires it already
<Eiam> also, https://rubygems.org/gems/kgio says its legacy and not to use it on ruby 2.3
<Eiam> and you are ON ruby 2.3, so I'm curious whats forcing the requirement
orbyt_ has joined #ruby
<ericx2x> wow, uhh hold on
<ericx2x> i just did bundle install --nodeployment and i dont see them anymore
<ericx2x> one sec..
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
orbyt_ has quit [Client Quit]
chocoelho has quit [Quit: Konversation terminated!]
rouget430__ has joined #ruby
RougeT430 has quit [Read error: Connection reset by peer]
RougeT430 has joined #ruby
cajone has quit [Read error: Connection reset by peer]
chocoelho has joined #ruby
caleBOT_ has quit [Ping timeout: 268 seconds]
caleBOT has quit [Ping timeout: 268 seconds]
cajone has joined #ruby
rouget430__ has quit [Ping timeout: 240 seconds]
rouget430__ has joined #ruby
nowhere_man has joined #ruby
sjames1 has joined #ruby
<sjames1> hmm
<sjames1> exit
sjames1 has quit [Client Quit]
mtkd has joined #ruby
RougeT430 has quit [Ping timeout: 248 seconds]
GodFather has quit [Read error: No route to host]
banisterfiend has joined #ruby
AgentVenom has joined #ruby
Sembei has joined #ruby
MedubzZ has joined #ruby
MedubzZ has quit [Client Quit]
banisterfiend has quit [Remote host closed the connection]
nima_m has joined #ruby
nima_m has quit [Client Quit]
RougeT430 has joined #ruby
alex`` has quit [Quit: WeeChat 2.1]
nima_m has joined #ruby
chocoelho has quit [Ping timeout: 240 seconds]
raul782 has joined #ruby
mohsen_1 has quit [Quit: Connection closed for inactivity]
rouget430__ has quit [Ping timeout: 255 seconds]
za1b1tsu has quit [Ping timeout: 240 seconds]
chocoelho has joined #ruby
MedubzZ has joined #ruby
raul782_ has joined #ruby
karapetyan has joined #ruby
MedubzZ has quit [Client Quit]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raul782 has quit [Ping timeout: 265 seconds]
MedubzZ has joined #ruby
nima_m has quit [Quit: nima_m]
nima_m has joined #ruby
noodle has quit [Ping timeout: 256 seconds]
karapetyan has quit [Ping timeout: 256 seconds]
MedubzZ has left #ruby [#ruby]
Cavallari has joined #ruby
elphe has joined #ruby
leslie has quit [Quit: Textual IRC Client: www.textualapp.com]
raul782_ has quit []
RougeT430 has quit [Ping timeout: 260 seconds]
nima_m_ has joined #ruby
apeiros has joined #ruby
elphe has quit [Ping timeout: 256 seconds]
nima_m has quit [Ping timeout: 240 seconds]
nima_m_ is now known as nima_m
caleBOT has joined #ruby
caleBOT_ has joined #ruby
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
nima_m has quit [Quit: nima_m]
nima_m has joined #ruby
nitric_ has joined #ruby
nitric has quit [Ping timeout: 256 seconds]
alex`` has joined #ruby
alex`` has quit [Read error: Connection reset by peer]
nima_m has quit [Quit: nima_m]
nima_m has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
apeiros has quit [Read error: Connection reset by peer]
kmurphy4 has joined #ruby
hinbody has joined #ruby
hinbody has left #ruby [#ruby]
GodFather has joined #ruby
alfiemax has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
RougeT430 has joined #ruby
nima_m has quit [Quit: nima_m]
noodle has joined #ruby
vondruch has joined #ruby
alex`` has joined #ruby
venmx has joined #ruby
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
schneider has joined #ruby
kapil___ has joined #ruby
apeiros has joined #ruby
minimalism has joined #ruby
rgb-one has quit [Quit: Konversation terminated!]
keggsmurph21 has joined #ruby
kmurphy4 has quit [Quit: Leaving]
amar has joined #ruby
venmx has quit [Remote host closed the connection]
jamiejackson has quit [Ping timeout: 256 seconds]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
dionysus70 is now known as dionysus69
jenrzzz has joined #ruby
chocoelho has quit [Quit: Konversation terminated!]
chocoelho has joined #ruby
kirun has joined #ruby
tdy has quit [Ping timeout: 264 seconds]
tolerablyjake has joined #ruby
tolerablyjake has quit [Client Quit]
tolerablyjake has joined #ruby
<ericx2x> Eiam, ... I just had to delete my bundle folder.. I'm an idiot hah
jamiejackson has joined #ruby
jcalla has quit [Quit: Leaving]
schleppel has quit [Quit: Konversation terminated!]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chocoelho has quit [Quit: Konversation terminated!]
chocoelho_ has joined #ruby
ldnunes has quit [Quit: Leaving]
chocoelho has joined #ruby
chocoelho_ has quit [Read error: Connection reset by peer]
Dbugger has joined #ruby
synthroid has quit []
tolerablyjake has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
memo1 has joined #ruby
jenrzzz_ has joined #ruby
sidx64 has joined #ruby
alex`` has quit [Quit: WeeChat 2.1]
karapetyan has joined #ruby
Exagone313 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
caleBOT__ has joined #ruby
caleBO___ has joined #ruby
sameerynho has quit [Ping timeout: 248 seconds]
sidx64 has quit [Ping timeout: 256 seconds]
Mike11 has quit [Quit: Leaving.]
_antares_ has joined #ruby
caleBOT_ has quit [Ping timeout: 256 seconds]
caleBOT has quit [Ping timeout: 256 seconds]
Cavallari has quit [Quit: Cavallari]
chocoelho has quit [Read error: Connection reset by peer]
chocoelho_ has joined #ruby
* tolerablyjake waves
coderphive has quit [Quit: coderphive]
<tolerablyjake> I'm trying to write a regex that captures is a string starts with "the" and ends in "app"
<tolerablyjake> I have this working: %r{^(?<the>the)?.*(?<app>(?<=app))?$}i
<tolerablyjake> Does anyone here know a better way to do that? I'm not super great at this sort of thing
_antares_ has quit [Ping timeout: 268 seconds]
<apeiros> tolerablyjake: why do you capture a look-ahead? it'll always be empty
<apeiros> or actually a look-behind
<apeiros> and your "the" and "app" parts are optional - why?
dinfuehr has quit [Ping timeout: 240 seconds]
<tolerablyjake> apeiros cause I have no idea what i'm doing : ) . I'm trying to tell by the match data if either or matched, if the look behind matches I get an empty string, and I get nil if it doesn't
ramfjord has quit [Ping timeout: 256 seconds]
* tolerablyjake getting more code to share
<apeiros> you said "starts with 'the' ***AND*** ends in 'app'"
<apeiros> what is it now? "and" or "or"?
dc1 has joined #ruby
dinfuehr has joined #ruby
ramfjord has joined #ruby
grilix_ has quit [Ping timeout: 240 seconds]
biberu has quit []
chocoelho_ has quit [Remote host closed the connection]
mtkd has quit []
<tolerablyjake> apeiros sorry, my first question wasn't very clear. I want to know both. The gist has more code that hopefully gives a better idea what I'm shooting for
<apeiros> title.sub(/\A(The )?/, 'The ').sub(/( app)?\z/, ' app')
ramfjord has quit [Ping timeout: 268 seconds]
kirun has quit [Quit: Konversation terminated!]
<apeiros> throw in some //i flags if necessary
<tolerablyjake> nice, I like that, a lot clearer. I had just learned about the ? after parens a minute ago
<tolerablyjake> thanks!
<apeiros> yw
<apeiros> ? are quantifiers which can be applied to anything. it's the same as {0,1}
<apeiros> also notice that ^ is not begin of string, but begin of (any) line. \A is begin of string.
<apeiros> same for $, it's end of line. \z is end of string.
dc1 has quit [Ping timeout: 268 seconds]
ramfjord has joined #ruby
claw has quit [Ping timeout: 256 seconds]
claw has joined #ruby
cadillac_ has quit [Ping timeout: 248 seconds]
tdy has joined #ruby
<tolerablyjake> nice, good to know
chocoelho has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ramfjord has joined #ruby
ca7un has joined #ruby
chocoelho_ has joined #ruby
chocoelho has quit [Read error: Connection reset by peer]
schneider has quit [Quit: WeeChat 2.0.1]
AgentVenom has quit [Quit: Textual IRC Client: www.textualapp.com]
alex`` has joined #ruby
chouhoul_ has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
Zaab1t has quit [Quit: Zaab1t]
chouhoulis has quit [Ping timeout: 260 seconds]
jamiejackson has quit [Ping timeout: 256 seconds]
chouhoul_ has quit [Ping timeout: 264 seconds]
<ericx2x> I have nginx pointing to my rails folder in myapp/public but it won't display anything unless I place an index.html file in there... Is there supposed to be one in there?
mlkkk has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
<nickjj> ericx2x, try adjusting your try_files to load your upstream before an index.html
<nickjj> it follows the order you place them, so if your upstream doesn't match it will fallback to index.html -- which means if you don't supply your upstream, it won't even know to look for it
Guest62531 has quit [Quit: ZNC 1.6.5 - http://znc.in]
<ericx2x> nicj thanks but i'm a little lost there.. I created index.html myself.
<ericx2x> upstream meaning what? 'myapp/public'?
joro_ has quit [Remote host closed the connection]
<ericx2x> ahh finally got it to work
ca7un has quit [Ping timeout: 256 seconds]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
elphe has joined #ruby
ericx2x has quit [Remote host closed the connection]
chocoelho_ has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
amar has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
mikecmpbll has quit [Client Quit]
laska has joined #ruby
Dbugger has quit [Remote host closed the connection]
clemens3 has quit [Ping timeout: 240 seconds]
amelliaa has quit [Quit: -]
<laska> can someone recommend an extensive resource on functional programming in ruby for a novice?
ramfjord has quit [Ping timeout: 260 seconds]
laska has quit [Quit: leaving]
laska has joined #ruby
ramfjord has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chocoelho_ has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
coderphive has joined #ruby
elphe has quit [Ping timeout: 260 seconds]
cschneid_ has quit [Remote host closed the connection]
elphe has joined #ruby
n0m4d1c has quit [Ping timeout: 256 seconds]
cthulchu has quit [Ping timeout: 248 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
icarus has joined #ruby
n0m4d1c has joined #ruby
samosaphile has joined #ruby
coderphive has quit [Quit: coderphive]
tdy has quit [Ping timeout: 240 seconds]
samosaphile has quit [Client Quit]
marr has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
hays has joined #ruby
<hays> are there release schedules for ruby
cschneid_ has quit [Ping timeout: 248 seconds]
<hays> e.g. are there notional dates for 2.5.2 and 2.6?
<hays> looks like maybe every 3 months for bugfix releases
<hays> and maybe yearly for minor version bumps
<hays> although interestingly the mid-year sems to get skipped a fair bit
ramfjord has joined #ruby
kapil___ has joined #ruby
<elomatreb> A new ruby version gets released every Christmas, with bugfix releases as necessary
<hays> just judging by the pattern, looks like minor releases happen in december typically, then there's a release in march and september (mostly)
<hays> how long is support typically
guacamole has joined #ruby
<hays> 3 years and change maybe
minimalism has quit [Quit: minimalism]
<elomatreb> It says 2.3.7 will be EOL'd "soon"
<hays> 2019-03-31
<hays> looks like 2.2 was just EOL'd
minimalism has joined #ruby
keggsmurph21 has quit [Quit: Leaving]
<hays> is there any way to make something immutable, such as an array
awx has quit [Quit: WeeChat 1.6]
robertothais has joined #ruby
<hays> i guess if i am trying to protect whats inside the object, i could make a copy
caleBO___ has quit [Remote host closed the connection]
caleBOT__ has quit [Remote host closed the connection]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
caleBOT has quit [Remote host closed the connection]
caleBOT_ has quit [Remote host closed the connection]
caleBOT_ has joined #ruby
memo1 has quit [Ping timeout: 260 seconds]
caleBOT has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
n0m4d1c has joined #ruby
caleBOT_ has joined #ruby
caleBOT has joined #ruby
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
caleBOT_ has joined #ruby
caleBOT has joined #ruby
caleBOT has quit [Remote host closed the connection]
caleBOT_ has quit [Remote host closed the connection]
caleBOT_ has joined #ruby
caleBOT has joined #ruby
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
caleBOT_ has joined #ruby
caleBOT has joined #ruby
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
caleBOT_ has joined #ruby
caleBOT has joined #ruby
n0m4d1c has quit [Ping timeout: 256 seconds]
caleBOT__ has joined #ruby
reber has quit [Remote host closed the connection]
caleBO___ has joined #ruby
<hays> hmm. strings are mutable. that's different from python
caleB____ has joined #ruby
cale_____ has joined #ruby
caleB____ has quit [Remote host closed the connection]
cale_____ has quit [Read error: Connection reset by peer]
caleB____ has joined #ruby
cale_____ has joined #ruby
cale_____ has quit [Remote host closed the connection]
caleB____ has quit [Remote host closed the connection]
caleB____ has joined #ruby
cale_____ has joined #ruby
caleB____ has quit [Remote host closed the connection]
cale_____ has quit [Remote host closed the connection]
cale_____ has joined #ruby
caleB____ has joined #ruby
cale_____ has quit [Remote host closed the connection]
caleB____ has quit [Remote host closed the connection]
caleBOT_ has quit [Ping timeout: 240 seconds]
caleBOT has quit [Ping timeout: 240 seconds]
caleB____ has joined #ruby
cale_____ has joined #ruby
cale_____ has quit [Remote host closed the connection]
caleB____ has quit [Remote host closed the connection]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
caleBOT_ has quit [Remote host closed the connection]
caleBOT has quit [Remote host closed the connection]
caleBO___ has quit [Ping timeout: 264 seconds]
caleBOT__ has quit [Ping timeout: 264 seconds]
caleBOT has joined #ruby
caleBOT_ has joined #ruby
robertothais has quit [Ping timeout: 268 seconds]
<havenwood> >> [].freeze #hays
<ruby[bot]> havenwood: # => [] (https://eval.in/1006183)
<havenwood> hays: Use the `# frozen_string_literal: true` magic comment and Stings aren't mutable.
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
caleBOT_ has quit [Ping timeout: 260 seconds]
caleBOT has quit [Ping timeout: 260 seconds]
<hays> whoa that's weird
<hays> i don't understand [].freeze
KeyJoo has quit [Ping timeout: 276 seconds]
guille-moe has joined #ruby
<hays> oh. yeah you are just saying I can freeze the array
<hays> yeah, i was hoping to retain mutability via accessors
<hays> from the parent object
<hays> or I should more clearly say the object containing the array