« Back to channel list

#ruby - 19 January 2018

« Back 1 day Forward 1 day »
[00:03:17] workmad3: has joined #ruby
[00:04:23] guardianx: has joined #ruby
[00:05:16] mtkd: has joined #ruby
[00:09:14] alfiemax_: has joined #ruby
[00:09:26] Toggi3: has joined #ruby
[00:11:10] hutch34: has joined #ruby
[00:12:29] tAn: has joined #ruby
[00:17:26] al2o3-cr1: has joined #ruby
[00:21:00] chocoelho: has joined #ruby
[00:21:34] mostlybadfly: has joined #ruby
[00:22:50] Radar: has joined #ruby
[00:25:00] ur5us: has joined #ruby
[00:27:12] BTRE: has joined #ruby
[00:30:54] xco: has joined #ruby
[00:35:14] bkxd: has joined #ruby
[00:36:44] ur5us: has joined #ruby
[00:38:07] jeffreylevesque: has joined #ruby
[00:40:23] jeffreylevesque_: has joined #ruby
[00:46:51] ecuanaso: has joined #ruby
[00:48:20] orbyt_: has joined #ruby
[00:48:56] camfowler: has joined #ruby
[00:52:26] Azure: has joined #ruby
[00:57:32] jdawgaz: has joined #ruby
[00:57:43] Azure|dc: has joined #ruby
[00:58:28] TobiFrano: has joined #ruby
[00:58:54] d_kam_: has joined #ruby
[01:02:33] Toggi3: has joined #ruby
[01:05:27] dinfuehr: has joined #ruby
[01:09:08] Nicmavr: has joined #ruby
[01:10:15] guacamole: has joined #ruby
[01:10:15] guacamole: has joined #ruby
[01:11:03] bkxd: has joined #ruby
[01:13:43] QualityAddict: has joined #ruby
[01:15:06] chocoelho: has joined #ruby
[01:21:09] cwailes: has joined #ruby
[01:25:30] cwailes: I have a gem that contains an executable and some resources. What's the best way to determine where those resources are installed (by `gem install ...`) when the script is run?
[01:30:21] SteenJobs: has joined #ruby
[01:30:26] guille-moe: has joined #ruby
[01:30:29] fusta: has joined #ruby
[01:30:34] havenwood: cwailes: gem env gemdir
[01:31:06] havenwood: cwailes: Or if you want to see where the system will look for gems: gem env gempath
[01:31:47] havenwood: cwailes: `gem env gemdir` is where they're installed
[01:31:48] havenwood: gemdir display the path where gems are installed
[01:31:49] havenwood: gempath display path used to search for gems
[01:32:44] havenwood: cwailes: You could also check: gem which YOU_GEM_NAME_HERE
[01:34:19] havenwood: Or the path it's installed to is listed under: gem list GEM_NAME_HERE -d
[01:34:38] havenwood: cwailes: If you want to see every file: gem contents GEM_NAME_HERE
[01:36:05] cwailes: Hmm. A lot of these are close to what I want, but not exactly it.
[01:36:14] cwailes: I'll try out some of the command options.
[01:36:17] cwailes: Thanks for the pointers.
[01:38:50] dstrunk: has joined #ruby
[01:46:47] bronson: has joined #ruby
[01:52:38] Toggi3: has joined #ruby
[01:58:17] bmurt: has joined #ruby
[01:59:23] elphe: has joined #ruby
[02:01:12] tAn: has joined #ruby
[02:01:31] guille-moe: has joined #ruby
[02:05:20] bkxd: has joined #ruby
[02:07:41] BTRE: has joined #ruby
[02:08:37] cwailes: has joined #ruby
[02:09:54] mtkd: has joined #ruby
[02:10:22] cwailes: has joined #ruby
[02:17:18] SteenJobs: has joined #ruby
[02:17:29] guille-moe: has joined #ruby
[02:22:29] guille-moe: has joined #ruby
[02:26:28] eckhardt: has joined #ruby
[02:28:46] guardianx: has joined #ruby
[02:35:25] fullstack: has joined #ruby
[02:39:28] fullstack: has joined #ruby
[02:40:13] meinside: has joined #ruby
[02:43:52] guille-moe: has joined #ruby
[02:44:59] fullstack_: has joined #ruby
[02:46:42] bkxd_: has joined #ruby
[02:47:58] bronson: has joined #ruby
[02:50:32] Nicmavr: has joined #ruby
[02:51:08] elphe: has joined #ruby
[02:53:47] milardovich: has joined #ruby
[02:55:35] jdawgaz: has joined #ruby
[02:58:40] jamesaxl: has joined #ruby
[02:59:02] cdg: has joined #ruby
[03:01:34] bkxd: has joined #ruby
[03:03:56] pastorinni: has joined #ruby
[03:06:25] xco: has joined #ruby
[03:07:02] elphe: has joined #ruby
[03:08:04] iMadper: has joined #ruby
[03:14:47] nso95: has joined #ruby
[03:14:50] canton7: has joined #ruby
[03:14:58] jamesaxl: has joined #ruby
[03:18:51] Toggi3: has joined #ruby
[03:34:51] milardov_: has joined #ruby
[03:36:35] darkhanb: has joined #ruby
[03:36:40] kies: has joined #ruby
[03:38:45] Dimik: has joined #ruby
[03:40:03] fmcgeough: has joined #ruby
[03:42:10] SteenJobs: has joined #ruby
[03:42:14] xco: has joined #ruby
[03:42:50] banisterfiend: has joined #ruby
[03:43:23] jamesaxl: has joined #ruby
[03:44:47] bill-auger: has joined #ruby
[03:46:33] LastWhisper____: has joined #ruby
[03:46:47] bkxd_: has joined #ruby
[03:47:11] jenrzzz: has joined #ruby
[03:47:11] jenrzzz: has joined #ruby
[03:47:37] bill-auger: has left #ruby: ("http://quassel-irc.org - Chat comfortably. Anywhere.")
[03:48:46] bronson: has joined #ruby
[03:48:46] meadmoon: has joined #ruby
[03:50:16] tAn: has joined #ruby
[03:50:35] ecuanaso: has joined #ruby
[03:56:08] Toggi3: has joined #ruby
[03:57:48] jeffreylevesque: has joined #ruby
[03:59:44] Kugz: has joined #ruby
[04:02:56] PaulCapestany: has joined #ruby
[04:10:45] banisterfiend: has joined #ruby
[04:13:16] jenrzzz: has joined #ruby
[04:13:45] Kugz: has joined #ruby
[04:15:06] mtkd: has joined #ruby
[04:17:33] orbyt_: has joined #ruby
[04:19:33] morfin60: has joined #ruby
[04:26:44] ur5us: has joined #ruby
[04:33:29] kapil___: has joined #ruby
[04:33:37] anisha: has joined #ruby
[04:36:09] banisterfiend: has joined #ruby
[04:39:07] gix-: has joined #ruby
[04:43:46] zigzig: has joined #ruby
[04:45:05] bkxd: has joined #ruby
[04:49:40] bronson: has joined #ruby
[04:59:51] mjolnird: has joined #ruby
[05:00:26] banisterfiend: has joined #ruby
[05:00:48] elphe: has joined #ruby
[05:02:28] r3kz: has joined #ruby
[05:03:04] Inoperable: has joined #ruby
[05:09:24] Emmanuel_Chanel: has joined #ruby
[05:12:10] jnollette: has joined #ruby
[05:13:46] jenrzzz: has joined #ruby
[05:14:32] SuperLag: has joined #ruby
[05:22:33] iamarun: has joined #ruby
[05:28:25] oleo: has joined #ruby
[05:30:22] bkxd_: has joined #ruby
[05:33:27] thejamespinto: has joined #ruby
[05:39:22] tAn: has joined #ruby
[05:42:00] aupadhye: has joined #ruby
[05:50:30] bronson: has joined #ruby
[05:58:55] bmurt: has joined #ruby
[06:05:47] garyserj: has joined #ruby
[06:10:32] lucas: has joined #ruby
[06:12:47] LocaMocha: has joined #ruby
[06:15:36] bkxd: has joined #ruby
[06:17:43] za1b1tsu: has joined #ruby
[06:18:33] za1b1tsu: has joined #ruby
[06:25:23] elphe: has joined #ruby
[06:29:20] garyserj: for the minitools package, I can do gem mini-test 5.1.0 but I want the stable 5.1 , what line do I add to my gemfile for that?
[06:29:27] garyserj: minitools=mini-test
[06:29:37] za1b1tsu: has joined #ruby
[06:30:09] garyserj: minitest rather.
[06:36:35] nadir: has joined #ruby
[06:37:33] thejamespinto: has joined #ruby
[06:37:40] guardianx: has joined #ruby
[06:39:08] Drakevr: has joined #ruby
[06:39:53] naprimer: has joined #ruby
[06:40:33] Drakevr: has joined #ruby
[06:41:25] znz_jp: has joined #ruby
[06:50:32] hutch34: has joined #ruby
[06:51:15] bronson: has joined #ruby
[06:52:09] aufi: has joined #ruby
[07:01:36] trautwein: has joined #ruby
[07:02:07] bkxd: has joined #ruby
[07:02:41] KeyJoo: has joined #ruby
[07:08:31] bkxd_: has joined #ruby
[07:09:22] elcontrastador: has joined #ruby
[07:23:45] garyserj: why does the last line here not work? https://gist.github.com/anonymous/c503e11ba590b06ebda58d044b2cf00a This line works puts qqq (4) But this line doesn't work puts rrr (3,4)
[07:24:54] andikr: has joined #ruby
[07:26:16] wnd: I haven't bothered to check ruby lexer, but practical experience says you can't have whitespace between a method name and its parameters /if/ you're using parenthesis when calling a method. "rrr(3,4)" and "rrr 3, 4" are fine, "rrr (3, 4)" is not.
[07:27:42] conta: has joined #ruby
[07:28:20] tAn: has joined #ruby
[07:38:06] jenrzzz: has joined #ruby
[07:38:06] jenrzzz: has joined #ruby
[07:38:41] jtdoncas: has joined #ruby
[07:38:59] jaruga: has joined #ruby
[07:42:35] amatas: has joined #ruby
[07:43:14] dionysus69: has joined #ruby
[07:49:53] bkxd: has joined #ruby
[07:52:21] tAn: has joined #ruby
[07:52:26] bronson: has joined #ruby
[07:53:57] bkxd_: has joined #ruby
[07:54:47] belmoussaoui: has joined #ruby
[08:07:56] TomyWork: has joined #ruby
[08:19:35] rideh: has joined #ruby
[08:19:48] mark_66: has joined #ruby
[08:21:06] garyserj: suppose I have def abc5 a,b,c puts "z" end Then this invocation works abc5({:asdf=>'b'},4,2) But when I remove the parentheses it fails. why?
[08:26:29] tAn: has joined #ruby
[08:28:16] _whitelogger_: has joined #ruby
[08:33:13] _Stimpy: has joined #ruby
[08:33:21] alfiemax: has joined #ruby
[08:35:12] claudiuinberlin: has joined #ruby
[08:40:22] bkxd: has joined #ruby
[08:42:11] Tagami[m]: has joined #ruby
[08:42:36] dizzy1or5[m]: has joined #ruby
[08:43:03] Liothen: has joined #ruby
[08:48:15] c0ncealed: has joined #ruby
[08:52:20] hutch34: has joined #ruby
[08:54:12] cgfbee: has joined #ruby
[08:58:24] alfiemax: has joined #ruby
[09:00:44] alex``: has joined #ruby
[09:14:26] vondruch: has joined #ruby
[09:17:13] tao_: has joined #ruby
[09:19:36] chussenot: has joined #ruby
[09:20:00] marr: has joined #ruby
[09:20:37] bkxd_: has joined #ruby
[09:24:11] mtkd: has joined #ruby
[09:24:22] bkxd__: has joined #ruby
[09:26:08] alfiemax: has joined #ruby
[09:31:07] guille-moe: has joined #ruby
[09:31:13] tomphp: has joined #ruby
[09:31:33] Stan: has joined #ruby
[09:36:26] SegFaultAX: has joined #ruby
[09:37:31] tomphp: has joined #ruby
[09:47:12] iamarun: has joined #ruby
[09:47:32] aupadhye: has joined #ruby
[09:53:20] bronson: has joined #ruby
[09:54:11] alfiemax: has joined #ruby
[09:55:13] bkxd: has joined #ruby
[09:56:25] Beams: has joined #ruby
[09:57:19] alfiemax: has joined #ruby
[09:58:45] trautwein: has joined #ruby
[10:00:10] tomphp: has joined #ruby
[10:02:47] Serpent7776: has joined #ruby
[10:05:02] adaedra: garyserj: because if you do `abs5 {...}`, the curly braces are interpreted as a block, not a hash
[10:06:05] bkxd_: has joined #ruby
[10:09:32] bkxd: has joined #ruby
[10:14:57] belmoussaoui_: has joined #ruby
[10:18:01] ammar: has joined #ruby
[10:25:28] Cavallari: has joined #ruby
[10:26:11] tomphp: has joined #ruby
[10:26:28] tao_: has joined #ruby
[10:27:44] xfbs: has joined #ruby
[10:30:07] ltem: has joined #ruby
[10:31:02] ltem: has joined #ruby
[10:32:13] tomphp: has joined #ruby
[10:32:52] alfiemax: has joined #ruby
[10:38:19] k0mpa: has joined #ruby
[10:43:31] aupadhye: has joined #ruby
[10:50:38] ldnunes: has joined #ruby
[10:54:20] chussenot: has joined #ruby
[10:57:09] qba73: has joined #ruby
[11:07:23] tomphp: has joined #ruby
[11:11:38] iamarun: has joined #ruby
[11:13:08] Liothen: has joined #ruby
[11:14:49] qba73: has joined #ruby
[11:20:14] ur5us: has joined #ruby
[11:20:51] milardovich: has joined #ruby
[11:28:50] mtkd: has joined #ruby
[11:30:20] workmad3: has joined #ruby
[11:31:14] plexigras: has joined #ruby
[11:32:45] alfiemax: has joined #ruby
[11:45:00] guille-moe1: has joined #ruby
[11:54:13] bronson: has joined #ruby
[11:56:49] tomphp: has joined #ruby
[11:57:02] Toggi3: has joined #ruby
[11:58:24] konsolebox: has joined #ruby
[12:00:28] jdawgaz: has joined #ruby
[12:02:24] milardov_: has joined #ruby
[12:05:00] jamesaxl: has joined #ruby
[12:12:04] John_Ivan: has joined #ruby
[12:14:21] chocoelho: has joined #ruby
[12:14:28] apparition: has joined #ruby
[12:15:45] tao_: has joined #ruby
[12:17:31] ammar: has joined #ruby
[12:18:42] AJA4350: has joined #ruby
[12:18:58] dcluna: has joined #ruby
[12:22:12] my123: has joined #ruby
[12:22:12] my123: has joined #ruby
[12:24:29] fyrril3: has joined #ruby
[12:24:51] helpa: has joined #ruby
[12:24:52] Serpent: has joined #ruby
[12:25:20] aufi_: has joined #ruby
[12:25:29] faces: has joined #ruby
[12:25:31] xerxes: has joined #ruby
[12:25:36] ur5us: has joined #ruby
[12:25:55] Asher1: has joined #ruby
[12:26:18] KeyJoo: has joined #ruby
[12:26:42] qba73_: has joined #ruby
[12:26:47] ghoti_: has joined #ruby
[12:27:14] jamesaxl: has joined #ruby
[12:27:23] statelesscode: has joined #ruby
[12:27:59] John_Ivan: has joined #ruby
[12:28:00] John_Ivan: has joined #ruby
[12:28:00] ohcibi: has joined #ruby
[12:28:48] madhatter: has joined #ruby
[12:28:50] joes: has joined #ruby
[12:28:52] shoogz: has joined #ruby
[12:29:10] cpallares: has joined #ruby
[12:29:11] rcs: has joined #ruby
[12:29:13] russt: has joined #ruby
[12:29:23] eam: has joined #ruby
[12:29:33] bmn: has joined #ruby
[12:29:43] coderphive: has joined #ruby
[12:30:05] kriskropd: has joined #ruby
[12:30:14] tw1sted: has joined #ruby
[12:30:17] [reed]: has joined #ruby
[12:30:17] [reed]: has joined #ruby
[12:30:25] vichib: has joined #ruby
[12:30:31] GremL1N: has joined #ruby
[12:30:47] hurricanehrndz: has joined #ruby
[12:31:15] goatish: has joined #ruby
[12:31:26] g3funk: has joined #ruby
[12:32:01] baweaver: has joined #ruby
[12:32:17] bokayio: has joined #ruby
[12:33:08] CrazyEddy: has joined #ruby
[12:35:59] JoshL: has joined #ruby
[12:36:42] trautwein: has joined #ruby
[12:38:38] ltem: has joined #ruby
[12:38:51] thejamespinto: has joined #ruby
[12:43:45] milardovich: has joined #ruby
[12:44:33] milardovich: has joined #ruby
[12:44:54] z4phod: I have little question
[12:45:29] z4phod: Same app, same Gemfile, bundle update not update same version, why ? how fix it ?
[12:47:52] milardovich: has joined #ruby
[12:52:21] chussenot: has joined #ruby
[12:52:52] hutch34: has joined #ruby
[12:57:08] xfbs: has joined #ruby
[12:58:25] xfbs: has joined #ruby
[13:01:08] workmad3: z4phod: at the same time?
[13:02:26] Klumben: has joined #ruby
[13:05:29] z4phod: not all time, but last yes
[13:06:05] workmad3: z4phod: hmm, weird
[13:06:12] workmad3: same version of bundler?
[13:06:27] tcopeland: has joined #ruby
[13:07:03] z4phod: maybe not
[13:07:07] z4phod: i will try now
[13:10:20] dstrunk: has joined #ruby
[13:15:18] z4phod: thx you very much
[13:15:37] z4phod: 1.16.0 and 1.16.1 ... same version did same thing, perfect, thx you !
[13:20:33] Dimik: has joined #ruby
[13:23:48] sepp2k: has joined #ruby
[13:24:24] shinnya: has joined #ruby
[13:24:28] jdawgaz: has joined #ruby
[13:25:14] milardov_: has joined #ruby
[13:32:33] Toggi3: has joined #ruby
[13:32:49] Ouchy: has joined #ruby
[13:32:50] Ouchy: has joined #ruby
[13:32:56] Ouchy`w: has joined #ruby
[13:33:09] roshanavand: has joined #ruby
[13:33:51] mtkd: has joined #ruby
[13:35:42] elcontrastador: has joined #ruby
[13:37:59] fgoinai: has joined #ruby
[13:39:47] fgoinai: has joined #ruby
[13:40:13] qba73: has joined #ruby
[13:41:27] vichib: has joined #ruby
[13:42:39] Guest9282: has joined #ruby
[13:42:46] martinw1: has joined #ruby
[13:44:02] jeffreylevesque: has joined #ruby
[13:44:29] alfiemax: has joined #ruby
[13:45:42] bmurt: has joined #ruby
[13:45:53] mongag: has joined #ruby
[13:45:53] mongag: has joined #ruby
[13:47:12] oleo: has joined #ruby
[13:48:28] camilasan: has joined #ruby
[13:48:31] Mia: has joined #ruby
[13:50:25] mongag: has joined #ruby
[13:51:10] qba73: has joined #ruby
[13:52:13] Psybur: has joined #ruby
[13:54:58] bronson: has joined #ruby
[13:55:14] mongag: has joined #ruby
[13:55:14] mongag: has joined #ruby
[14:01:21] elphe: has joined #ruby
[14:03:09] alfiemax: has joined #ruby
[14:04:09] tao_: has joined #ruby
[14:06:33] milardovich: has joined #ruby
[14:10:27] chussenot: has joined #ruby
[14:16:43] alfiemax: has joined #ruby
[14:17:33] jdawgaz: has joined #ruby
[14:19:35] ltem: has joined #ruby
[14:21:38] Psybur_: has joined #ruby
[14:26:06] roshanavand: has left #ruby: ()
[14:29:27] drowze: has joined #ruby
[14:31:37] byrujr: has joined #ruby
[14:33:27] byrujr: has left #ruby: ()
[14:40:24] raynold: has joined #ruby
[14:40:25] vichib: has joined #ruby
[14:43:31] zipace: has joined #ruby
[14:46:17] alfiemax: has joined #ruby
[14:46:50] jdawgaz: has joined #ruby
[14:48:52] milardov_: has joined #ruby
[14:49:59] qba73: has joined #ruby
[14:52:22] vichib: has joined #ruby
[14:53:06] vichib: has joined #ruby
[14:53:54] hutch34: has joined #ruby
[14:54:12] vichib: has joined #ruby
[14:54:27] camilasan: has joined #ruby
[14:54:47] vichib: has joined #ruby
[14:56:47] vichib: has joined #ruby
[15:00:10] jdawgaz: has joined #ruby
[15:00:40] jdawgaz: has joined #ruby
[15:01:30] jdawgaz: has joined #ruby
[15:02:17] jdawgaz: has joined #ruby
[15:03:07] jdawgaz: has joined #ruby
[15:03:45] vichib: has joined #ruby
[15:03:51] jdawgaz: has joined #ruby
[15:04:32] vichib: has joined #ruby
[15:05:09] vichib: has joined #ruby
[15:06:14] gizmore: has joined #ruby
[15:06:52] Rapture: has joined #ruby
[15:09:52] jdawgaz: has joined #ruby
[15:10:37] k0mpa: has joined #ruby
[15:12:49] giraffe: has joined #ruby
[15:13:49] tpendragon: has joined #ruby
[15:14:35] eewinkk: has joined #ruby
[15:16:47] orbyt_: has joined #ruby
[15:17:23] chussenot: has joined #ruby
[15:17:44] LastWhisper____: has joined #ruby
[15:18:25] chussenot: has joined #ruby
[15:27:49] thejamespinto: has joined #ruby
[15:31:35] rippa: has joined #ruby
[15:32:59] chussenot: has joined #ruby
[15:37:39] alfiemax: has joined #ruby
[15:38:27] mtkd: has joined #ruby
[15:40:37] vichib: has joined #ruby
[15:41:26] konsolebox: has joined #ruby
[15:41:29] chussenot: has joined #ruby
[15:43:47] orbyt_: has joined #ruby
[15:46:39] plexigras: has joined #ruby
[15:46:47] TobiFrano: has joined #ruby
[15:47:09] Zarthus: has joined #ruby
[15:50:21] cout: has joined #ruby
[15:53:19] tao_: has joined #ruby
[15:56:10] dviola: has joined #ruby
[15:56:21] bronson: has joined #ruby
[15:57:24] banisterfiend: has joined #ruby
[15:57:38] hutch34: has joined #ruby
[16:00:13] milardovich: has joined #ruby
[16:03:20] konsolebox: has joined #ruby
[16:04:00] s3nd1v0g1us: has joined #ruby
[16:06:24] claudiuinberlin: has joined #ruby
[16:06:48] griffindy: has joined #ruby
[16:09:38] elphe: has joined #ruby
[16:11:45] Zarthus: has joined #ruby
[16:11:56] camilasan: has joined #ruby
[16:16:18] heng: has joined #ruby
[16:17:47] qba73: has joined #ruby
[16:18:46] alfiemax: has joined #ruby
[16:22:58] bathtub_shark: has joined #ruby
[16:27:56] jdawgaz: has joined #ruby
[16:29:45] Mia: has joined #ruby
[16:29:45] Mia: has joined #ruby
[16:31:54] herbmillerjr: has joined #ruby
[16:40:49] ecuanaso: has joined #ruby
[16:42:42] [Butch]: has joined #ruby
[16:46:22] chocoelho: has joined #ruby
[16:50:59] Cavallari: has joined #ruby
[16:51:41] milardov_: has joined #ruby
[16:53:17] dinfuehr: has joined #ruby
[16:53:35] mtkd: has joined #ruby
[16:56:31] cpruitt: has joined #ruby
[16:57:43] konsolebox: has joined #ruby
[17:00:26] krawchyk: has joined #ruby
[17:01:32] jenrzzz: has joined #ruby
[17:01:32] jenrzzz: has joined #ruby
[17:03:39] sanscoeur: has joined #ruby
[17:03:54] dyyylan: has joined #ruby
[17:05:35] guacamole: has joined #ruby
[17:05:35] guacamole: has joined #ruby
[17:13:47] Zarthus: has joined #ruby
[17:17:13] cpruitt: has joined #ruby
[17:21:30] ecuanaso: has joined #ruby
[17:21:46] moei: has joined #ruby
[17:24:19] alfiemax: has joined #ruby
[17:27:20] qba73_: has joined #ruby
[17:29:15] darkhanb: has joined #ruby
[17:31:05] Guest14: has joined #ruby
[17:32:32] milardovich: has joined #ruby
[17:41:13] layer8problem: has joined #ruby
[17:41:26] tao_: has joined #ruby
[17:46:27] jenrzzz: has joined #ruby
[17:48:02] orbyt_: has joined #ruby
[17:48:34] Tempesta: has joined #ruby
[17:50:07] roshanavand: has joined #ruby
[17:53:36] alfiemax: has joined #ruby
[17:54:37] dion: has joined #ruby
[17:57:13] bronson: has joined #ruby
[17:58:07] pocketprotector: has joined #ruby
[17:59:08] plexigras: has joined #ruby
[17:59:47] havenwood: Mmm, I like the looks of this `recursive: true` option: https://github.com/ruby/ruby/commit/b1583b423c3a26ccc22775174315f074bf73553e
[18:00:14] Asher1: has joined #ruby
[18:01:47] kreantos: has joined #ruby
[18:05:16] eckhardt: has joined #ruby
[18:08:21] diego4: has joined #ruby
[18:13:06] xfbs: has joined #ruby
[18:13:53] milardov_: has joined #ruby
[18:14:43] diego4: has joined #ruby
[18:15:00] milardov_: has joined #ruby
[18:20:50] kies: has joined #ruby
[18:21:21] tcopeland: nobu gettin’ it done
[18:21:54] KeyJoo: has joined #ruby
[18:22:47] alfiemax: has joined #ruby
[18:24:28] TomyLobo: has joined #ruby
[18:27:24] jinie: has joined #ruby
[18:27:37] tomphp: has joined #ruby
[18:27:51] dwickern: has joined #ruby
[18:29:00] havenwood: patch monster indeed!
[18:33:21] banisterfiend: has joined #ruby
[18:36:17] romain_t: has joined #ruby
[18:41:22] milardovich: has joined #ruby
[18:41:47] r3kz: has joined #ruby
[18:47:19] Ellusionist: has joined #ruby
[18:47:50] bronson: has joined #ruby
[18:47:51] thejamespinto: has joined #ruby
[18:48:13] Rapture: has joined #ruby
[18:50:53] thejames_: has joined #ruby
[18:51:15] minimalism: has joined #ruby
[18:53:08] orbyt_: has joined #ruby
[18:54:05] jinie: has joined #ruby
[18:57:49] rwb: has joined #ruby
[18:58:15] mtkd: has joined #ruby
[18:59:14] alfiemax: has joined #ruby
[19:00:59] workmad3: has joined #ruby
[19:02:54] jinie: has joined #ruby
[19:04:02] bathtub_shark: has joined #ruby
[19:04:55] anisha_: has joined #ruby
[19:09:13] milardovich: has joined #ruby
[19:10:54] Psybur: has joined #ruby
[19:14:14] claudiuinberlin: has joined #ruby
[19:19:21] jenrzzz: has joined #ruby
[19:22:35] romain_t: has joined #ruby
[19:23:35] wald0: has joined #ruby
[19:27:57] jinie: has joined #ruby
[19:28:16] jamiejackson: has joined #ruby
[19:30:32] tao_: has joined #ruby
[19:30:51] jenrzzz: has joined #ruby
[19:30:52] jenrzzz: has joined #ruby
[19:32:31] Toggi3: has joined #ruby
[19:35:17] bmurt: has joined #ruby
[19:36:37] goatish: has joined #ruby
[19:37:22] mostlybadfly: has joined #ruby
[19:37:29] jolamb: I want to initialize a value "new_array" by composing an array from a possibly defined array and a possibly defined scalar, but lazily. This is what I've come up with, but is there a Better Way? `(new_array ||= []).push(*(possibly_existing_array || [])).push(*([possibly_existing_scalar] || []))`
[19:37:39] jolamb: Using .push to enforce a particular order
[19:39:55] jinie: has joined #ruby
[19:41:24] sparr: tuple = ->(kv) { [kv.key.to_sym, visit_value(kv.value)] }
[19:41:48] sparr: I'm getting a syntax error at the ">", probably because my ruby is old. Was this syntax introduced after 1.8?
[19:42:17] havenwood: sparr: No stabby lambdas in 1.8.
[19:42:29] havenwood: sparr: Instead you can: lambda { |kv|
[19:42:41] Vapez: has joined #ruby
[19:44:23] havenwood: jolamb: Do you really want `[nil]` when there's no scalar?
[19:44:36] imode: has joined #ruby
[19:44:41] Kero: jolamb: may I suggest you write a few tests?
[19:44:48] banisterfiend: has joined #ruby
[19:45:14] cjohnson: lol stabby lambda
[19:46:00] sameerynho: has joined #ruby
[19:48:17] sparr: havenwood: yeah, trying really hard to avoid forking gems
[19:48:37] sparr: on the bright side, I did at least convince the gem maintainer to put a ruby 1.9+ requirement in the manifest :)
[19:50:07] bronson: has joined #ruby
[19:51:18] ldnunes: has joined #ruby
[19:51:34] bokayio: has joined #ruby
[19:51:38] havenwood: jolamb: Consider two lines: array ||= possibly_existing_array || []; array << possibly_existing_scalar if possibly_existing_scalar
[19:58:29] hutch34: has joined #ruby
[19:59:14] Rapture: has joined #ruby
[20:00:10] lytol_: has joined #ruby
[20:02:25] ammar: has joined #ruby
[20:03:25] romain_t: has joined #ruby
[20:09:13] jenrzzz: has joined #ruby
[20:12:02] thejamespinto: has joined #ruby
[20:15:22] Guest9282: has joined #ruby
[20:18:23] kapil___: has joined #ruby
[20:20:20] jolamb: havenwood: yeah, that's probably what I need to do
[20:20:21] _main_: has joined #ruby
[20:20:26] jolamb: (sorry for delay, had a meeting)
[20:22:18] belmoussaoui: has joined #ruby
[20:25:21] romain_t: has joined #ruby
[20:27:24] romain_t: has joined #ruby
[20:30:23] bkxd: has joined #ruby
[20:32:43] fgoinai_: has joined #ruby
[20:32:57] jxv: has joined #ruby
[20:33:49] zacts: has joined #ruby
[20:34:15] hahuang65: has joined #ruby
[20:36:18] romain_t: has joined #ruby
[20:40:26] romain_t: has joined #ruby
[20:40:48] roshanavand: has joined #ruby
[20:42:30] banisterfiend: has joined #ruby
[20:42:49] jinie: has joined #ruby
[20:44:13] ur5us: has joined #ruby
[20:44:18] jinie: has joined #ruby
[20:44:19] jenrzzz: has joined #ruby
[20:44:20] jenrzzz: has joined #ruby
[20:44:25] romain_t: has joined #ruby
[20:47:06] alfiemax: has joined #ruby
[20:47:23] TobiFrano: has joined #ruby
[20:51:05] bronson: has joined #ruby
[20:51:09] SeepingN: has joined #ruby
[20:51:44] jenrzzz: has joined #ruby
[20:52:55] _aeris_: has joined #ruby
[20:53:24] romain_t: has joined #ruby
[20:54:20] ericmathison: has joined #ruby
[20:55:29] romain_t: has joined #ruby
[20:56:04] jxv: has joined #ruby
[20:57:20] romain_t: has joined #ruby
[21:00:38] hutch34: has joined #ruby
[21:04:24] romain_t: has joined #ruby
[21:07:21] romain_t: has joined #ruby
[21:08:19] pilne: has joined #ruby
[21:08:41] gizmore: type hinting ftw ... i wish more people would work on type hinting in ruby
[21:10:25] romain_t: has joined #ruby
[21:10:29] workmad3: has joined #ruby
[21:13:04] havenwood: gizmore: Have you seen power_assert in the stdlib? What is it about type hinting you're missing?
[21:13:37] tomphp: has joined #ruby
[21:13:49] havenwood: Oh, you mean like gradual or incremental typing? Gotcha.
[21:15:23] pwnd_nsfw: has joined #ruby
[21:15:53] orbyt_: has joined #ruby
[21:17:14] romain_t: has joined #ruby
[21:17:55] rrutkowski: has joined #ruby
[21:19:12] havenwood: gizmore: Matz is okay with a type analysis tooling, but considers repetition of type in the code to violate DRY. That's something that's been discussed for Ruby 3 but I haven't seen anything concrete.
[21:19:31] havenwood: gizmore: You might like Crystal.
[21:19:40] tao_: has joined #ruby
[21:21:05] gizmore: havenwood: thank you very much
[21:21:18] romain_t: has joined #ruby
[21:21:57] gizmore: havenwood: your nick is a legend here, in my little universe
[21:22:17] eckhardt: has joined #ruby
[21:22:51] rrutkowski: has joined #ruby
[21:24:13] gizmore: havenwood: because your support is awesome. thanks
[21:25:06] desperek: has joined #ruby
[21:25:59] milardovich: has joined #ruby
[21:26:43] zigzig: has joined #ruby
[21:28:11] bmurt: has joined #ruby
[21:28:47] selim: has joined #ruby
[21:31:45] aroaminggeek: has joined #ruby
[21:35:05] rrutkowski: has joined #ruby
[21:37:48] Toggi3: has joined #ruby
[21:38:31] ramfjord: has joined #ruby
[21:39:38] rrutkowski: has joined #ruby
[21:43:00] belmoussaoui_: has joined #ruby
[21:43:36] milardovich: has joined #ruby
[21:43:52] machinewar: has joined #ruby
[21:44:05] machinewar: is there any way to get all the constants referenced in a .rb file?
[21:44:10] jeffreylevesque_: has joined #ruby
[21:44:33] machinewar: other than regex for all words that look like constants and checking if const_defined?
[21:47:54] chussenot: has joined #ruby
[21:49:03] lemur: has joined #ruby
[21:49:22] kreantos: has joined #ruby
[21:51:42] bronson: has joined #ruby
[21:53:49] bawNg: machinewar: if the constants or top level or have known module(s), you can just fetch #constants before loading the file and use #constants - previous_constants after loading it
[21:54:02] bawNg: *are top level
[21:55:12] machinewar: bawNg: ah interesting. (I'm pretty much just wishing for a compiler here haha), but I want to make sure that before I execute a ruby file that any constant or class name exists. even if that classname or constant is referenced in a method in the file
[21:56:33] havenwood: machinewar: You could use Ripper.
[21:56:59] machinewar: havenwood: woah really cool idea I haven't dig into Ripper too much but seems really cool - just what I'm looking for
[21:57:31] bawNg: machinewar: in that case, you can either load the file as byte code and search through the VM AST
[21:57:37] bawNg: havenwood: you don't need ripper
[21:57:47] ledestin: has joined #ruby
[21:57:58] machinewar: but ripper would make it simpler
[21:58:10] bawNg: RubyVM::InstructionSequence.compile(source_code, sub_path, path, 1)
[21:58:41] havenwood: bawNg: Faster to lex, when you don't need to actually compile the code.
[21:58:46] havenwood: bawNg: Either way.
[21:59:37] bawNg: what I do is preparse the compiled instructions and then call instructions.eval when I want to load them
[21:59:42] bawNg: no wasted time
[21:59:52] bawNg: they have to be compiled when you load the file anyway
[22:02:00] zigzig: has joined #ruby
[22:02:46] havenwood: >> require 'ripper'; Ripper.lex('meaning = 42; CONST = :machinewar').select { |_, type, _, _| type == :on_const }.map { |_, _, token, _| token }
[22:02:47] ruby[bot]: havenwood: # => ["CONST"] (https://eval.in/938565)
[22:03:55] mtkd: has joined #ruby
[22:04:14] havenwood: bawNg: I agree it's a lot of fun to play with RubyVM::InstructionSequence.
[22:04:16] bawNg: that feels like cheating, too easy
[22:04:30] machinewar: haha awesome thank you
[22:05:57] bawNg: https://gist.github.com/bawNg/033a7b83b163980db9707b96351417be
[22:07:37] milardov_: has joined #ruby
[22:11:36] LastWhisper____: has joined #ruby
[22:14:17] belmoussaoui: has joined #ruby
[22:14:54] cagomez: has joined #ruby
[22:16:03] dstrunk: has joined #ruby
[22:16:14] kreantos: has joined #ruby
[22:17:52] Nightmare: has joined #ruby
[22:18:46] jenrzzz: has joined #ruby
[22:18:54] belmoussaoui: has joined #ruby
[22:21:23] rrutkowski: has joined #ruby
[22:22:26] lcarlson: has joined #ruby
[22:24:55] bronson: has joined #ruby
[22:28:28] rwb: has joined #ruby
[22:37:59] ramfjord: has joined #ruby
[22:41:17] mochiyoda_: has joined #ruby
[22:44:02] rrutkowski: has joined #ruby
[22:45:15] hutch34: has joined #ruby
[22:50:55] mtkd: has joined #ruby
[22:52:31] Guest25708: has joined #ruby
[22:57:44] cdg: has joined #ruby
[22:59:01] alfiemax: has joined #ruby
[23:02:02] guacamole: has joined #ruby
[23:02:03] guacamole: has joined #ruby
[23:02:57] bmurt: has joined #ruby
[23:05:36] DLSteve: has joined #ruby
[23:06:11] Toggi3: has joined #ruby
[23:06:21] jenrzzz: has joined #ruby
[23:06:22] jenrzzz: has joined #ruby
[23:07:24] aroaminggeek: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[23:07:43] tao_: has joined #ruby
[23:09:03] Azure: has joined #ruby
[23:09:46] guardianx: has joined #ruby
[23:12:07] eckhardt: has joined #ruby
[23:13:23] r3kz: has left #ruby: ()
[23:18:02] belmoussaoui: has joined #ruby
[23:18:52] milardovich: has joined #ruby
[23:25:47] bronson: has joined #ruby
[23:27:03] zacts: p/buffer #minix
[23:34:54] bmurt: has joined #ruby
[23:36:41] Toggi3: has joined #ruby
[23:38:35] simonizor: has left #ruby: ("User left")
[23:41:01] ammar: has joined #ruby
[23:43:47] leitz: has joined #ruby
[23:45:21] hutch34: has joined #ruby
[23:48:10] cdg: has joined #ruby
[23:51:15] Nicmavr: has joined #ruby
[23:52:00] Guest44960: has joined #ruby
[23:52:01] selim: has joined #ruby
[23:56:19] alfiemax: has joined #ruby
[23:57:47] mtkd: has joined #ruby