« Back to channel list

#ruby - 08 January 2018

« Back 1 day Forward 1 day »
[00:00:44] milardovich: has joined #ruby
[00:02:06] l_tonz: has joined #ruby
[00:04:00] bronson: has joined #ruby
[00:06:06] cdg: has joined #ruby
[00:07:16] webguynow: has joined #ruby
[00:08:06] l_tonz: has joined #ruby
[00:10:47] Xeago: has joined #ruby
[00:11:27] mtkd: has joined #ruby
[00:11:39] Exagone313: has joined #ruby
[00:14:12] meesles: has joined #ruby
[00:15:29] hfp_work: has joined #ruby
[00:16:00] simonizor: has joined #ruby
[00:16:06] lostandfound: has joined #ruby
[00:16:50] cgfbee: has joined #ruby
[00:17:47] alex``: has joined #ruby
[00:18:33] nyuszika7h: has joined #ruby
[00:19:46] randomstrangerb: has joined #ruby
[00:19:57] Bilge: has joined #ruby
[00:20:09] twe4ked: has joined #ruby
[00:20:25] RealMarc: has joined #ruby
[00:20:38] Fridtjof: has joined #ruby
[00:21:13] cats: has joined #ruby
[00:22:41] prometheus_falli: has joined #ruby
[00:25:12] cremes: has joined #ruby
[00:25:23] lostandfound: has joined #ruby
[00:28:12] leitz: Well, that was a lesson in 'why not use a plain rescue?'
[00:31:23] leitz: Can't you nest a begin, rescue block in a rescue?
[00:31:26] gigetoo: has joined #ruby
[00:34:02] leitz: Nevermind, outsmarted myself.
[00:36:17] randomstrangerb: has joined #ruby
[00:38:03] Hanma[m]: has joined #ruby
[00:38:03] Tagami[m]: has joined #ruby
[00:38:03] Giphy[m]: has joined #ruby
[00:38:03] turt2live: has joined #ruby
[00:38:03] erciccione_[m]: has joined #ruby
[00:38:03] jonjits[m]: has joined #ruby
[00:38:03] aviraldg: has joined #ruby
[00:38:03] haylon: has joined #ruby
[00:38:03] itmerc[m]: has joined #ruby
[00:38:04] torarne: has joined #ruby
[00:38:04] dman[m]: has joined #ruby
[00:38:04] velu_aon[m]: has joined #ruby
[00:38:04] KevinMGranger: has joined #ruby
[00:38:10] zalipuha[m]: has joined #ruby
[00:38:11] dizzy1or5[m]: has joined #ruby
[00:38:11] Matt[m]1: has joined #ruby
[00:38:12] gokul_mr[m]: has joined #ruby
[00:38:59] chocoelho: has joined #ruby
[00:40:42] Ishido: has joined #ruby
[00:42:52] leitz: Any solution to updating the minitest gem when getcwd can't be found?
[00:45:35] leitz: Awesome, other gems depend on minitest, which won't update.
[00:45:38] leitz: Bleagh...
[00:45:50] goatish: has joined #ruby
[00:47:13] leitz: Weird, now it works.
[00:47:20] leitz: Must be nappy time.
[00:50:35] randomstrangerb: has joined #ruby
[00:58:41] randomstrangerb: has joined #ruby
[01:00:44] l_tonz: has joined #ruby
[01:04:52] bronson: has joined #ruby
[01:17:08] shinnya: has joined #ruby
[01:18:25] johno84: has joined #ruby
[01:19:37] Tagami[m]: has joined #ruby
[01:22:08] workmad3: has joined #ruby
[01:24:34] jdawgaz: has joined #ruby
[01:37:26] knight33: has joined #ruby
[01:42:17] houhoulis: has joined #ruby
[01:52:58] maum: has joined #ruby
[01:53:55] drewmcmillan: has joined #ruby
[02:01:34] milardovich: has joined #ruby
[02:03:07] cschneid_: has joined #ruby
[02:05:56] Jameser: has joined #ruby
[02:06:17] bronson: has joined #ruby
[02:08:34] l_tonz: has joined #ruby
[02:08:56] apparition: has joined #ruby
[02:10:02] jrafanie: has joined #ruby
[02:10:38] jxv: has joined #ruby
[02:11:02] maciuszek: has joined #ruby
[02:17:46] spider-mario: has joined #ruby
[02:20:54] eb0t: has joined #ruby
[02:25:02] DmitryBochkarev: has joined #ruby
[02:39:02] jxv: has joined #ruby
[02:43:39] cschneid_: has joined #ruby
[02:47:36] ResidentBiscuit: has joined #ruby
[02:51:46] nadir: has joined #ruby
[02:55:39] jenrzzz: has joined #ruby
[02:55:39] jenrzzz: has joined #ruby
[02:56:21] gizmore: has joined #ruby
[03:03:04] Buzzardpa: has joined #ruby
[03:06:21] abra_ha_m: has joined #ruby
[03:06:58] bronson: has joined #ruby
[03:07:37] cschneid_: has joined #ruby
[03:10:35] randomstrangerb: has joined #ruby
[03:14:58] kiltzman: has joined #ruby
[03:15:55] kiltzman: has joined #ruby
[03:16:26] kiltzman: has joined #ruby
[03:17:01] kiltzman: has joined #ruby
[03:17:56] kiltzman: has joined #ruby
[03:19:02] kiltzman: has joined #ruby
[03:23:29] cschneid_: has joined #ruby
[03:24:01] DmitryBochkarev: has joined #ruby
[03:25:40] cdg: has joined #ruby
[03:27:01] kapil___: has joined #ruby
[03:29:07] ResidentBiscuit: has joined #ruby
[03:31:10] abra_ha_m: has joined #ruby
[03:33:41] nowhere_man: has joined #ruby
[03:37:27] workmad3: has joined #ruby
[03:39:55] drewmcmillan: has joined #ruby
[03:41:48] mjolnird: has joined #ruby
[03:43:30] haxx0r: has left #ruby: ()
[03:44:41] nwm: has joined #ruby
[03:52:58] elphe: has joined #ruby
[03:57:49] govg: has joined #ruby
[04:02:39] uZiel: has joined #ruby
[04:05:53] zwliew: has joined #ruby
[04:07:38] bronson: has joined #ruby
[04:08:56] hahuang65: has joined #ruby
[04:11:23] jtdoncas: has joined #ruby
[04:12:55] jenrzzz: has joined #ruby
[04:13:44] hahuang65: has joined #ruby
[04:14:52] l_tonz: has joined #ruby
[04:16:44] cdg: has joined #ruby
[04:22:41] hahuang65: has joined #ruby
[04:24:50] jtdoncas: has joined #ruby
[04:27:35] prometheus_falli: has joined #ruby
[04:30:48] cschneid_: has joined #ruby
[04:35:33] houhoulis: has joined #ruby
[04:35:45] elphe: has joined #ruby
[04:38:30] l_tonz: has joined #ruby
[04:38:43] jtdoncas: has joined #ruby
[04:51:59] jenrzzz: has joined #ruby
[04:53:34] gix: has joined #ruby
[04:54:46] jtdoncas: has joined #ruby
[05:08:43] bronson: has joined #ruby
[05:11:20] iamarun: has joined #ruby
[05:18:26] nicesignal: has joined #ruby
[05:18:36] Miron: has joined #ruby
[05:25:32] ruby[bot]: has joined #ruby
[05:25:33] ChanServ: +o ruby[bot]
[05:29:30] nwm: has joined #ruby
[05:33:16] jtdoncas: has joined #ruby
[05:33:42] minimalism: has joined #ruby
[05:34:34] alfiemax: has joined #ruby
[05:39:22] halt: has joined #ruby
[05:39:57] nso95: has joined #ruby
[05:40:05] nwm: has joined #ruby
[05:40:40] anisha: has joined #ruby
[05:40:57] Jameser: has joined #ruby
[05:44:12] Dimik: has joined #ruby
[05:44:42] nwm_: has joined #ruby
[05:45:19] jenrzzz: has joined #ruby
[05:47:04] aupadhye: has joined #ruby
[05:51:54] fusta: has joined #ruby
[05:53:54] elphe: has joined #ruby
[06:02:12] Emmanuel_Chanel: has joined #ruby
[06:03:26] milardovich: has joined #ruby
[06:05:24] jenrzzz: has joined #ruby
[06:06:12] jtdoncas: has joined #ruby
[06:08:31] oetjenj: has joined #ruby
[06:09:16] bronson: has joined #ruby
[06:25:24] dinfuehr: has joined #ruby
[06:25:46] ShekharReddy: has joined #ruby
[06:26:53] ur5us: has joined #ruby
[06:39:34] jtdoncas: has joined #ruby
[06:45:26] rippa: has joined #ruby
[06:49:58] oetjenj: has joined #ruby
[06:50:10] cdg: has joined #ruby
[06:50:22] guardianx: has joined #ruby
[06:50:45] oetjenj: has joined #ruby
[06:51:18] Ishido: has joined #ruby
[06:51:31] oetjenj: has joined #ruby
[06:52:18] oetjenj: has joined #ruby
[06:53:03] oetjenj: has joined #ruby
[06:56:38] randomstrangerb: has joined #ruby
[06:57:50] znz_jp: has joined #ruby
[06:58:11] aufi: has joined #ruby
[06:59:19] Jameser: has joined #ruby
[07:01:31] alfiemax: has joined #ruby
[07:05:18] apeiros: has joined #ruby
[07:06:28] rabajaj: has joined #ruby
[07:07:30] ur5us: has joined #ruby
[07:08:32] znz_jp: has joined #ruby
[07:10:11] bronson: has joined #ruby
[07:13:18] mtkd: has joined #ruby
[07:13:32] colstrom: has joined #ruby
[07:13:40] jonjits[m]1: has joined #ruby
[07:13:41] majoh_: has joined #ruby
[07:13:42] justinweiss: has joined #ruby
[07:13:49] dmnd: has joined #ruby
[07:13:58] Tony-St4rk: has joined #ruby
[07:13:59] TheBrayn: has joined #ruby
[07:14:30] haylon: has joined #ruby
[07:14:36] turt2live: has joined #ruby
[07:16:03] KeyJoo: has joined #ruby
[07:16:49] amatas: has joined #ruby
[07:18:07] bokayio: has joined #ruby
[07:18:14] jtdoncas: has joined #ruby
[07:20:13] kiltzman: has joined #ruby
[07:20:56] kiltzman: has joined #ruby
[07:21:14] kiltzman: has joined #ruby
[07:21:50] kiltzman: has joined #ruby
[07:22:15] kiltzman: has joined #ruby
[07:22:45] kiltzman: has joined #ruby
[07:23:51] kiltzman: has joined #ruby
[07:24:17] kiltzman: has joined #ruby
[07:24:58] cschneid_: has joined #ruby
[07:25:44] kiltzman: has joined #ruby
[07:26:07] heinrich5991: has joined #ruby
[07:26:44] phaul: has joined #ruby
[07:27:04] kiltzman: has joined #ruby
[07:28:28] kiltzman: has joined #ruby
[07:29:03] kiltzman: has joined #ruby
[07:29:04] dreinull: has joined #ruby
[07:29:26] dreinull: has joined #ruby
[07:29:28] kiltzman: has joined #ruby
[07:30:04] kiltzman: has joined #ruby
[07:32:05] alfiemax: has joined #ruby
[07:32:35] kiltzman: has joined #ruby
[07:33:30] kiltzman: has joined #ruby
[07:34:01] kiltzman: has joined #ruby
[07:34:37] kiltzman: has joined #ruby
[07:39:03] workmad3: has joined #ruby
[07:41:11] r3kz: has joined #ruby
[07:50:00] burgestrand: has joined #ruby
[07:51:29] cdg: has joined #ruby
[07:53:12] uZiel: has joined #ruby
[07:53:14] jtdoncas: has joined #ruby
[07:53:43] Chuguniy: has joined #ruby
[07:54:49] dionysus69: has joined #ruby
[08:01:24] conta: has joined #ruby
[08:04:48] djbkd: has joined #ruby
[08:05:22] TomyWork: has joined #ruby
[08:08:00] anas: has joined #ruby
[08:09:39] Chuguniy: has joined #ruby
[08:11:16] bronson: has joined #ruby
[08:13:29] ferr: has joined #ruby
[08:17:53] fusta: has joined #ruby
[08:19:50] Toledo: has joined #ruby
[08:20:12] jolamb: has joined #ruby
[08:21:10] ferr: has left #ruby: ("WeeChat 2.0")
[08:23:37] jtdoncas: has joined #ruby
[08:24:28] aufi: has joined #ruby
[08:24:44] tAn: has joined #ruby
[08:26:47] vondruch: has joined #ruby
[08:27:37] Beams: has joined #ruby
[08:27:43] vondruch: has joined #ruby
[08:27:53] linetrace: has joined #ruby
[08:28:20] Beams_: has joined #ruby
[08:28:24] mark_66: has joined #ruby
[08:30:13] fusta: has joined #ruby
[08:30:19] Puffball: has joined #ruby
[08:30:59] ech0_42: has joined #ruby
[08:35:01] claudiuinberlin: has joined #ruby
[08:39:53] qba73: has joined #ruby
[08:40:34] InfinityFye: has joined #ruby
[08:43:34] Xiti`: has joined #ruby
[08:46:48] Xiti: has joined #ruby
[08:47:06] milardovich: has joined #ruby
[08:48:18] andikr: has joined #ruby
[08:51:32] ams__: has joined #ruby
[08:53:53] jtdoncas: has joined #ruby
[08:59:39] mikecmpbll: has joined #ruby
[09:01:27] guille-moe: has joined #ruby
[09:04:56] jenrzzz: has joined #ruby
[09:07:26] jordila: has joined #ruby
[09:08:27] jordila: ACTION has like 2 GB (!) of ~/.rvm Gems ... 
[09:09:17] jordila: Newbie here... Umh... ^^ how to free some disk space | unused Ruby gems ?
[09:09:39] marr: has joined #ruby
[09:10:30] jordila: ACTION ah... ok, ok https://rvm.io/rubies/removing
[09:11:35] Brak____________: has joined #ruby
[09:11:42] zipkid: has joined #ruby
[09:12:05] bronson: has joined #ruby
[09:12:11] jordila: ACTION gonna use ^^ for ' $ rvm cleanup all' ...
[09:18:05] guille-moe: has joined #ruby
[09:20:24] Chuguniy: has joined #ruby
[09:22:09] nowhereman_: has joined #ruby
[09:25:41] jottr: has joined #ruby
[09:26:42] jordila1: has joined #ruby
[09:31:52] jtdoncas: has joined #ruby
[09:32:05] vondruch: has joined #ruby
[09:37:20] KeyJoo: has joined #ruby
[09:38:01] fusta: has joined #ruby
[09:39:57] workmad3: has joined #ruby
[09:40:35] InfinityFye: has joined #ruby
[09:42:09] dionysus69: has joined #ruby
[09:47:42] cabotto: has joined #ruby
[09:49:20] iamarun: has joined #ruby
[09:50:22] qba73: has joined #ruby
[09:52:41] cdg: has joined #ruby
[09:53:50] mtkd: has joined #ruby
[09:54:15] AJA4350: has joined #ruby
[09:56:45] priodev: has joined #ruby
[09:59:03] mitch: has joined #ruby
[09:59:41] ltp: has joined #ruby
[10:00:00] sepp2k: has joined #ruby
[10:01:16] Guest35681: has left #ruby: ()
[10:01:42] mitch000001: has joined #ruby
[10:02:01] mikecmpbll: has joined #ruby
[10:02:41] jenrzzz: has joined #ruby
[10:02:41] jenrzzz: has joined #ruby
[10:06:27] mh: has joined #ruby
[10:08:12] vondruch: has joined #ruby
[10:08:26] jtdoncas: has joined #ruby
[10:12:28] l_tonz: has joined #ruby
[10:12:43] vondruch: has joined #ruby
[10:12:57] bronson: has joined #ruby
[10:13:15] mikecmpb_: has joined #ruby
[10:20:21] jenrzzz: has joined #ruby
[10:23:32] mitch000001: Hey, I just found something in a Ruby program I have never seen before. There was the use of `?` followed by a character. When looking into the source code of Ruby (parse.y) I found the function `static int parse_qmark(struct parser_params *parser, int space_seen)`. From how I understand it it is some sort of character escaping to parse a charcter without quotes within a Ruby source file. Does someone have any additional information about it
[10:23:32] mitch000001: some documentation of the mentioned syntax elements? I could not find anything within ruby docs.
[10:24:46] uZiel: has joined #ruby
[10:25:11] mitch000001: Here is the character in question in a ruby program on github: https://github.com/ruby/mspec/blob/master/lib/mspec/utils/options.rb#L45
[10:25:29] comet23: has joined #ruby
[10:26:18] manuscle: has joined #ruby
[10:26:47] manuscle: Hi everyone
[10:27:11] manuscle: Is chruby still maintained? Is there a better solution know?
[10:31:10] Cavallari: has joined #ruby
[10:32:26] djbkd: has joined #ruby
[10:32:45] jenrzzz: has joined #ruby
[10:32:45] jenrzzz: has joined #ruby
[10:32:56] milardovich: has joined #ruby
[10:33:00] phaul: has joined #ruby
[10:34:52] drptbl: has joined #ruby
[10:35:27] Mortomes|Work: has joined #ruby
[10:39:20] alfiemax: has joined #ruby
[10:39:29] Hanmac1: has joined #ruby
[10:39:38] jtdoncas: has joined #ruby
[10:39:50] priodev: has joined #ruby
[10:40:06] ltp: has joined #ruby
[10:40:23] drptbl: has joined #ruby
[10:40:25] Hanmac1: they do it again: https://bugs.ruby-lang.org/issues/14336 "Create new method String#symbol? and deprecate Symbol class"
[10:40:33] cabotto: has joined #ruby
[10:40:47] jenrzzz: has joined #ruby
[10:41:33] iamarun: has joined #ruby
[10:43:24] alfiemax: has joined #ruby
[10:44:02] ldnunes: has joined #ruby
[10:44:49] alfiemax: has joined #ruby
[10:46:16] alfiemax_: has joined #ruby
[10:46:50] zwliew: has joined #ruby
[10:49:35] cabotto: has joined #ruby
[10:49:48] alfiemax: has joined #ruby
[10:50:20] milardovich: has joined #ruby
[10:51:14] workmad3: has joined #ruby
[10:51:30] [diecast]: has joined #ruby
[10:52:29] Majost: has joined #ruby
[10:54:01] cdg: has joined #ruby
[10:54:33] ldnunes: has joined #ruby
[10:58:28] mozzarella: mitch000001: https://ruby-doc.org/core-2.5.0/doc/syntax/literals_rdoc.html#label-Strings
[10:59:54] cabotto: has joined #ruby
[11:00:44] bkxd: has joined #ruby
[11:01:13] cabotto: has left #ruby: ()
[11:01:15] cabotto: has joined #ruby
[11:03:15] mitch000001: @mozarella thx
[11:07:25] Riddell: has joined #ruby
[11:09:46] uZiel: has joined #ruby
[11:11:28] bkxd: has joined #ruby
[11:12:39] l_tonz: has joined #ruby
[11:13:36] Jameser: has joined #ruby
[11:13:46] bronson: has joined #ruby
[11:14:02] jtdoncas: has joined #ruby
[11:15:47] bkxd_: has joined #ruby
[11:17:37] thinkpad: has joined #ruby
[11:22:48] Xeago: has joined #ruby
[11:22:59] Gnukpd: has joined #ruby
[11:24:11] quobo: has joined #ruby
[11:26:09] DrCode: has joined #ruby
[11:28:03] conta1: has joined #ruby
[11:31:44] jaruga: has joined #ruby
[11:32:11] qba73: has joined #ruby
[11:33:44] burgestrand: has joined #ruby
[11:36:19] kiltzman: has joined #ruby
[11:38:46] kiltzman: has joined #ruby
[11:38:51] milardovich: has joined #ruby
[11:39:14] milardovich: has joined #ruby
[11:39:49] clemens3: has joined #ruby
[11:39:52] kiltzman: has joined #ruby
[11:40:21] kiltzman: has joined #ruby
[11:40:48] kiltzman: has joined #ruby
[11:41:22] thinkpad: has joined #ruby
[11:43:19] kiltzman: has joined #ruby
[11:43:53] kiltzman: has joined #ruby
[11:52:28] manuscle: has left #ruby: ("Ex-Chat")
[11:53:17] jtdoncas: has joined #ruby
[11:54:12] sina: has joined #ruby
[11:54:23] m0x00: has joined #ruby
[11:55:27] ldnunes: has joined #ruby
[11:55:46] Psybur: has joined #ruby
[11:55:46] Psybur: has joined #ruby
[11:55:48] apeiros: has joined #ruby
[11:59:43] plexigras: has joined #ruby
[12:00:08] drewmcmillan: has joined #ruby
[12:02:51] jdawgaz: has joined #ruby
[12:05:12] randomstrangerb: has joined #ruby
[12:10:37] mtkd: has joined #ruby
[12:12:20] alfiemax: has joined #ruby
[12:13:25] alfiemax: has joined #ruby
[12:14:09] alfiemax_: has joined #ruby
[12:14:35] bronson: has joined #ruby
[12:15:12] drewmcmi_: has joined #ruby
[12:15:37] jeffreylevesque_: has joined #ruby
[12:16:25] alfiemax: has joined #ruby
[12:18:44] jeffreylevesque: has joined #ruby
[12:20:39] drewmcmillan: has joined #ruby
[12:25:35] jtdoncas: has joined #ruby
[12:28:52] qba73: has joined #ruby
[12:32:46] milardovich: has joined #ruby
[12:33:25] biberu: has joined #ruby
[12:34:17] Jameser: has joined #ruby
[12:41:40] jrafanie: has joined #ruby
[12:43:43] l_tonz: has joined #ruby
[12:45:18] Psybur: has joined #ruby
[12:46:06] tvw: has joined #ruby
[12:46:44] apparition: has joined #ruby
[12:47:47] ldnunes: has joined #ruby
[12:48:06] jenrzzz: has joined #ruby
[12:48:06] jenrzzz: has joined #ruby
[12:50:38] tcopeland: has joined #ruby
[12:51:36] jokester: has joined #ruby
[12:53:54] Immune: has joined #ruby
[12:54:46] cdg: has joined #ruby
[12:57:42] cabotto: has joined #ruby
[12:59:47] jokester: has joined #ruby
[12:59:57] tlaxkit: has joined #ruby
[13:00:54] jtdoncas: has joined #ruby
[13:03:24] randomstrangerb: has joined #ruby
[13:06:46] jottr: has joined #ruby
[13:09:10] Cavallari: has joined #ruby
[13:09:49] qba73: has joined #ruby
[13:10:49] synthroid: has joined #ruby
[13:11:24] mbbh: has left #ruby: ()
[13:12:23] qba73: has joined #ruby
[13:15:35] bronson: has joined #ruby
[13:15:43] cabotto: has joined #ruby
[13:16:10] chocoelho: has joined #ruby
[13:16:32] nortega: has joined #ruby
[13:17:25] jokester: has joined #ruby
[13:18:25] GremL1N: has joined #ruby
[13:18:26] leitz: has joined #ruby
[13:18:34] nortega: Greetings, I wanted to ask about an issue I've been running into. When trying to install a new version of the `erubis' gem I get an error: `/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- ubygems (LoadError)'
[13:18:54] nortega: I feel like something is wrong, especially since it says that a file called `ubygems' is missing.
[13:19:01] nortega: (instead of rubygems)
[13:19:35] nortega: I've tried looking it up, but I haven't found too much on this.
[13:21:47] l_tonz: has joined #ruby
[13:22:14] nortega: I'm running on an ArchLinux system.
[13:22:24] nortega: I've been trying to install erubis via the AUR.
[13:23:27] ruby[bot]: -b RubMyPussy!*@*$#ruby-banned
[13:24:05] nortega: has joined #ruby
[13:24:19] _aeris_: has joined #ruby
[13:24:43] canton7: nortega, looks like a typo in the PKGBUILD: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ruby-erubis
[13:25:25] mikecmpbll: has joined #ruby
[13:26:22] jokester: has joined #ruby
[13:26:49] canton7: nortega, personally I use gem to manage all gems on by arch linux system, and I don't use pacman at all there
[13:27:03] canton7: 'cos if you mix the two, that way lies pain, and not every gem will be in the aur
[13:27:56] nortega: Actually, I really just use ruby for some vim plugins and tmuxinator, so pretty much all my gems come from the AUR or the repos (unless the AUR uses `gem').
[13:29:11] nortega: In any case, what seems to be the typo to this?
[13:30:34] canton7: the syntax is -rlibrary
[13:30:40] canton7: so -rrubygems, not -rubygems
[13:31:07] mtkd: has joined #ruby
[13:31:43] burgestrand: has joined #ruby
[13:31:43] nortega: Oh... that would explain the `ubygems'
[13:33:13] jtdoncas: has joined #ruby
[13:34:36] jnollette: has joined #ruby
[13:34:54] bmurt: has joined #ruby
[13:36:13] k0mpa: has joined #ruby
[13:36:46] jeffreylevesque: has joined #ruby
[13:37:18] nortega: Alright, that seems to have fixed it. I posted a comment on the AUR page. Thanks.
[13:37:34] drewmcmillan: has joined #ruby
[13:38:56] nortega: Now to see if tmuxinator will install correctly.
[13:41:16] nortega: Hmm, seems the tmuxinator package has a similar issue. Is the `-r' flag a new thing?
[13:43:55] cdg: has joined #ruby
[13:45:09] l_tonz: has joined #ruby
[13:45:11] bmurt: has joined #ruby
[13:46:04] cdg: has joined #ruby
[13:47:56] cdg_: has joined #ruby
[13:48:11] canton7: nortega, what's your ruby version?
[13:48:43] canton7: my `ruby` does actually accept -rubygems just fine
[13:49:00] nortega: Apparently my ruby version doesn't :/
[13:49:21] canton7: just try 'ruby -rubygems -e 'puts "hi"'
[13:49:42] nortega: "cannot load such file -- ubygems (LoadError)"
[13:49:58] nortega: As soon as I put the second 'r' it works.
[13:50:24] canton7: aah, so -rubygems is fine on 2.0.0, and breaks on 2.5.0 (for me as well)
[13:50:43] dminuoso: 2.0.0, you must be a macOS user who hasnt upgraded yet
[13:50:49] canton7: nah, windows
[13:51:47] nortega: Well, this is arch, the AUR should expect people to have the bleeding edge versions :P
[13:53:38] Morrolan: has joined #ruby
[13:54:11] canton7: I don't do much ruby any more, but I keep an installation around
[13:54:31] troulouliou_div2: has joined #ruby
[13:54:38] workmad3_: has joined #ruby
[13:55:27] huyderman: has joined #ruby
[13:55:28] nortega: has left #ruby: ("leaving")
[14:00:20] mongag: has joined #ruby
[14:02:17] deafscribe: has joined #ruby
[14:05:00] mongag: Not sure why I'm getting this error
[14:05:15] mongag: app.rb:3:in `<main>': uninitialized constant MyModule (NameError)
[14:05:20] yrstrly: has joined #ruby
[14:05:26] mongag: here's the code https://gist.github.com/anonymous/541b62eaa551121f527227d6406bf24b
[14:09:41] jokke: has joined #ruby
[14:11:50] jtdoncas: has joined #ruby
[14:12:18] l_tonz: has joined #ruby
[14:12:28] qba73: has joined #ruby
[14:12:58] dminuoso: >> require 'logger'
[14:12:59] ruby[bot]: dminuoso: # => true (https://eval.in/932158)
[14:13:57] dminuoso: mongag: You could use require_relative to refer to the file nonambiguously.
[14:14:12] deafscribe: has joined #ruby
[14:14:34] johno84: has joined #ruby
[14:15:43] qba73: has joined #ruby
[14:15:56] tvw: has joined #ruby
[14:16:06] mongag: require_relative did the trick
[14:16:23] mongag: not sure why require didn't work
[14:16:52] dviola: has joined #ruby
[14:17:03] bronson: has joined #ruby
[14:17:47] phaul: because you were requiring the built in logger not yours
[14:21:33] jeffreylevesque_: has joined #ruby
[14:24:02] AgentVenom: has joined #ruby
[14:24:04] alfiemax: has joined #ruby
[14:40:59] milardovich: has joined #ruby
[14:41:17] yrstrly: Please could somebody help me
[14:41:19] yrstrly: https://gist.github.com/mattb20/ee7f418415581d7750f167f5ff41dfc9
[14:41:58] yrstrly: why does this code just return 0...arr1.length rather than counting how many elements in each array are equivalent
[14:41:58] chocoelho: has joined #ruby
[14:42:00] yrstrly: both arrays are the same length
[14:43:36] apeiros: yrstrly: because the return value of a for loop is the iterated object
[14:44:03] apeiros: `for x in obj; …; end` will always evaluate to `obj`
[14:44:34] yrstrly: Okay I understand that, but how then to change it so it checks each element?
[14:44:53] jtdoncas: has joined #ruby
[14:44:54] yrstrly: it's returning integers because it's being iterated over an integer?
[14:46:58] oleo: has joined #ruby
[14:48:53] dminuoso: >> b = 0; a = for 0..10; b += 1; end; puts a
[14:48:54] ruby[bot]: dminuoso: # => /tmp/execpad-c690920b2671/source-c690920b2671:2: syntax error, unexpected .., expecting &. or :: or ...check link for more (https://eval.in/932160)
[14:49:06] dminuoso: >> b = 0; a = for i in 0..10; b += 1; end; puts a
[14:49:08] ruby[bot]: dminuoso: # => 0..10 ...check link for more (https://eval.in/932162)
[14:49:13] dminuoso: yrstrly: ^-
[14:49:16] apeiros: yrstrly: if you want it to return count, then make count the last statement
[14:49:27] dminuoso: yrstrly: for loops itself are expressions.
[14:49:32] apeiros: and it returns the iterated object because that's what the implementers decided to let it return
[14:50:46] yrstrly: Thanks very much both
[14:51:24] apeiros: yrstrly: also quite important: === is *not* testing equality.
[14:51:48] apeiros: ruby is not like php/javascript where === is a more strict version of ==. === in ruby has entirely different semantics.
[14:51:52] yrstrly: Thanks I realised that when I posted
[14:52:16] apeiros: and your code in short: arr1.zip(arr2).count { |a,b| a == b }
[14:53:49] apeiros: oh, wow, no factoid on comparisons :-S
[14:54:43] c785127: has joined #ruby
[14:55:34] apeiros: !fact add compare equal?, eql?, ==, ===, =~ || equal? tests for identity; eql? tests whether two values are the same hash key or value in a set, == tests with regards to sorting (see <=>), === is for case/when expressions and methods like Enumerable#grep, all?, any?, none? etc.
[14:55:34] ruby[bot]: apeiros: I will remember that compare is equal?, eql?, ==, ===, =~ || equal? tests for identity; eql? tests whether two values are the same hash key or value in a set, == tests with regards to sorting (see <=>), === is for case/when expressions and methods like Enumerable#grep, all?, any?, none? etc
[14:55:42] ruby[bot]: equal?, eql?, ==, ===, =~ || equal? tests for identity; eql? tests whether two values are the same hash key or value in a set, == tests with regards to sorting (see <=>), === is for case/when expressions and methods like Enumerable#grep, all?, any?, none? etc.
[14:56:09] dminuoso: apeiros: "identity" needs to be defined into object identity.
[14:56:25] apeiros: it already is too long :-/
[14:56:30] apeiros: you think that really adds clarity?
[14:56:32] dminuoso: apeiros: Just have it link at https://stackoverflow.com/a/7157051 perhaps
[14:56:47] dminuoso: apeiros: It's a good answer and covers all the cases.
[14:56:52] jrafanie: has joined #ruby
[14:57:07] dminuoso: (It's what I used to look up until it was burned into my mind)
[14:57:17] apeiros: hah, I even commented on it
[14:57:28] zautomata: has joined #ruby
[14:58:16] phaul: somewhat related: the other day I tried to define an object where obj != obj to trick Array#include? so it thinks it's not in. (Codewars Kata - don't ask) Interestingly #include? bypasses == even though the documentation explicitly states otherwise
[14:58:37] apeiros: !fact ed compare equal?, eql?, ==, === || https://stackoverflow.com/a/7157051 || equal? is obj identity || eql? is hash key/value in a set equality || == is sorting equality (see <=>) || === is for case/when and methods like Enumerable#grep, all?, any?, none? etc.
[14:58:37] ruby[bot]: apeiros: I stand corrected that compare is equal?, eql?, ==, === || https://stackoverflow.com/a/7157051 || equal? is obj identity || eql? is hash key/value in a set equality || == is sorting equality (see <=>) || === is for case/when and methods like Enumerable#grep, all?, any?, none? etc.
[15:00:09] dminuoso: phaul: As usual the most satisfying answer can be found in the source code directly: https://ruby-doc.org/core-2.5.0/Array.html#method-i-include-3F
[15:00:26] apeiros: phaul: it optimizes. it does use ==, but only if the objects aren't the same
[15:00:33] apeiros: `if (obj1 == obj2) return Qtrue;`
[15:00:52] apeiros: only after that it goes through the (vastly more expensive) method invocation
[15:01:18] apeiros: the underlying assumption of course being that `a.equal?(b)` imlies `a == b`
[15:01:48] dminuoso: apeiros: I frequently enjoy not having to think about such details in Haskell when requiring Eq is all I need, and any two lists [1,2,3] are considered identical..
[15:02:06] qba73: has joined #ruby
[15:02:09] apeiros: I can see that
[15:02:59] phaul: I got to the same conclusion, I just thought it's interesting that the documentation bothers going into explicit details there
[15:03:01] dminuoso: In Ruby that losely translates to "immutable code" is good.
[15:03:40] apeiros: I think that's a general truth in programming
[15:03:48] apeiros: if you can keep things immutable, go for it
[15:04:16] hfp_work: has joined #ruby
[15:06:04] milardovich: has joined #ruby
[15:09:00] safetypin: has joined #ruby
[15:09:41] bmurt: has joined #ruby
[15:09:47] pastorinni: has joined #ruby
[15:11:17] l_tonz: has joined #ruby
[15:15:25] nadir: has joined #ruby
[15:17:44] bronson: has joined #ruby
[15:17:57] dminuoso: apeiros: An interesting thing is how Ruby allows you to do this:
[15:18:03] dminuoso: >> ->() {} == ->() {}
[15:18:04] ruby[bot]: dminuoso: # => false (https://eval.in/932174)
[15:18:38] dminuoso: Using .equal? I would have accepted this, but == should give me some "WhoKnowsError"
[15:19:23] Rapture: has joined #ruby
[15:19:31] [Butch]: has joined #ruby
[15:20:12] jtdoncas: has joined #ruby
[15:20:23] apeiros: dminuoso: why? you want it to return true if it "does the same"?
[15:20:42] dminuoso: apeiros: Yes, but according to Rice's theorem that's impossible (as it would imply solving the halting problem)
[15:21:02] apeiros: that's not the semantics of Proc#==, though
[15:21:23] apeiros: i.e. your expectation is based on a flawed premise
[15:21:27] jenrzzz: has joined #ruby
[15:21:50] dminuoso: apeiros: Well I expect == to be generic equality (i.e. two objects being extensionally equivalent)
[15:22:40] dminuoso: apeiros: (And by extensionally equivalent I mean outside of __id__/.equal?/etc.)
[15:22:42] apeiros: it's really ordering equality. whether two objects order the same. as in, in terms of <=>. if that's not possible, it's eql? or equal? semantics.
[15:23:29] apeiros: at least that's how I understand and implement it. based on docs and Comparable
[15:23:37] dminuoso: apeiros: I dont think that holds true properly.
[15:24:13] apeiros: got a case in core/stdlib which would fail that assumption? (not denying that that might be possible)
[15:24:29] dminuoso: apeiros: The documentation of BasicObject#== itself.
[15:24:50] dminuoso: apeiros: The thing is, <=> implies a sensible implementation of == due to partial orders being anti symmetric.
[15:25:24] apeiros: "Equality --- At the Object level, == returns true only if obj and other are the same object."
[15:25:35] apeiros: that's precisely equal? semantics.
[15:25:42] dminuoso: apeiros: Yes. but not <=> semantics.
[15:25:49] CJKinni: has joined #ruby
[15:25:53] apeiros: you've got it the wrong way round
[15:26:03] johno84: has joined #ruby
[15:26:08] nowhere_man: has joined #ruby
[15:26:11] apeiros: iff you can implement a sensible <=>, then == should be implemented in terms of <=>
[15:26:18] apeiros: see Comparable#==
[15:26:41] dminuoso: apeiros: absolutely yes, because if your type (i.e. class) is an order, then its anti symmetric.
[15:26:50] dminuoso: but if its not, then what?
[15:26:54] apeiros: in all other cases, == should follow either equal? (see Object#==) or eql? semantics.
[15:27:03] dminuoso: clearly == cant mean "equality based on sorting" because not everything is sortable, but == exists for absolutely everything.
[15:27:18] dminuoso: because BasicObject imbues everything with #==
[15:28:09] apeiros: I understand how this can be viewed as an inconsistency and impure. but in practice it IME works quite well.
[15:28:54] dminuoso: apeiros: Right, so its not a clear cut "#== means sorting equality" - it means "some generic equality that is sensible for the type of the object". If your type satisfies the Comparable mixin, then because Comparable implies a partial order, then through the antisymmetric relation you have a notion of "two objects being the same"
[15:29:52] dminuoso: Hah I hit Cmd+3<cr>irb<cr> so rapidly, without realizing that weechat was in my third tab.
[15:30:28] phaul: at least irb is not your password :)
[15:31:00] dminuoso: phaul: Those kinds of mishaps cant happen. Everything uses pub key authentication or 1password here. =)
[15:31:27] dminuoso: Well I guess there's the macOS password itself...
[15:31:50] apeiros: I don't know how to copy & paste my fingerprint
[15:32:20] chichou: has joined #ruby
[15:32:24] dminuoso: apeiros: I dont envy you. I have a real escape key and F keys.
[15:32:37] dminuoso: I really wish there was a model with physical keys _and_ TouchID..
[15:33:09] apeiros: ACTION mumbles something which sounds like "duck you"
[15:33:41] dminuoso: apeiros: vi user?
[15:34:03] apeiros: I want: my current model, with the pre-2016 keyboard & touchpad + touchid. plus either a lightning port, or the iphones using usb-c, or the iphones having klinke again
[15:34:10] dminuoso: Though escape you cant at least remap to capslock, and for vi you should be using Control+[ instead anyway.
[15:34:11] aufi: has joined #ruby
[15:34:30] dminuoso: The latest iphone without usb was a real insult.
[15:34:36] dminuoso: Was hoping for Apple to streamline everything to USB C.
[15:34:39] apeiros: oh, and of course with unsoldered hard drive and ram, and the option to go beyond 16GB (which I had 5y ago already, ffs)
[15:34:52] dminuoso: apeiros: the new imac pro has unsoldered ram
[15:34:53] apeiros: same re iphone streamlined to usbc
[15:34:59] dminuoso: you just have to dish out 5k-6k bucks.
[15:35:04] apeiros: #ruby-offtopic?
[15:37:36] qba73: has joined #ruby
[15:39:17] cschneid_: has joined #ruby
[15:40:52] jonjitsu: has joined #ruby
[15:41:04] chocoelho: has joined #ruby
[15:42:18] randomstrangerb: has joined #ruby
[15:44:06] kiltzman: has joined #ruby
[15:45:01] kiltzman: has joined #ruby
[15:45:31] kiltzman: has joined #ruby
[15:46:37] kiltzman: has joined #ruby
[15:47:06] aef: has joined #ruby
[15:47:32] kiltzman: has joined #ruby
[15:48:02] kiltzman: has joined #ruby
[15:51:42] cdg: has joined #ruby
[15:51:55] krawchyk: has joined #ruby
[15:52:12] garyserj: Is there any way that I can write backslashes without having to escape them? I notice that even with single quotes 'abc\\def' will print abc\def
[15:52:25] _aeris_: has joined #ruby
[15:53:11] gregf_: has joined #ruby
[15:53:47] jrafanie_: has joined #ruby
[15:55:13] Jameser: has joined #ruby
[15:55:47] apeiros: garyserj: in an external file
[15:55:58] jtdoncas: has joined #ruby
[15:56:15] apeiros: within code, there's no way to quote a string where you never have to escape a backslash
[15:56:26] apeiros: with single quotes, *most* cases don't need escaping, though
[15:56:38] ruby[bot]: apeiros: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
[15:56:38] cdg: has joined #ruby
[15:56:43] ruby[bot]: apeiros: # => "\\d" (https://eval.in/932177)
[15:59:39] havenwood: >> require 'shellwords'; puts Shellwords.escape '\\'
[15:59:39] conta: has joined #ruby
[15:59:45] ruby[bot]: havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
[15:59:50] havenwood: >> require 'shellwords'; puts Shellwords.escape '\\'
[15:59:55] ruby[bot]: havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
[16:01:52] apeiros: eval.in having one of those days :(
[16:03:41] garyserj: I can do a='\d'
[16:03:55] dionysus69: has joined #ruby
[16:04:17] garyserj: If I have a="blah"+'\' then I see I have to double the backslash otherwise I get issues on the next line.
[16:04:40] garyserj: are there any other cases besides \' where i'd have to escape the backslash for it to work?
[16:05:31] apeiros: only \\ and \'
[16:05:54] apeiros: or rather: only \\ and the end-delimiter (which is not necessarily ')
[16:06:19] apeiros: >> %q{foo \'bar\ baz\'}
[16:06:20] ruby[bot]: apeiros: # => "foo \\'bar\\ baz\\'" (https://eval.in/932178)
[16:06:44] goatish: has joined #ruby
[16:07:06] Papierkorb: has joined #ruby
[16:07:09] Papierkorb: has left #ruby: ("Konversation terminated!")
[16:11:44] SuperLag: has joined #ruby
[16:16:04] zautomata1: has joined #ruby
[16:18:42] bronson: has joined #ruby
[16:22:01] ltem: has joined #ruby
[16:22:13] troys: has joined #ruby
[16:22:47] hurricanehrndz: has joined #ruby
[16:28:03] TomyLobo: has joined #ruby
[16:31:10] jtdoncas: has joined #ruby
[16:34:00] synthroid: has joined #ruby
[16:35:47] uZiel: has joined #ruby
[16:43:24] conta: has joined #ruby
[16:46:51] minimalism: has joined #ruby
[16:50:11] xco: has joined #ruby
[16:51:25] alfiemax: has joined #ruby
[16:51:57] aufi: has joined #ruby
[16:52:12] whippythellama: has joined #ruby
[16:52:46] atmosx: has joined #ruby
[16:54:20] chocoelho: has joined #ruby
[16:57:49] ricer2: has joined #ruby
[17:01:19] siasmj: has joined #ruby
[17:04:11] apeiros__: has joined #ruby
[17:05:15] lunaesseta: has joined #ruby
[17:05:25] lunaesseta: has left #ruby: ()
[17:05:59] marxarelli: has joined #ruby
[17:06:44] jtdoncas: has joined #ruby
[17:15:17] l_tonz: has joined #ruby
[17:15:37] conta: has joined #ruby
[17:19:29] bronson: has joined #ruby
[17:19:48] Beams: has joined #ruby
[17:21:31] nso95: has joined #ruby
[17:22:06] tAn: has joined #ruby
[17:24:07] randomstrangerb: has joined #ruby
[17:26:30] PaulCape_: has joined #ruby
[17:35:05] l_tonz: has joined #ruby
[17:41:15] claudiuinberlin: has joined #ruby
[17:43:04] l_tonz: has joined #ruby
[17:45:06] jtdoncas: has joined #ruby
[17:46:48] conta: has joined #ruby
[17:46:51] trolltoll: has joined #ruby
[17:48:53] Vapez_: has joined #ruby
[17:49:11] alfiemax: has joined #ruby
[17:50:12] cabotto: has joined #ruby
[17:50:23] marr: has joined #ruby
[17:51:11] Psybur: has joined #ruby
[17:51:11] Psybur: has joined #ruby
[17:55:02] jenrzzz: has joined #ruby
[17:55:02] jenrzzz: has joined #ruby
[17:55:31] mikecmpbll: has joined #ruby
[17:56:29] chocoelho: has joined #ruby
[17:56:58] naftilos76: has joined #ruby
[17:57:08] l_tonz: has joined #ruby
[17:59:45] apeiros: has joined #ruby
[18:01:12] ricer2: has joined #ruby
[18:02:32] Eiam: has joined #ruby
[18:08:57] jamesaxl: has joined #ruby
[18:09:22] [Butch]_: has joined #ruby
[18:09:26] sanscoeur: has joined #ruby
[18:12:02] iceden: has joined #ruby
[18:12:07] l_tonz: has joined #ruby
[18:13:38] Dimik: has joined #ruby
[18:14:55] [Butch]: has joined #ruby
[18:15:54] Xiti: has joined #ruby
[18:18:07] l_tonz: has joined #ruby
[18:18:09] apeiros: has joined #ruby
[18:18:13] drewmcmillan: has joined #ruby
[18:20:18] bronson: has joined #ruby
[18:25:34] LastWhisper____: has joined #ruby
[18:25:50] randomstrangerb: has joined #ruby
[18:26:36] Xiti: has joined #ruby
[18:26:37] tomphp: has joined #ruby
[18:27:56] duane: has joined #ruby
[18:28:25] amclain: has joined #ruby
[18:28:33] dviola: has joined #ruby
[18:28:50] duane: anyone have any experience running traveling ruby as an AWS lambda function?
[18:30:09] raynold: has joined #ruby
[18:30:43] apeiros: is ruby even supported by aws lambda?
[18:31:50] duane: it isnt - but using node as an entry point you can get traveling ruby to run...
[18:32:44] duane: i have that working...traveling ruby is claiming that the native pg adapter is not there, but when i switch to a mysql adapter to test...it works just fine
[18:33:01] duane: maybe more of a traveling ruby/native extension question than an AWS question
[18:34:12] l_tonz: has joined #ruby
[18:37:26] chrisseaton: Are frozen string literals garbage collected?
[18:39:07] sameerynho: has joined #ruby
[18:42:57] dviola: has joined #ruby
[18:44:41] jeffreylevesque: has joined #ruby
[18:50:01] eckhardt: has joined #ruby
[18:53:32] conta2: has joined #ruby
[18:56:25] brent__: has joined #ruby
[18:57:08] dtzuzu: has joined #ruby
[18:58:11] drewmcmillan: has joined #ruby
[18:58:41] jottr: has joined #ruby
[19:01:39] randomstrangerb: has joined #ruby
[19:01:55] eckhardt: has joined #ruby
[19:06:40] zack6849: has left #ruby: ("WeeChat 2.0.1")
[19:09:24] kies: has joined #ruby
[19:11:58] l_tonz: has joined #ruby
[19:17:39] jottr: has joined #ruby
[19:18:59] trolltoll: has joined #ruby
[19:19:26] KeyJoo: has joined #ruby
[19:20:03] conta2: has joined #ruby
[19:21:02] bronson: has joined #ruby
[19:23:10] Vapez: has joined #ruby
[19:25:56] zautomata2: has joined #ruby
[19:27:31] jottr: has joined #ruby
[19:30:11] bmurt: has joined #ruby
[19:32:05] minimalism: has joined #ruby
[19:39:28] cdg: has joined #ruby
[19:40:10] cdg: has joined #ruby
[19:44:07] eckhardt: has joined #ruby
[19:44:57] havenwood: chrisseaton: yes
[19:49:15] kiltzman: has joined #ruby
[19:49:46] kiltzman: has joined #ruby
[19:50:20] kiltzman: has joined #ruby
[19:51:50] kiltzman: has joined #ruby
[19:52:20] orbyt_: has joined #ruby
[19:53:17] kiltzman: has joined #ruby
[19:53:52] kiltzman: has joined #ruby
[19:53:55] guille-moe: has joined #ruby
[19:54:14] loincloth: has joined #ruby
[19:54:38] randomstrangerb: has joined #ruby
[19:54:58] havenwood: chrisseaton: Or at least I'd have sworn they were, but I can't seem to reproduce it actually.
[19:55:28] Axy: has joined #ruby
[19:55:28] Axy: has joined #ruby
[19:55:51] raul782: has joined #ruby
[19:56:26] havenwood: >> object_id = ''.object_id; GC.start; ObjectSpace._id2ref object_id
[19:56:27] ruby[bot]: havenwood: # => 0x210fedb4 is recycled object (RangeError) ...check link for more (https://eval.in/932194)
[19:56:33] havenwood: >> frozen_object_id = ''.freeze.object_id; GC.start; ObjectSpace._id2ref frozen_object_id
[19:56:34] ruby[bot]: havenwood: # => "" (https://eval.in/932195)
[19:58:58] havenwood: And the same with: GC.start(full_mark: true, immediate_sweep: true)
[19:59:09] d5sx43: has joined #ruby
[20:04:32] tomphp: has joined #ruby
[20:06:43] nowhere_man: has joined #ruby
[20:12:27] safetypin: has joined #ruby
[20:12:50] apeiros: havenwood: why'd they be garbage collected? only case I could imagine is if a source file as a whole would be unloaded, no? or a piece of code lexically containing that literal (as in: remove_const or undef etc.)
[20:12:54] mgalgs: has joined #ruby
[20:13:15] alex-tfdc: has joined #ruby
[20:14:27] chrisseaton: apeiros: string constants at the top level of a file for example - think of all those require statements!
[20:14:35] l_tonz: has joined #ruby
[20:14:45] apeiros: chrisseaton: ah yeah, makes sense
[20:14:53] apeiros: they go out of scope
[20:15:17] apeiros: and there isn't necessarily any reference left. I see.
[20:16:57] chocoelho: has joined #ruby
[20:17:41] jdawgaz: has joined #ruby
[20:18:09] mgalgs: So I'm sure I'm missing something simple, but does anyone know off-hand why my `bundle info middleman` works but `bundle exec middleman` doesn't?? I've already done a `bundle install`.
[20:18:14] mgalgs: output: https://gist.github.com/mgalgs/62090b7b4c1c0e009e62fe102849728e
[20:18:19] mgalgs: my bundle env: https://gist.github.com/mgalgs/41990f77f0008dfeba639dc18f02c6be
[20:22:25] cpruitt: has joined #ruby
[20:27:06] workmad3: has joined #ruby
[20:27:45] cpruitt: has joined #ruby
[20:27:58] jottr: has joined #ruby
[20:28:04] ur5us: has joined #ruby
[20:32:02] cpruitt: has joined #ruby
[20:33:23] Immune: has joined #ruby
[20:36:41] Vapez: has joined #ruby
[20:37:15] orbyt_: has joined #ruby
[20:39:40] [Butch]: has joined #ruby
[20:39:46] r3kz: has joined #ruby
[20:40:46] cdg: has joined #ruby
[20:41:11] johno84: has joined #ruby
[20:41:11] milardovich: has joined #ruby
[20:43:46] pastorinni: has joined #ruby
[20:47:41] drewmcmillan: has joined #ruby
[20:49:29] cdg: has joined #ruby
[20:50:47] jtdoncas: has joined #ruby
[20:51:41] workmad3: has joined #ruby
[20:55:04] tsloth: has joined #ruby
[20:58:13] tomphp: has joined #ruby
[21:02:07] eckhardt: has joined #ruby
[21:05:50] l_tonz: has joined #ruby
[21:11:07] SeepingN: has joined #ruby
[21:11:28] duane: has left #ruby: ()
[21:12:19] jeffreylevesque_: has joined #ruby
[21:20:22] raul782: has joined #ruby
[21:20:59] zautomata2: has joined #ruby
[21:21:44] alfiemax: has joined #ruby
[21:21:55] havenwood: mgalgs: Is `/home/mgalgs/bin` in your $PATH?
[21:22:15] bronson: has joined #ruby
[21:22:21] orbyt_: has joined #ruby
[21:23:08] mgalgs: havenwood: hmm, actually no
[21:23:42] havenwood: mgalgs: export PATH="/home/mgalgs/bin:$PATH"
[21:23:52] unreal: has joined #ruby
[21:23:56] mgalgs: I'll give it a shot. Didn't realize that was required.
[21:24:34] mgalgs: havenwood:
[21:24:43] mgalgs: havenwood: that did the trick! thanks.
[21:24:56] havenwood: mgalgs: you're welcome
[21:25:11] minimalism: has joined #ruby
[21:27:53] jottr: has joined #ruby
[21:28:29] randomstrangerb: has joined #ruby
[21:29:05] l_tonz: has joined #ruby
[21:29:50] AJA4350: has joined #ruby
[21:31:00] jenrzzz: has joined #ruby
[21:31:00] jenrzzz: has joined #ruby
[21:32:07] tomphp: has joined #ruby
[21:36:23] raul782: has joined #ruby
[21:38:31] raul782: has joined #ruby
[21:41:41] peter2: has joined #ruby
[21:48:52] Riddell: has joined #ruby
[21:50:21] phaul: has joined #ruby
[21:55:09] heliumk: has joined #ruby
[21:56:06] l_tonz: has joined #ruby
[22:02:09] xelkarin: has joined #ruby
[22:04:13] jeffreylevesque: has joined #ruby
[22:05:43] shinnya: has joined #ruby
[22:06:07] cpruitt_: has joined #ruby
[22:08:16] leitz: has joined #ruby
[22:08:41] facest: has joined #ruby
[22:09:10] baweaver: zenspider: alo
[22:11:06] l_tonz: has joined #ruby
[22:11:17] Immune: has joined #ruby
[22:12:06] dviola: has joined #ruby
[22:13:39] pastorin_: has joined #ruby
[22:15:37] raul782: has joined #ruby
[22:20:22] l_tonz: has joined #ruby
[22:23:05] bronson: has joined #ruby
[22:25:41] rrichardsr3: has joined #ruby
[22:26:35] ur5us: has joined #ruby
[22:31:41] AxelAlex: has joined #ruby
[22:32:14] AxelAlex: has joined #ruby
[22:33:56] BTRE: has joined #ruby
[22:37:04] pastorinni: has joined #ruby
[22:41:17] zenspider: how is everyone? what'd I miss? I've been offline and pretty much non-coding over the holidays
[22:41:32] zenspider: I did do some of advent in ruby + racket + haskell tho... just a few
[22:46:43] jnyw: has joined #ruby
[22:47:31] ledestin: has joined #ruby
[22:49:13] alfiemax: has joined #ruby
[22:51:34] jblackwell: has joined #ruby
[22:52:49] chocoelho: has joined #ruby
[23:01:01] orbyt_: has joined #ruby
[23:03:57] unreal: has joined #ruby
[23:04:18] raul782: has joined #ruby
[23:05:09] Eiam: well 2017 is gone now, so you missed that!
[23:07:52] nowhere_man: has joined #ruby
[23:09:10] leah2: has joined #ruby
[23:10:37] c0ncealed: has joined #ruby
[23:11:27] havenwood: zenspider: Ruby 2.5 of course! Well, that and a decade worth of processors have been leaking passwords. >.>
[23:12:43] jottr: has joined #ruby
[23:12:53] l_tonz: has joined #ruby
[23:13:53] randomstrangerb: has joined #ruby
[23:13:58] havenwood: Trying to think what could be added to the quickref if anything...
[23:14:11] havenwood: Maybe Regexp#match?
[23:14:18] havenwood: Though that's old news
[23:19:21] pastorin_: has joined #ruby
[23:21:53] alfiemax: has joined #ruby
[23:23:09] workmad3: has joined #ruby
[23:23:54] bronson: has joined #ruby
[23:23:58] jobewan: has joined #ruby
[23:24:37] pilne: has joined #ruby
[23:25:00] jtdoncas: has joined #ruby
[23:25:11] raul782: has joined #ruby
[23:29:37] zautomata3: has joined #ruby
[23:30:26] baweaver: @zenspider: predicate methods using === in 2.5 are a thing: https://medium.com/@baweaver/new-in-enumerable-triple-equals-predicates-c1fcd0eabf6d
[23:30:48] baweaver: ACTION should probably update the article to clarify that it's out now
[23:31:14] Riddell: has joined #ruby
[23:31:30] cpruitt: has joined #ruby
[23:37:58] zautomata3: has joined #ruby
[23:38:53] leitz: has joined #ruby
[23:40:41] nowhere_man: has joined #ruby
[23:40:43] leitz: Interesting. test-unit gives an error if you use the "ruby methods default to the last action" bit.
[23:40:51] mikecmpbll: has joined #ruby
[23:40:56] cdg: has joined #ruby
[23:41:55] zenspider: havenwood: leaking passwords?
[23:44:08] Immune: has joined #ruby
[23:44:29] Azure: has joined #ruby
[23:45:20] jxv: has joined #ruby
[23:46:28] zenspider: leitz: what does that mean?
[23:48:48] elim_garak: has joined #ruby
[23:48:53] drewmcmillan: has joined #ruby
[23:48:54] Renich_: has joined #ruby
[23:49:07] leitz: zenspider, this is the error. "career.rb:52: warning: assigned but unused variable - skill_options"
[23:49:08] elim_garak: if im wanting to install rubygems on ubuntu so i can install and use jekyll, do i use my distros package by using apt-get install rubygems ?
[23:49:12] leitz: This is the code. https://github.com/LeamHall/2d6_ogl_chargen/blob/master/lib/career.rb#L50-L56
[23:49:44] leitz: zenspider, if I add a "return skill_options" after line 55, the warning goes away.
[23:50:23] zenspider: leitz: it's a warning and not an error, and it has nothing to do with test_unit... just ruby. You activate it by running with warnings on (`ruby -w` or `$-w = true`) and I recommend it.
[23:50:34] zenspider: you also fix that code by removing the assignment entirely
[23:50:36] zenspider: there's no need
[23:50:44] zenspider: and don't use return unless you actually need to cut out early
[23:50:49] zenspider: (you don't here)
[23:51:14] leitz: Why don't I need the assignment?
[23:51:30] leitz: I know I don't need the return, except to silence the warning.
[23:51:32] baweaver: "assigned but unused variable"
[23:51:50] zenspider: because ruby. you just want to return the value. you're not doing anything with the name you're assigning it to
[23:52:11] Immune: has joined #ruby
[23:52:17] baweaver: zenspider: meltdown / spectre CPU bug
[23:52:29] zenspider: oh that shit
[23:52:39] leitz: baweaver, that shows Ruby seems to mission the point.
[23:52:57] leitz: The assignment is needed when it is needed. Not all the time.
[23:53:11] zenspider: you wrote the code. you missed the point.
[23:53:33] baweaver: Ruby implies returns, no need for a variable
[23:54:00] baweaver: If your 5 line method isn't adequately named enough to show that then there's your issue
[23:54:29] LastWhisper____: has joined #ruby
[23:54:57] kiltzman: has joined #ruby
[23:55:13] leitz: Ah, so you're saying change L52 to: @skill_options + @advanced_skill_options ?
[23:55:14] alfiemax: has joined #ruby
[23:55:15] zenspider: leitz: evolution: https://gist.github.com/zenspider/bc7090f4753e940214f7524e5ea5d948
[23:55:17] eckhardt: has joined #ruby
[23:55:29] leitz: WIthout the "skill_options =" bit?
[23:55:50] tcopeland: has joined #ruby
[23:56:16] zenspider: yes: that's what I said in: "fix that code by removing the assignment entirely"
[23:56:32] kiltzman: has joined #ruby
[23:56:40] leitz: zenspider, it took me a while to get that. It's been a long day.
[23:56:58] kiltzman: has joined #ruby
[23:57:20] leitz: Also, to your "MAGIC_VALUES" point, the upp is becoming a hash and the key is non-magical.
[23:57:31] leitz: Still working on that bit.
[23:58:39] troydm: I know this question might sound dumb but if I have defined class in some module how do I include it in rspec describe for testing so I could reference it by name directly instead of writing Module::Class
[23:59:02] kiltzman: has joined #ruby
[23:59:30] kiltzman: has joined #ruby
[23:59:39] zenspider: so it is just a stand alone module and you need to test it via some instance or something?
[23:59:53] zenspider: !connection ~k1ltzman@95.215.47.208
[23:59:53] ruby[bot]: zenspider: Could not process command, usage: !connection nick [channel]