« Back to channel list

#ruby - 10 October 2015

« Back 1 day Forward 1 day »
[00:00:22] finisherr: has joined #ruby
[00:02:00] mary5030: has joined #ruby
[00:02:59] workmad3: has joined #ruby
[00:03:18] ajafo: has joined #ruby
[00:03:23] jsuth: has joined #ruby
[00:03:26] nateberkopec: has joined #ruby
[00:04:18] devoldmx: has joined #ruby
[00:04:27] inteq: has joined #ruby
[00:04:31] SCHAAP137: has joined #ruby
[00:04:48] sumark: has joined #ruby
[00:05:12] monsieurp: has joined #ruby
[00:05:23] _aeris_: has joined #ruby
[00:07:15] patdohere: has joined #ruby
[00:07:20] Someguy123: has joined #ruby
[00:07:30] swgillespie: has joined #ruby
[00:09:45] rbowlby: has joined #ruby
[00:09:45] blackjid: has joined #ruby
[00:10:08] tmtwd: has joined #ruby
[00:10:21] l_tonz: has joined #ruby
[00:10:43] pwnd_nfsw: has joined #ruby
[00:12:11] tkuchiki: has joined #ruby
[00:16:00] ttilley: has joined #ruby
[00:16:02] ttilley: has joined #ruby
[00:18:11] havenn: has joined #ruby
[00:18:45] jokke: has joined #ruby
[00:18:47] charliesome: has joined #ruby
[00:18:50] ElSif: has joined #ruby
[00:20:21] patdohere: has joined #ruby
[00:21:04] mary5030: has joined #ruby
[00:21:32] bkxd: has joined #ruby
[00:21:58] mary5030_: has joined #ruby
[00:22:01] ucarion: has joined #ruby
[00:22:36] qoe: has joined #ruby
[00:22:42] rickmasta: has joined #ruby
[00:24:47] nateberkopec: has joined #ruby
[00:24:48] stamina: has joined #ruby
[00:27:00] fullofcaffeine: has joined #ruby
[00:28:14] EminenceHC: has joined #ruby
[00:28:51] dfockler: has joined #ruby
[00:31:34] CodingWolf: has joined #ruby
[00:31:44] charliesome: has joined #ruby
[00:32:32] RegulationD: has joined #ruby
[00:33:51] l_tonz_: has joined #ruby
[00:34:56] QORRiE: has joined #ruby
[00:35:39] djbkd: has joined #ruby
[00:35:46] dopamean_: has joined #ruby
[00:36:06] gregoriokusowski: has joined #ruby
[00:37:23] finisherr: has left #ruby: ()
[00:37:45] Igorshp: has joined #ruby
[00:38:40] andywojo: has joined #ruby
[00:39:52] jokke: has joined #ruby
[00:40:46] fullofcaffeine: has joined #ruby
[00:40:48] rushed: has joined #ruby
[00:41:52] DanKnox: has joined #ruby
[00:42:56] l_tonz: has joined #ruby
[00:43:57] qoe: has joined #ruby
[00:45:06] tkuchiki: has joined #ruby
[00:46:08] nateberkopec: has joined #ruby
[00:46:26] azurepanther: has joined #ruby
[00:50:05] jokke: has joined #ruby
[00:51:14] Azure: has joined #ruby
[00:53:30] l_tonz: has joined #ruby
[00:54:04] mary5030: has joined #ruby
[00:54:04] jamto11: has joined #ruby
[00:56:01] jaequery: has joined #ruby
[00:56:39] jokke: has joined #ruby
[00:57:01] leafybasil: has joined #ruby
[00:57:19] BlackCoyote: has joined #ruby
[00:59:30] jokke: has joined #ruby
[00:59:30] riotjones: has joined #ruby
[01:01:14] baweaver: has joined #ruby
[01:02:38] ellisTAA: has joined #ruby
[01:02:50] jamto11: has joined #ruby
[01:03:27] l_tonz: has joined #ruby
[01:04:20] minimalism: has joined #ruby
[01:07:39] nateberkopec: has joined #ruby
[01:10:37] swgillespie: has joined #ruby
[01:11:54] nettoweb: has joined #ruby
[01:12:58] SamGerber: has joined #ruby
[01:13:29] l_tonz: has joined #ruby
[01:15:31] rushed: has joined #ruby
[01:16:05] stardiviner: has joined #ruby
[01:22:32] tkuchiki: has joined #ruby
[01:22:44] ucarion: has joined #ruby
[01:24:26] skweek: has joined #ruby
[01:24:26] l_tonz: has joined #ruby
[01:24:53] cwong_on_irc: has joined #ruby
[01:25:03] jessemcgilallen: has joined #ruby
[01:26:10] pocketprotector-: has joined #ruby
[01:26:19] fullofcaffeine: has joined #ruby
[01:27:34] Rollabunna: has joined #ruby
[01:28:00] CloCkWeRX: has joined #ruby
[01:28:52] nateberkopec: has joined #ruby
[01:29:33] minimalism: has joined #ruby
[01:30:18] CodingWolf: has joined #ruby
[01:30:53] keen___________8: has joined #ruby
[01:31:23] aaeron: has joined #ruby
[01:31:36] aaeron: I have a ruby gem.
[01:31:45] aaeron: which has a cli
[01:32:10] aaeron: I am using Logger for printing errors, info
[01:32:12] luckyme: has joined #ruby
[01:32:26] aaeron: When I run the gem individually then it shows me the output correctly
[01:32:56] aaeron: If I run it using a process (I run a rake task which internally calls mixlib shellout to call the gem)
[01:33:10] aaeron: In the second case I dont see the log statements.
[01:33:40] aaeron: I see log statements only after it returns
[01:34:13] Azure: has joined #ruby
[01:35:58] sckhzn: has joined #ruby
[01:36:14] djbkd: has joined #ruby
[01:37:54] sckhzn: has left #ruby: ()
[01:38:14] sckhzn: has joined #ruby
[01:38:41] sckhzn: has left #ruby: ()
[01:39:03] coetry: has joined #ruby
[01:39:41] Rollabunna: has joined #ruby
[01:40:54] i: has joined #ruby
[01:44:38] skweek: has joined #ruby
[01:44:40] metalic: has joined #ruby
[01:45:00] dikaio: has joined #ruby
[01:45:51] Vile`: has joined #ruby
[01:45:55] Azure: has joined #ruby
[01:46:10] CloCkWeRX: has joined #ruby
[01:46:38] dopie: has joined #ruby
[01:48:24] shevy: sounds as if the output gets buffered somehow
[01:50:10] nateberkopec: has joined #ruby
[01:51:12] workmad3: has joined #ruby
[01:52:01] ucarion: has joined #ruby
[01:53:01] ellisTAA: has joined #ruby
[01:53:14] hahuang61: has joined #ruby
[01:53:25] michael_mbp: has joined #ruby
[01:54:39] oetjenj: has joined #ruby
[01:56:12] patdohere: has joined #ruby
[01:56:23] symm-_: has joined #ruby
[01:57:30] aaeron: I am not sure if mixlib does that by default
[01:59:44] rickmasta: has joined #ruby
[02:00:21] riotjones: has joined #ruby
[02:00:34] r00t_: has joined #ruby
[02:01:47] Icey: has joined #ruby
[02:04:07] wallerdev: has joined #ruby
[02:04:58] mary5030: has joined #ruby
[02:05:03] devoldmx: has joined #ruby
[02:05:45] jaequery: has joined #ruby
[02:07:25] porfa: has joined #ruby
[02:08:04] mary5030_: has joined #ruby
[02:09:44] shevy: no idea either, too much magic!
[02:10:28] mary5030: has joined #ruby
[02:10:31] atomical: has joined #ruby
[02:11:32] nateberkopec: has joined #ruby
[02:12:34] ksteck: has joined #ruby
[02:13:28] patdohere: has joined #ruby
[02:13:51] Contigi777: has joined #ruby
[02:14:05] aaeron: IO.popen provides live streaming of output
[02:15:36] dfockler: has joined #ruby
[02:18:14] Shoutsid: has joined #ruby
[02:19:25] xrlabs: has joined #ruby
[02:23:37] tkuchiki: has joined #ruby
[02:24:25] karapetyan: has joined #ruby
[02:25:40] jsuth: has joined #ruby
[02:27:21] doritostains: has joined #ruby
[02:27:29] fullofcaffeine: has joined #ruby
[02:32:54] nateberkopec: has joined #ruby
[02:33:16] RegulationD: has joined #ruby
[02:35:19] xrlabs: has joined #ruby
[02:35:22] fullofcaffeine: has joined #ruby
[02:35:38] gsingh93: has joined #ruby
[02:36:17] [k-: has joined #ruby
[02:36:23] weihan: has joined #ruby
[02:37:02] djbkd: has joined #ruby
[02:39:42] d5sx43: has joined #ruby
[02:40:27] fullofcaffeine: has joined #ruby
[02:40:40] l_tonz_: has joined #ruby
[02:44:07] sdothum: has joined #ruby
[02:47:40] bb010g: has joined #ruby
[02:50:02] weihan: has joined #ruby
[02:50:09] fullofca_: has joined #ruby
[02:52:37] bkxd: has joined #ruby
[02:53:20] Musashi007: has joined #ruby
[02:53:31] ramfjord: has joined #ruby
[02:54:24] nateberkopec: has joined #ruby
[02:55:43] AnoHito: has joined #ruby
[02:56:29] rushed_: has joined #ruby
[02:58:02] Rixius: has joined #ruby
[03:00:56] gener1c: has joined #ruby
[03:02:00] UtkarshRay: has joined #ruby
[03:07:06] devbug: has joined #ruby
[03:08:01] chipotle: has joined #ruby
[03:08:28] stardiviner: has joined #ruby
[03:09:48] braincrash: has joined #ruby
[03:11:09] arescorpio: has joined #ruby
[03:13:12] zenguy_pc: has joined #ruby
[03:14:10] gsingh93: has joined #ruby
[03:15:38] nateberkopec: has joined #ruby
[03:16:05] rhg1351: has joined #ruby
[03:17:15] gix: has joined #ruby
[03:20:34] C0L0R: has joined #ruby
[03:21:16] mary5030: has joined #ruby
[03:21:22] darkf: has joined #ruby
[03:23:08] CloCkWeRX: has joined #ruby
[03:23:55] `tim`: has joined #ruby
[03:24:23] tkuchiki: has joined #ruby
[03:25:23] Musashi007: has joined #ruby
[03:29:36] ishikawa91: has joined #ruby
[03:31:22] nertzy: has joined #ruby
[03:31:58] JJM: has joined #ruby
[03:32:50] ramfjord: has joined #ruby
[03:34:47] d2dchat: has joined #ruby
[03:35:49] devoldmx: has joined #ruby
[03:36:23] Coldblackice_: has joined #ruby
[03:36:59] nateberkopec: has joined #ruby
[03:37:57] djbkd: has joined #ruby
[03:38:30] charliesome: has joined #ruby
[03:39:14] workmad3: has joined #ruby
[03:39:54] riotjones: has joined #ruby
[03:40:37] yes`r: has joined #ruby
[03:42:21] fullofcaffeine: has joined #ruby
[03:42:52] Jameser: has joined #ruby
[03:42:52] houhoulis: has joined #ruby
[03:45:12] havenn: has joined #ruby
[03:45:32] bkxd: has joined #ruby
[03:48:40] Channel6: has joined #ruby
[03:48:42] pontiki: has joined #ruby
[03:50:04] gsingh93: has joined #ruby
[03:50:07] jokke: has joined #ruby
[03:51:43] jamto11_: has joined #ruby
[03:55:48] jokke: has joined #ruby
[03:56:08] bazbing80: has joined #ruby
[03:57:43] dikaio: has joined #ruby
[03:58:26] nateberkopec: has joined #ruby
[03:58:49] zenguy_pc: has joined #ruby
[03:59:34] Jameser: has joined #ruby
[04:00:10] jpfuente_: has joined #ruby
[04:00:26] baweaver: has joined #ruby
[04:00:29] diegoaguilar: has joined #ruby
[04:00:58] aaeron: has joined #ruby
[04:02:35] luckyme: has joined #ruby
[04:02:51] bruno-: has joined #ruby
[04:05:58] ZucchiniZe: has joined #ruby
[04:07:44] odigity: has joined #ruby
[04:07:57] RobertBirnie: has joined #ruby
[04:12:03] mrburied: has joined #ruby
[04:13:28] jokke: has joined #ruby
[04:14:33] leafybasil: has joined #ruby
[04:16:39] sgambino: has joined #ruby
[04:16:46] joast: has joined #ruby
[04:19:44] nateberkopec: has joined #ruby
[04:21:46] gaboesquivel: has joined #ruby
[04:22:19] zenguy_pc: has joined #ruby
[04:24:59] balazs: has joined #ruby
[04:25:04] rippa: has joined #ruby
[04:25:31] tkuchiki: has joined #ruby
[04:26:53] gaboesqu_: has joined #ruby
[04:26:55] Gnomethrower: has joined #ruby
[04:28:04] fullofcaffeine: has joined #ruby
[04:28:27] tynamite___: has joined #ruby
[04:28:59] tynamite___: Hi can anyone help me on this? http://stackoverflow.com/questions/32995744/why-am-i-getting-argumenterror-invalid-encoding?noredirect=1#comment53823980_32995744
[04:29:31] Pharaoh2: has joined #ruby
[04:30:53] keen___________9: has joined #ruby
[04:33:33] fullofca_: has joined #ruby
[04:33:58] The_Phoenix: has joined #ruby
[04:33:59] tmtwd: has joined #ruby
[04:36:03] cwong_on_irc: has joined #ruby
[04:38:43] djbkd: has joined #ruby
[04:40:06] workmad3: has joined #ruby
[04:40:43] riotjones: has joined #ruby
[04:41:04] nateberkopec: has joined #ruby
[04:45:09] coetry: has joined #ruby
[04:47:02] jaequery: has joined #ruby
[04:52:04] blackjid: has joined #ruby
[04:59:07] ellisTAA: has joined #ruby
[04:59:26] gaboesquivel: has joined #ruby
[05:02:28] nateberkopec: has joined #ruby
[05:02:55] miqui: has joined #ruby
[05:03:54] swgillespie: has joined #ruby
[05:06:54] mmb: has joined #ruby
[05:07:00] jenrzzz: has joined #ruby
[05:12:00] jpfuente_: has joined #ruby
[05:14:16] praveen: has joined #ruby
[05:15:06] hahuang61: has joined #ruby
[05:15:44] jenrzzz: has joined #ruby
[05:20:44] fullofcaffeine: has joined #ruby
[05:23:02] jenrzzz: has joined #ruby
[05:23:51] nateberkopec: has joined #ruby
[05:24:49] devoldmx: has joined #ruby
[05:25:33] fullofcaffeine: has joined #ruby
[05:25:34] rakm: has joined #ruby
[05:29:58] aaeron: has joined #ruby
[05:30:53] jaygen: has joined #ruby
[05:31:08] matled-: has joined #ruby
[05:31:31] Codingwolf1: has joined #ruby
[05:31:33] fumk: has joined #ruby
[05:31:41] rickmasta: has joined #ruby
[05:32:25] praveen: has joined #ruby
[05:32:49] ereslibre: has joined #ruby
[05:32:51] tobyx: has joined #ruby
[05:32:54] MVPhelp: has joined #ruby
[05:33:23] mbeasley: has joined #ruby
[05:33:31] johnny56: has joined #ruby
[05:33:42] chipotle: has joined #ruby
[05:33:49] SylarRuby: has joined #ruby
[05:34:12] CodingWolf: has joined #ruby
[05:34:52] wlanboy: has joined #ruby
[05:35:05] skullcrasher: has joined #ruby
[05:35:39] cwong_on_irc: has joined #ruby
[05:35:59] CodingWolf: has joined #ruby
[05:36:06] govg: has joined #ruby
[05:37:39] CodingWolf: has joined #ruby
[05:39:03] CodingWolf: has joined #ruby
[05:39:18] djbkd: has joined #ruby
[05:40:51] workmad3: has joined #ruby
[05:41:30] riotjones: has joined #ruby
[05:42:12] CodingWolf: has joined #ruby
[05:43:32] dionysus69: has joined #ruby
[05:44:00] praveen: has joined #ruby
[05:44:15] CodingWolf: has joined #ruby
[05:44:27] yes`r: has joined #ruby
[05:45:08] nateberkopec: has joined #ruby
[05:46:16] mmb: has joined #ruby
[05:46:46] CodingWolf: has joined #ruby
[05:47:20] ejnahc: has joined #ruby
[05:48:08] TheRinger: has joined #ruby
[05:48:18] deject3d_: has joined #ruby
[05:49:05] CodingWolf: has joined #ruby
[05:50:17] momo-reina: has joined #ruby
[05:52:00] Renich: has joined #ruby
[05:52:02] CodingWolf: has joined #ruby
[05:52:38] yfeldblum: has joined #ruby
[05:52:46] towski_: has joined #ruby
[05:55:15] CodingWolf: has joined #ruby
[05:56:31] simplyianm: has joined #ruby
[05:57:28] devbug_: has joined #ruby
[05:57:58] CodingWolf: has joined #ruby
[05:58:07] lokulin: has joined #ruby
[05:59:00] momo-reina: has joined #ruby
[05:59:04] bnizzle: has joined #ruby
[05:59:26] abra0: has joined #ruby
[05:59:37] fullofcaffeine: has joined #ruby
[06:00:34] CodingWolf: has joined #ruby
[06:03:06] psye: has joined #ruby
[06:04:39] bruno-: has joined #ruby
[06:04:54] fullofcaffeine: has joined #ruby
[06:05:45] rushed: has joined #ruby
[06:06:32] nateberkopec: has joined #ruby
[06:07:53] mrburied: has joined #ruby
[06:08:34] jenrzzz: has joined #ruby
[06:09:24] fullofcaffeine: has joined #ruby
[06:16:13] momo-reina: has joined #ruby
[06:17:11] zenguy_pc: has joined #ruby
[06:22:59] djbkd: has joined #ruby
[06:23:12] jenrzzz: has joined #ruby
[06:24:45] zenguy_pc: has joined #ruby
[06:24:47] gusrub: has joined #ruby
[06:27:58] nateberkopec: has joined #ruby
[06:29:40] yes`r: has joined #ruby
[06:33:12] grenierm: has joined #ruby
[06:33:23] rushed: has joined #ruby
[06:34:46] RegulationD: has joined #ruby
[06:38:32] praveen: has joined #ruby
[06:41:37] workmad3: has joined #ruby
[06:42:15] riotjones: has joined #ruby
[06:46:15] fullofcaffeine: has joined #ruby
[06:46:59] zenguy_pc: has joined #ruby
[06:47:42] pocketprotector-: has joined #ruby
[06:49:12] nateberkopec: has joined #ruby
[06:50:17] jamesaxl: has joined #ruby
[06:51:02] benlieb: has joined #ruby
[06:54:38] Gnomethrower: has joined #ruby
[06:57:05] htmldrum: has joined #ruby
[06:58:22] weihan: has joined #ruby
[06:59:12] fullofcaffeine: has joined #ruby
[06:59:20] justin_pdx: has joined #ruby
[06:59:51] pawnbox: has joined #ruby
[07:00:30] rushed: has joined #ruby
[07:00:35] leafybasil: has joined #ruby
[07:04:04] havenn: has joined #ruby
[07:05:27] c0m0: has joined #ruby
[07:06:20] bruno-: has joined #ruby
[07:07:57] k3asd`: has joined #ruby
[07:08:57] yes`r: has joined #ruby
[07:10:36] nateberkopec: has joined #ruby
[07:11:38] PaulCape_: has joined #ruby
[07:13:13] patdohere: has joined #ruby
[07:13:42] lxsameer: has joined #ruby
[07:16:32] ledestin: has joined #ruby
[07:20:56] khebbie: has joined #ruby
[07:23:30] Pharaoh2: has joined #ruby
[07:24:23] otacon-: has joined #ruby
[07:25:16] KoolKidzKlub: has joined #ruby
[07:28:14] KoolKidzKlub: has joined #ruby
[07:28:20] KoolKidzKlub: can you make game hacks in ruby?
[07:28:39] bnagy: has joined #ruby
[07:28:48] Puffball: has joined #ruby
[07:30:10] BTRE: has joined #ruby
[07:31:58] fullofcaffeine: has joined #ruby
[07:32:07] nateberkopec: has joined #ruby
[07:34:07] kriskropd: has joined #ruby
[07:34:11] PaulCapestany: has joined #ruby
[07:35:55] fullofcaffeine: has joined #ruby
[07:37:28] Coldblackice_: has joined #ruby
[07:43:00] phutchins: has joined #ruby
[07:43:46] Dopagod: has joined #ruby
[07:43:46] Dopagod: has joined #ruby
[07:44:02] wallerdev: has joined #ruby
[07:45:09] Dopagod: has joined #ruby
[07:45:25] praveen: has joined #ruby
[07:47:22] yfeldblum: has joined #ruby
[07:50:00] firstdayonthejob: has joined #ruby
[07:52:16] Jameser: has joined #ruby
[07:53:17] nateberkopec: has joined #ruby
[07:53:45] patdohere: has joined #ruby
[07:54:58] Hanmac: koolkidzklub: jo why not? checkout RGSS and RPGMaker (XP to VXAce)
[07:55:18] KoolKidzKlub: i would like to make esps, aimbots, and wall hacks
[07:55:20] Hanmac: shevy: huhu did you know about "brotli" compression? ;P
[07:55:42] [k-: has joined #ruby
[07:56:14] faces: has joined #ruby
[07:59:07] spider-mario: has joined #ruby
[07:59:42] prateekp: has joined #ruby
[08:00:02] prateekp: how can i add a executable script before gem install
[08:00:07] prateekp: is there a way?
[08:00:43] darkf_: has joined #ruby
[08:03:19] ndrei: has joined #ruby
[08:04:12] hahuang61: has joined #ruby
[08:07:54] blackmesa: has joined #ruby
[08:08:29] armyriad: has joined #ruby
[08:12:45] pandaant: has joined #ruby
[08:12:56] odt: has joined #ruby
[08:13:44] rushed: has joined #ruby
[08:14:39] nateberkopec: has joined #ruby
[08:15:02] justinmcp: has joined #ruby
[08:15:09] dionysus69: has joined #ruby
[08:15:20] tw1sted: has joined #ruby
[08:15:39] ahuman: has joined #ruby
[08:15:57] prateekp: how can i add a executable script before gem install
[08:15:58] prateekp: is there a way?
[08:16:26] prateekp: i mean that script runs first and install some program and then gem gets installed
[08:16:40] boshhead: has joined #ruby
[08:18:03] iszak: has joined #ruby
[08:18:04] iszak: has joined #ruby
[08:18:26] timonv: has joined #ruby
[08:18:54] avelldiroll: has joined #ruby
[08:20:03] dcarmich: has joined #ruby
[08:20:40] simplyianm: has joined #ruby
[08:25:18] devoldmx: has joined #ruby
[08:26:56] rushed: has joined #ruby
[08:27:55] patdohere: has joined #ruby
[08:29:32] workmad3: has joined #ruby
[08:30:10] triangles: has joined #ruby
[08:31:31] lxsameer: has joined #ruby
[08:36:10] nateberkopec: has joined #ruby
[08:37:38] Trynemjoel: has joined #ruby
[08:39:51] symm-: has joined #ruby
[08:40:14] AlexRussia: has joined #ruby
[08:44:30] Jackneill: has joined #ruby
[08:45:02] xcesariox: has joined #ruby
[08:45:09] Trynemjoel: has joined #ruby
[08:46:25] n008f4g_: has joined #ruby
[08:51:26] DEA7TH: has joined #ruby
[08:51:36] patdohere: has joined #ruby
[08:53:17] pocketprotector: has joined #ruby
[08:54:39] Trynemjoel: has joined #ruby
[08:54:59] karapetyan: has joined #ruby
[08:56:58] sagittarian: has joined #ruby
[08:57:23] nateberkopec: has joined #ruby
[08:59:25] zotherstupidguy: has joined #ruby
[08:59:59] karapetyan: has joined #ruby
[09:04:31] triangles: has joined #ruby
[09:04:47] tier: has joined #ruby
[09:06:27] ausec: has joined #ruby
[09:06:44] karapetyan: has joined #ruby
[09:06:48] stardiviner: has joined #ruby
[09:07:26] bruno-: has joined #ruby
[09:07:57] xet7: has joined #ruby
[09:08:28] PhantomSpank: has joined #ruby
[09:09:48] cwong_on_irc: has joined #ruby
[09:16:03] ndrei: has joined #ruby
[09:18:34] gizmore: has joined #ruby
[09:18:35] gizmore: has joined #ruby
[09:18:44] nateberkopec: has joined #ruby
[09:19:29] marr: has joined #ruby
[09:19:39] tomqq: has joined #ruby
[09:20:00] tomqq: has left #ruby: ()
[09:20:26] tynamite___: has left #ruby: ()
[09:20:52] workmad3: has joined #ruby
[09:21:27] moeabdol: has joined #ruby
[09:21:54] fullofcaffeine: has joined #ruby
[09:22:10] last_staff: has joined #ruby
[09:32:03] khebbie: has joined #ruby
[09:33:16] yes`r: has joined #ruby
[09:33:22] decoponio: has joined #ruby
[09:33:29] voker57: has joined #ruby
[09:33:34] voker57: has joined #ruby
[09:39:05] shoutsid06: has joined #ruby
[09:39:33] timonv: has joined #ruby
[09:40:05] nateberkopec: has joined #ruby
[09:46:35] workmad3: has joined #ruby
[09:46:43] weihan: has joined #ruby
[09:46:58] The_Phoenix: has joined #ruby
[09:48:51] pawnbox: has joined #ruby
[09:50:17] weihan: has joined #ruby
[09:50:41] araujo_: has joined #ruby
[09:50:44] leafybasil: has joined #ruby
[09:52:17] Mon_Ouie: has joined #ruby
[09:56:05] ruurd: has joined #ruby
[09:56:45] bruno-: has joined #ruby
[09:57:20] The_Phoenix1: has joined #ruby
[09:58:30] yfeldblum: has joined #ruby
[10:01:33] nateberkopec: has joined #ruby
[10:02:20] firstdayonthejob: has joined #ruby
[10:04:46] oetjenj: has joined #ruby
[10:07:46] oetjenj: has joined #ruby
[10:09:44] Jameser: has joined #ruby
[10:11:14] rippa: has joined #ruby
[10:13:39] codecop: has joined #ruby
[10:17:06] ramfjord: has joined #ruby
[10:17:09] stamina: has joined #ruby
[10:20:27] arup_r: has joined #ruby
[10:20:58] DEA7TH: How can I test https requests with test unit?
[10:21:35] DEA7TH: I can mock the key part, but I'd also like to check for flags like use_ssl = true
[10:21:44] karapetyan: has joined #ruby
[10:22:50] nateberkopec: has joined #ruby
[10:24:07] freezevee: has joined #ruby
[10:24:45] freezevee: I have an array with User objects, each one having :name and :id. I am trying to find duplicates by name. How should I proceed ?
[10:26:04] devoldmx: has joined #ruby
[10:26:58] karapetyan: has joined #ruby
[10:27:44] SCHAAP137: has joined #ruby
[10:28:47] DoubleMalt: has joined #ruby
[10:29:56] otherj: has joined #ruby
[10:30:09] sdothum: has joined #ruby
[10:30:17] tomphp: has joined #ruby
[10:30:27] freezevee: any ideas ?
[10:30:35] allcentury: has joined #ruby
[10:31:45] ruurd: has joined #ruby
[10:33:53] canton7: freezevee, https://eval.in/448320
[10:34:23] freezevee: canton7: thank you
[10:34:28] freezevee: canton7: how can I remove them ?
[10:34:41] canton7: look at the doc pages for Array
[10:34:46] freezevee: canton7: sorry, I mean that I want to leave only the first one
[10:34:54] canton7: that's a different question
[10:35:17] freezevee: logically I could pick the first of each duplicates
[10:35:25] freezevee: and create another table with the uniques
[10:35:26] leitz: has joined #ruby
[10:35:38] canton7: freezevee, https://eval.in/448322
[10:35:39] freezevee: but is there another more clever way ?
[10:35:41] NeverDie: has joined #ruby
[10:35:58] freezevee: I feel stupid again
[10:36:12] freezevee: and I love ruby
[10:36:15] RegulationD: has joined #ruby
[10:36:41] leitz: Feeling stupid is required for growth.
[10:36:50] canton7: typical xy problem :P
[10:37:00] freezevee: canton7: is it injected into the same array ?
[10:37:02] leitz: If you felt you knew it you'd not want to waste time learning.
[10:37:18] freezevee: leitz: it's a typical feeling every time I come into this room
[10:38:04] canton7: freezevee, hmm?
[10:38:10] freezevee: canton7: https://eval.in/448323
[10:38:13] closed-shell: has joined #ruby
[10:38:27] freezevee: I thought I could do this with a "!"
[10:38:52] freezevee: to take place while iterate
[10:39:23] leitz: freezevee, I usually feel less than brilliant. Also, I tend to wonder if anyone is going to renew the gripe about me using Ruby 1.8.7. :)
[10:39:36] canton7: freezevee, https://eval.in/448324
[10:40:50] freezevee: canton7: many thanks
[10:41:14] freezevee: ACTION feels stupid and happy 
[10:43:22] Oog: has joined #ruby
[10:44:12] nateberkopec: has joined #ruby
[10:48:17] minimalism: has joined #ruby
[10:50:37] rickmasta: has joined #ruby
[10:53:43] mdih: has joined #ruby
[10:54:30] ndrei: has joined #ruby
[10:57:44] l_tonz: has joined #ruby
[10:57:46] karapetyan: how to get 11'th element in range ?
[10:58:49] canton7: lower bound + 11?
[10:59:30] karapetyan: and now i want to get 11'th element )
[11:03:28] CloCkWeRX: has left #ruby: ()
[11:04:06] l_tonz: has joined #ruby
[11:04:15] ht__: has joined #ruby
[11:05:29] nateberkopec: has joined #ruby
[11:06:05] gix: has joined #ruby
[11:06:56] SenpaiSilver: has joined #ruby
[11:10:10] fullofcaffeine: has joined #ruby
[11:10:12] existensil: has joined #ruby
[11:16:02] b3nt_pin: has joined #ruby
[11:21:03] spacemud: has joined #ruby
[11:21:44] nerium: has joined #ruby
[11:21:55] unsymbol: has joined #ruby
[11:25:05] Musashi007: has joined #ruby
[11:26:53] nateberkopec: has joined #ruby
[11:28:21] mdih: has joined #ruby
[11:29:25] johnny56: has joined #ruby
[11:29:52] shevy: hanmac heard it about fefe but only as a name, I have no idea what it is. It reminds me of swiss... ein brot... zwei brotli ... hahaha
[11:30:40] shevy: hanmac the dutch have very funny words too... wildebestie ... rehwildsboeckli ... one can understand these words!
[11:31:35] yosiat: has joined #ruby
[11:31:46] karapetyan: has joined #ruby
[11:33:25] PhantomSpank: any suggestions on what to read to get an insight on how to program in ruby (the problem solving aspect/ real world examples)
[11:34:10] ruboto: http://ruby-community.com/pages/links
[11:34:11] ruboto: You can find a list of recommended books at http://ruby-community.com/pages/links
[11:34:39] PhantomSpank: links or books, both would be fine
[11:34:57] prateekp: has joined #ruby
[11:35:00] PhantomSpank: @ruboto thanks!
[11:35:03] deject3d_: has joined #ruby
[11:35:20] adaedra: For "real-world examples", github has a lot of projects to explore.
[11:35:24] porfa: has joined #ruby
[11:35:24] ruboto: nomnomnomnom
[11:35:32] prateekp: how can i add some script to install some library to the gem install process
[11:35:48] PhantomSpank: @adaedra thanks man
[11:36:06] prateekp: So that if i install that gem, it first install/downloads certain program and then install
[11:36:09] Hanmac: shevy the joke: https://bugzilla.mozilla.org/show_bug.cgi?id=366559 checkout at the bottom: the shortcut for brotli is "bro" and that there the femiterrorists against oO
[11:36:11] adaedra: prateekp: you don't. Library dependencies have to be installed by the system.
[11:36:59] firstdayonthejob: has joined #ruby
[11:37:15] Hanmac: shevy: you understand german right? checkout this song: https://svenvanthom.bandcamp.com/track/beige
[11:37:17] karapetyan: has joined #ruby
[11:38:19] prateekp: adaedra: but how to mention those dependencies in gemspec
[11:39:42] UtkarshRay: has joined #ruby
[11:39:56] riotjones: has joined #ruby
[11:40:06] adaedra: I don't think they're usually are. You can add a step in the build process that fails if some library is not found (build would fail anyway).
[11:40:46] skullcrasher_: has joined #ruby
[11:41:48] dagda1: has joined #ruby
[11:41:49] c0m0: has joined #ruby
[11:42:07] Oog: has joined #ruby
[11:43:21] axisys: has joined #ruby
[11:45:15] beagles: has joined #ruby
[11:48:08] leafybasil: has joined #ruby
[11:48:15] nateberkopec: has joined #ruby
[11:48:44] prateekp: adaedra: is there a way to run some system command to run a script while installing gem
[11:49:21] adaedra: I don't know the build process for compiled gems well enough, but there should be, yes.
[11:49:44] adaedra: But don't use it to call yum/dnf/apt-get/aptitude/brew/pkg/whatever.
[11:50:29] blackmesa: has joined #ruby
[11:50:43] prateekp: in python, there is setup.py which runs on pip install
[11:51:02] prateekp: and if there is a system command to run some shell script, then it also works
[11:52:20] Kendos-Kenlen: has joined #ruby
[11:52:42] shredding: has joined #ruby
[11:59:04] DmitryBochkarev: has joined #ruby
[11:59:39] prateekp: does rakefile tasks run by itself on gem install?
[12:04:01] Spami: has joined #ruby
[12:05:00] lkba: has joined #ruby
[12:05:49] Mon_Ouie: has joined #ruby
[12:07:00] solocshaw: has joined #ruby
[12:08:02] ndrei: has joined #ruby
[12:08:48] lalalaaa: has joined #ruby
[12:09:37] nateberkopec: has joined #ruby
[12:09:54] vdamewood: has joined #ruby
[12:11:19] tkuchiki: has joined #ruby
[12:11:23] northfurr: has joined #ruby
[12:11:32] shevy: hanmac Jyrki Alakuijala was one of those who drafted brotli originally?
[12:12:08] shevy: hanmac btw since they dislike the word "bro" ... there is a "Patrick McManus" guy... look at which word his name includes!!!
[12:12:35] Hanmac: i dont know, maybe? i am just anoyed about that femiterrorists bullshit and that whole gender fuc
[12:12:41] karapetyan: has joined #ruby
[12:12:59] yes`r: has joined #ruby
[12:13:37] lalalaaa: Hi! Anybody know how to prevent `undefined local variable or method 'some_variable'`? https://gist.github.com/dt1973/8494bb76f7f3afbfb199
[12:14:00] shevy: lalalaaa the ruby parser needs to know what things are
[12:14:31] shevy: lalalaaa the local variables will stay local to your .rb file; change it to a @ var, then it should work @some_variable
[12:14:47] shevy: or a constant like SOME_VARIABLE
[12:14:47] phutchins: has joined #ruby
[12:15:18] lalalaaa: shevy: awesome :)
[12:15:30] shevy: it works now?
[12:15:53] lalalaaa: it does indeed =)
[12:16:43] nanoz: has joined #ruby
[12:16:43] shevy: hanmac what do you think about frozen strings in ruby 3.x?
[12:17:12] Hanmac: shevy hm i think its not 100% my case but i am not massive against it
[12:18:20] FernandoBasso: has joined #ruby
[12:18:53] |ifei5g00d: has joined #ruby
[12:19:43] mary5030: has joined #ruby
[12:20:48] prateekp: how to run shell commands in extconf.rb file
[12:23:35] acke: has joined #ruby
[12:23:36] [spoiler]: has joined #ruby
[12:24:11] blackmes1: has joined #ruby
[12:24:32] ruurd: has joined #ruby
[12:24:39] Hanmac: shevy checkout this song: https://svenvanthom.bandcamp.com/track/beige
[12:24:51] apt-get: has joined #ruby
[12:25:24] shevy: hanmac reminds me of fanta vier
[12:26:45] asthasr: has joined #ruby
[12:26:49] Hanmac: as i searched for this song yesterday it did took me a while after i noticed that "beige" is not written "b??sch" or something similar ;P specially worse if you have a saxony accent ;P
[12:26:50] devoldmx: has joined #ruby
[12:28:22] prateekp: on running shell command in extconf.rb file, i got undefined method `sh' for main:Object (NoMethodError)
[12:29:17] asthasr: prateekp, what syntax are you trying to use to run it?
[12:29:48] prateekp: sh "./build.sh"
[12:30:14] asthasr: try surrounding it in backticks: `sh "./build.sh"`
[12:30:42] jakobhans: has joined #ruby
[12:30:57] nateberkopec: has joined #ruby
[12:31:22] ledestin: has joined #ruby
[12:33:04] prateekp: asthasr : I have a doubt, i have extconf.rb and even if i do "puts hello" or something in that, that does not get output while installing gem
[12:33:15] prateekp: only this message comes Building native extensions. This could take a while...
[12:33:39] Icey: has joined #ruby
[12:34:22] asthasr: I haven't used extconf.rb (I haven't needed to write C extensions), but my understanding is that it is for pre-processing. You use it to generate a script which is run by someone installing your extension.
[12:35:01] asthasr: That is, it doesn't get invoked when installing (as part of the build process), but rather it is invoked as part of the packaging process.
[12:35:05] infernix: has joined #ruby
[12:35:09] asthasr: Someone with more experience might chime in :)
[12:36:20] prateekp: yeah, i think the same. I wanted to place this script as part of the build process
[12:37:04] RegulationD: has joined #ruby
[12:37:04] David27: has joined #ruby
[12:37:11] kalusn: has joined #ruby
[12:37:20] asthasr: You may want to put its invocation in the Makefile itself then.
[12:37:32] prateekp: but as i know, first rubygem is build and then that gem is installed. But suppose i wanted to have the script run when someone installs the gem on his system
[12:39:22] [k-: maybe dig into httparty's source
[12:40:03] PhantomS_: has joined #ruby
[12:40:05] [k-: it is infamous for its build process that prints "when you httparty, you must party hard!" onto the terminal
[12:40:59] doddok: has joined #ruby
[12:41:43] Hanmac: prateekp: hm normally you use rake for that
[12:42:30] prateekp: i checked httparty, they have some gem as dependency. But in my case my c++ extension has some dependency which it need to fetch first and then run extconf.rb to build the extension
[12:42:59] prateekp: hanmac: but how to run certain rake tasks while install procedure
[12:43:12] asthasr: Maybe look at how nokogiri's install process works; they use some quite hairy external dependencies.
[12:43:21] mary5030: has joined #ruby
[12:43:22] ruurd: has joined #ruby
[12:43:36] Hanmac: hm no you do the rake stuff before or after you run the extconf.rb script
[12:43:40] [k-: and go off to a road of blinding scripts
[12:44:42] apt-get_: has joined #ruby
[12:45:14] Hanmac: that reminds me .. on the weekend i need to add new classes to rwx again
[12:45:16] prateekp: hanmac: right, i want to do it before extconf.rb script
[12:46:01] prateekp: but when someone installs gem using : gem install mygem, then that rake stuff is run and the extconf.rb script is run and finally the gemspec build
[12:46:03] |ifei5g00d: has joined #ruby
[12:46:13] prateekp: how this can be automated or scheduled
[12:46:19] Hanmac: prateekp: hm you should do it somethere like i did at this place: https://github.com/Hanmac/rwx/blob/master/Rakefile#L41
[12:46:19] sgambino: has joined #ruby
[12:46:54] Hanmac: but i am unsure if that is even run when doing gem install ... hm i need to checkout
[12:47:07] porfa: has joined #ruby
[12:47:23] Hanmac: otherwise you might even require rake in your extconf.rb and then you can use sh directly
[12:47:30] Seich: has joined #ruby
[12:48:21] simplyianm: has joined #ruby
[12:48:30] prateekp: i dint get - require rake in your extconf.rb and then you can use sh directly
[12:48:35] prateekp: what does this mean exantly
[12:49:11] prateekp: ahh u mean - require 'rake' and then run shell commands
[12:49:37] jamto11: has joined #ruby
[12:49:46] bonhoeffer: has joined #ruby
[12:50:09] prateekp: yeah but i tried
[12:50:11] bonhoeffer: when you extend ruby code to call see ??? what libraries does ruby.h include (looks like stdio for example)
[12:50:41] prateekp: Dir.chdir($v8eval_root) do puts $v8eval_root end
[12:50:48] prateekp: i put this code in extconf.rb
[12:51:10] prateekp: but nothing gets print out in build process
[12:51:27] prateekp: install process
[12:51:38] prateekp: it just says Building native extensions. This could take a while...
[12:52:18] nateberkopec: has joined #ruby
[12:52:48] [k-: maybe it could be that the output is redirected somewhere else
[12:52:56] [k-: like a log file, for example
[12:53:01] ruurd: has joined #ruby
[12:53:09] arup_r: If I do `SecureRandom.hex(6)`.. Can I make sure it will always create a 12 digit number ?
[12:55:39] [k-: i remember i was doing a random number generator in java that must be 4 digits long
[12:56:03] [k-: i rejected any number less than 1000 and made it regenerate again
[12:57:25] acke: has joined #ruby
[12:57:33] [k-: so, you must check if a number is < 100 000 000 000
[12:58:42] fullofcaffeine: has joined #ruby
[12:59:25] nettoweb: has joined #ruby
[12:59:33] asthasr: SecureRandom.hex(6) should always generate a 12 digit number.
[13:00:02] CloCkWeRX: has joined #ruby
[13:00:21] adaedra: [k-: that's awful.
[13:01:16] arup_r: well..That is great.. I don't need to check then :D
[13:01:35] arup_r: I did run it 50 times.. saw always same count.. still asked
[13:02:30] arup_r: >> require 'securerandom' ; p 500.times.map { SecureRandom.hex(6).size == 12 }.all?
[13:02:31] ruboto: arup_r # => true ...check link for more (https://eval.in/448358)
[13:02:35] Jameser: has joined #ruby
[13:02:44] arup_r: this how I tested.. :) not manually
[13:02:50] WillAmes: has joined #ruby
[13:03:15] stardiviner: has joined #ruby
[13:04:05] simplyianm: has joined #ruby
[13:04:26] tangentstorm: has left #ruby: ("WeeChat 0.3.2")
[13:04:57] |ifei5good: has joined #ruby
[13:05:22] [k-: 500 is a small sample sizd
[13:05:39] [k-: adaedra: what do you suggest then?
[13:05:50] sulky: has joined #ruby
[13:06:52] apt-get: has joined #ruby
[13:07:49] amystephen: has joined #ruby
[13:08:03] dionysus69: has joined #ruby
[13:08:18] adaedra: [k-: use a range-based random
[13:09:25] [k-: i believe they still do this under the hood
[13:09:33] [k-: it was in java anyway
[13:09:40] [k-: you have to do the heavy lifting yourself
[13:10:25] firstdayonthejob: has joined #ruby
[13:10:56] michael_mbp: has joined #ruby
[13:11:43] sulky: has joined #ruby
[13:13:09] nateberkopec: has joined #ruby
[13:15:59] decoponio: has joined #ruby
[13:17:36] brazenbraden: has joined #ruby
[13:18:22] sulky: has joined #ruby
[13:19:00] Guest91: has joined #ruby
[13:19:28] diegoaguilar: has joined #ruby
[13:20:15] shevy: ACTION lifts the heavy [k- 
[13:21:39] symm-: has joined #ruby
[13:21:54] firstdayonthejob: has joined #ruby
[13:22:14] alveric: has joined #ruby
[13:22:23] yes`r: has joined #ruby
[13:24:06] simplyianm: has joined #ruby
[13:24:19] sulky: has joined #ruby
[13:24:36] |ifei5g00d: has joined #ruby
[13:25:26] shevy: ACTION lifts the whole channel!
[13:25:48] nicdev_`: has left #ruby: ("ERC (IRC client for Emacs 25.0.50.1)")
[13:27:15] shevy: yo Diabolik
[13:27:20] Diabolik: how are you doing?
[13:27:36] shevy: dunno. compiling different GCC right now
[13:27:45] simplyianm: has joined #ruby
[13:28:14] blackmes1: has joined #ruby
[13:30:09] chipotle: has joined #ruby
[13:31:19] Stan: has joined #ruby
[13:32:46] shevy: I do finally list which versions are not the most recent ones, like via http://shevegen.square7.ch/screenshot.png (never mind the small colour bug there, I fixed that one after the upload)
[13:32:47] beauby: has joined #ruby
[13:32:49] _blizzy_: has joined #ruby
[13:35:06] shinnya: has joined #ruby
[13:35:16] sulky: has joined #ruby
[13:35:36] apt-get: has joined #ruby
[13:36:28] RegulationD: has joined #ruby
[13:37:59] Bellthoven: has joined #ruby
[13:38:36] beast: has joined #ruby
[13:39:06] xcesariox: has joined #ruby
[13:40:58] victortyau: has joined #ruby
[13:41:31] Archyme: has joined #ruby
[13:41:36] howdoi: has joined #ruby
[13:41:57] rodrigo: has joined #ruby
[13:42:36] atomical: has joined #ruby
[13:44:12] havenn: has joined #ruby
[13:44:40] rodrigo: has joined #ruby
[13:47:05] deject3d_: has joined #ruby
[13:47:18] beauby: has joined #ruby
[13:47:58] xrlabs: has joined #ruby
[13:49:59] simplyianm: has joined #ruby
[13:50:46] psye: has joined #ruby
[13:52:10] krz: has joined #ruby
[13:54:21] mary5030: has joined #ruby
[13:55:34] devoldmx: has joined #ruby
[13:57:25] lkba: has joined #ruby
[13:57:38] beauby: has joined #ruby
[13:58:16] jessemcgilallen: has joined #ruby
[13:58:37] bin7me: has joined #ruby
[14:00:19] jdawgaz: has joined #ruby
[14:01:50] araujo: has joined #ruby
[14:01:58] jamesaxl|2: has joined #ruby
[14:02:50] karapetyan: has joined #ruby
[14:03:52] josuebrunel1: has joined #ruby
[14:06:18] JJM: has joined #ruby
[14:09:17] mfb2: has joined #ruby
[14:14:10] yes`r: has joined #ruby
[14:18:12] simplyianm: has joined #ruby
[14:19:38] Zamyatin: has joined #ruby
[14:21:27] RobertBirnie: has joined #ruby
[14:21:51] CrazyEddy: has joined #ruby
[14:21:57] simplyianm: has joined #ruby
[14:22:02] blackmesa: has joined #ruby
[14:23:12] stardiviner: has joined #ruby
[14:24:01] ksteck: has joined #ruby
[14:25:20] |ifei5g00d: has joined #ruby
[14:26:10] coetry: has joined #ruby
[14:26:44] bruno-: has joined #ruby
[14:26:44] allcentury: has joined #ruby
[14:27:50] simplyianm: has joined #ruby
[14:28:20] asthasr: [k-, adaedra: the docs specify that SecureRandom.hex(n) will generate a number of n bytes, which means that the hex string will be of length 2n.
[14:28:35] solocshaw: has joined #ruby
[14:29:05] asthasr: if you are worried about some edge case, you can always generate a slightly longer number and take a slice from the front... but I don't think that would really be an issue.
[14:29:32] prestorium: has joined #ruby
[14:31:27] gaboesquivel: has joined #ruby
[14:33:10] karapetyan: has joined #ruby
[14:33:35] yeshacker: has joined #ruby
[14:34:21] simplyianm: has joined #ruby
[14:37:10] Shoutsid: has joined #ruby
[14:37:14] pcfreak30: has joined #ruby
[14:37:38] pcfreak30: Is there any library to assist on syncing files locally?
[14:37:58] zenguy_pc: has joined #ruby
[14:38:57] michael_mbp: has joined #ruby
[14:39:17] Klumben: has joined #ruby
[14:39:30] northfurr: has joined #ruby
[14:39:44] asthasr: I'd just use rsync.
[14:39:58] fastAndSlow: has joined #ruby
[14:41:49] pcfreak30: well i need to be able to backup conflicting directories and files, so if a directory exists it gets moved as a whole.
[14:43:54] sepp2k: has joined #ruby
[14:45:22] shevy: would be nice if we'd have an rsync-ruby
[14:47:15] fullofcaffeine: has joined #ruby
[14:47:44] Shoutsid: has joined #ruby
[14:48:08] nanoz: has joined #ruby
[14:48:54] asthasr: well, there's this: https://rubygems.org/gems/rsync/versions/1.0.9 -- but it looks quite dead
[14:49:09] dorei: has joined #ruby
[14:49:15] decoponyo: has joined #ruby
[14:50:28] asthasr: pcfreak30, I'm not sure I understand that constraint. Do you mean that if there is a tree, /a/b/c, and /a/b already exists, it gets moved elsewhere?
[14:51:09] asthasr: rsync has a ton of options, I think there's probably a way to force it to do what you want
[14:51:24] skweek: has joined #ruby
[14:52:31] pcfreak30: asthasr: yes
[14:52:32] nfk: has joined #ruby
[14:52:56] pcfreak30: And I already looked. I an rsyn and delete files but not backup folders
[14:54:30] favadi: has joined #ruby
[14:56:03] _whitelogger_: has joined #ruby
[14:56:25] favadi: has joined #ruby
[14:57:13] leslie: has joined #ruby
[14:57:13] leslie: has joined #ruby
[14:57:23] elektronaut: has joined #ruby
[14:57:24] [spoiler]: has joined #ruby
[14:57:27] jessemcgilallen: has joined #ruby
[14:57:43] JStoker: has joined #ruby
[15:00:13] JStoker: has joined #ruby
[15:00:48] skade: has joined #ruby
[15:01:44] tomphp: has joined #ruby
[15:02:07] Outlastsheep: has joined #ruby
[15:03:40] patrick_star: has joined #ruby
[15:04:37] asthasr: personally I'd probably just approach that as: if the tree exists at all (from the root), archive it; then rsync the new files over.
[15:05:33] RobertBirnie: has joined #ruby
[15:06:30] chouhoulis: has joined #ruby
[15:06:30] pandaant: has joined #ruby
[15:07:23] chouhoulis: has joined #ruby
[15:08:45] chouhoulis: has joined #ruby
[15:10:35] shmilan: has joined #ruby
[15:10:54] CrazyEddy: has joined #ruby
[15:12:18] coetry: has joined #ruby
[15:13:10] tomphp: has joined #ruby
[15:14:16] stamina: has joined #ruby
[15:14:20] tenderlo_: has joined #ruby
[15:14:42] Azure: has joined #ruby
[15:15:14] zenguy_pc: has joined #ruby
[15:17:04] tenderlo_: has joined #ruby
[15:18:42] jdawgaz: has joined #ruby
[15:19:05] tenderlove: has joined #ruby
[15:20:33] whoami_: has joined #ruby
[15:20:55] pcfreak30: how can I use Zip::File with an existing io handle
[15:21:04] tenderlo_: has joined #ruby
[15:21:12] dionysus69: has joined #ruby
[15:22:36] Shoutsid: has joined #ruby
[15:23:08] tenderlo_: has joined #ruby
[15:26:16] tenderlove: has joined #ruby
[15:26:33] skweek: has joined #ruby
[15:26:53] Bellthoven: has joined #ruby
[15:27:25] atomical: has joined #ruby
[15:27:34] mehwork: has joined #ruby
[15:28:16] tenderlo_: has joined #ruby
[15:28:32] mehwork: i wish this had been kept up to date, it's 404'ing a lot https://rubygems.org/gems/cheat
[15:29:26] asthasr: mehwork, Fork it?
[15:31:03] asthasr: yeah, that is ever the problem.
[15:31:49] Zamyatin: has joined #ruby
[15:32:55] shevy: it should be easier to add more authors to gems
[15:33:00] shevy: so people could do that before they retire
[15:33:09] bonhoeffer: has joined #ruby
[15:34:05] bkulbida: has joined #ruby
[15:34:23] mehwork: the cheat gem lets you add new cheat sheets if you happen to know the name and do 'cheat <whatever>' but you can get a list without 404ing when you do 'cheat sheets' and the wiki itself is 404'ing to list them all. So it's only half broken at least
[15:35:27] shevy: actually, if the only change you need to do is to change one URL, download that gem, extract it, modify that faulty line, then republish with a slightly different name
[15:35:53] djbkd: has joined #ruby
[15:37:14] pilne: has joined #ruby
[15:37:33] shevy: they had a pretty good run... active from 2006 to 2012 https://rubygems.org/gems/cheat/versions
[15:37:41] Peteykun: has joined #ruby
[15:38:57] ttilley: has joined #ruby
[15:39:48] Jameser: has joined #ruby
[15:40:58] fullofcaffeine: has joined #ruby
[15:41:10] maletor_: has joined #ruby
[15:42:05] tkuchiki: has joined #ruby
[15:43:03] Shoutsid: has joined #ruby
[15:43:22] karapetyan: has joined #ruby
[15:46:24] poguez_: has joined #ruby
[15:46:55] mmb: has joined #ruby
[15:49:31] Shoutsid: has joined #ruby
[15:50:02] ndrei: has joined #ruby
[15:53:53] Shoutsid: has joined #ruby
[15:54:50] psye: has joined #ruby
[15:55:58] krz: has joined #ruby
[15:56:23] sumark: has joined #ruby
[15:57:49] pilne: has left #ruby: ()
[15:58:17] bonhoeffer: has joined #ruby
[15:58:45] davedev24: has joined #ruby
[15:59:49] Shoutsid: has joined #ruby
[16:02:14] nerium: has joined #ruby
[16:02:26] deject3d_: has joined #ruby
[16:03:31] symm-: has joined #ruby
[16:05:50] doddok: how in sequelt i ca ntake first 5 records ?
[16:06:00] doddok: how in sequel i can take first 5 records ?
[16:06:23] apeiros: I'd guess DB[:table].first(5)
[16:07:03] lkba_: has joined #ruby
[16:08:11] mmb: has joined #ruby
[16:10:24] subscope: has joined #ruby
[16:10:55] blackmesa: has joined #ruby
[16:11:16] toretore: has joined #ruby
[16:11:18] ruurd: has joined #ruby
[16:11:36] Soda: has joined #ruby
[16:12:48] iateadonut: has joined #ruby
[16:13:15] yeshacker: has joined #ruby
[16:14:54] pcfreak30: What is the best way to get ruby 1.9.3 installed on centos 6?
[16:17:50] kobain: has joined #ruby
[16:18:16] devoldmx: has joined #ruby
[16:18:45] ruurd: tic toc tic toc tic toc
[16:20:01] lalalaaa: pcfreak30: Choose OpenBSD for your Unix needs. OpenBSD -- the world's simplest and most secure Unix-like OS. Creator of the world's most used SSH implementation OpenSSH, the world's most elegant firewall PF, the world's most elegant mail server OpenSMTPD, the OpenSSL rewrite LibreSSL, and the NTP rewrite OpenNTPD. OpenBSD -- the cleanest kernel, the cleanest userland and the cleanest configuration syntax.
[16:20:35] fullofcaffeine: has joined #ruby
[16:20:46] bonhoeffer: has joined #ruby
[16:21:48] Kendos-Kenlen_: has joined #ruby
[16:23:10] Jardayn: has joined #ruby
[16:23:15] pcfreak30: lalalaaa: spam much?
[16:25:40] lalalaaa: nah just thought i'd put on my preacher robe for a sec there ;)
[16:27:42] pcfreak30: if i did know better i say you were a bot.
[16:27:58] pcfreak30: besides i have no reason to use OpenBSD
[16:28:24] pcfreak30: switching for the sake of ruby isnt even an option anyays
[16:29:00] bonhoeffer: has joined #ruby
[16:29:32] josuebrunel: has joined #ruby
[16:29:33] lalalaaa: cool no probs
[16:29:49] josuebrunel: has joined #ruby
[16:29:56] lalalaaa: personally im never gonna take the chance on hosting my million-dollar ruby apps on linux
[16:30:05] josuebrunel: has joined #ruby
[16:30:22] josuebrunel: has joined #ruby
[16:30:28] lalalaaa: it's just not secure enough, plus it's a god damn mess compared to openbsd.. but that's just one man's opinion
[16:30:30] pcfreak30: i never used bsd stuff
[16:30:31] justin_pdx: has joined #ruby
[16:30:37] pcfreak30: unless you count darwin
[16:30:40] josuebrunel: has joined #ruby
[16:31:08] pcfreak30: and i never had an issue in production with that choice
[16:31:17] lalalaaa: oh yeah darwin, true true
[16:31:33] pcfreak30: I rarely ever used a mac
[16:31:39] pcfreak30: usually my school pcs
[16:31:42] mehwork: i wonder why ruby didn't use enddef, endif enddo, etc instead of just having a bunch of end's at the bottom of things
[16:31:55] mehwork: i guess that is ugly
[16:32:37] pcfreak30: mehwork: i like it how it is as its pretty simple. pp does it like that as the endif is an alternate syntax
[16:32:49] bonhoeffer: has joined #ruby
[16:33:49] shevy: mehwork lot of additional typing work for no real netgain
[16:34:27] shevy: the languages that use braces can avoid that issue altogether simply by
[16:34:30] shevy: function bla() {
[16:34:30] rajat_333: has joined #ruby
[16:34:47] NeverDie: has joined #ruby
[16:35:18] mehwork: yeah but i mean } or end often requires a comment saying what it's ending
[16:35:26] toretore: you're going to have trouble figuring out which block an end/endif/} belongs to no matter what
[16:35:29] Contigi: has joined #ruby
[16:35:37] mehwork: or an editor that's smart enough to know
[16:36:03] pcfreak30: i use rubymine
[16:36:08] pcfreak30: so never really an issue
[16:36:46] mehwork: proper indentation is good enough for me most of the time
[16:37:15] ghr: I think if you've got that many ends inside one method you could probably do with breaking it up in to smaller chunks
[16:37:17] blackmesa: has joined #ruby
[16:37:29] fullofcaffeine: has joined #ruby
[16:38:03] ghr: e.g. https://speakerdeck.com/skmetz/all-the-little-things-railsconf?slide=20
[16:39:03] ghr: good comparison https://speakerdeck.com/skmetz/all-the-little-things-railsconf?slide=341
[16:39:48] shevy: mehwork indent will easily work for ~2 indent levels
[16:40:01] shevy: I usually ignore the toplevel namespace
[16:40:13] shevy: module Foo
[16:40:14] shevy: class Bar
[16:40:18] shevy: def initialize
[16:40:33] shevy: not ideal but it helps me focus on what is important
[16:40:46] sankaber: has joined #ruby
[16:41:00] dionysus69: has joined #ruby
[16:41:03] pawnbox: has joined #ruby
[16:41:35] lxsameer: has joined #ruby
[16:42:20] shinnya: has joined #ruby
[16:42:34] pawnbox: has joined #ruby
[16:43:01] nettoweb: has joined #ruby
[16:44:37] arup_r: has joined #ruby
[16:47:17] codecop: has joined #ruby
[16:47:41] bonhoeffer: has joined #ruby
[16:49:38] pawnbox: has joined #ruby
[16:50:18] sameerynho: has joined #ruby
[16:52:03] Cyther: has joined #ruby
[16:53:48] solocshaw: has joined #ruby
[16:54:22] Chau: has joined #ruby
[16:54:57] Shoutsid: has joined #ruby
[16:55:03] fullofcaffeine: has joined #ruby
[16:58:57] jun_: has joined #ruby
[17:00:03] chipotle: has joined #ruby
[17:01:55] ishikawa91: has joined #ruby
[17:04:12] Shoutsid: has joined #ruby
[17:05:12] Joufflu: has joined #ruby
[17:07:17] gaboesqu_: has joined #ruby
[17:08:04] yeshacker: has joined #ruby
[17:08:24] apt-get: has joined #ruby
[17:08:30] blackmesa: has joined #ruby
[17:08:48] mfb2: has left #ruby: ()
[17:10:07] loocash: has joined #ruby
[17:10:21] mfb2: has joined #ruby
[17:11:53] Shoutsid: has joined #ruby
[17:13:51] Oog: has joined #ruby
[17:14:38] DoubleMalt: has joined #ruby
[17:14:56] Blaguvest: has joined #ruby
[17:15:32] Hanmac: has joined #ruby
[17:17:01] ngscheur1: has joined #ruby
[17:17:26] lele: has joined #ruby
[17:18:40] djbkd: has joined #ruby
[17:18:42] johnhamelink: has joined #ruby
[17:19:10] SylarRuby: has joined #ruby
[17:21:43] rodfersou: has joined #ruby
[17:24:23] Klumben: has joined #ruby
[17:24:24] l_tonz: has joined #ruby
[17:24:32] otherj: has joined #ruby
[17:25:03] irk: has joined #ruby
[17:25:04] karapetyan: has joined #ruby
[17:25:55] finisherr: has joined #ruby
[17:26:36] naftilos76: has joined #ruby
[17:27:09] ttilley: has joined #ruby
[17:28:59] subscope: has joined #ruby
[17:29:16] jun_: has joined #ruby
[17:29:32] p0wn3d__: has joined #ruby
[17:30:44] dionysus69: has joined #ruby
[17:32:11] mloy_: has joined #ruby
[17:32:20] leafybasil: has joined #ruby
[17:35:36] sankaber: has joined #ruby
[17:37:25] gambl0re: has joined #ruby
[17:38:15] ruby-lang609: has joined #ruby
[17:39:30] mfb2: in rspec, can you declare private methods to help setup testing data?
[17:40:04] mfb2: it appears as though it doesn't like something
[17:40:29] Channel6: has joined #ruby
[17:41:09] vdamewood: has joined #ruby
[17:42:19] ishikawa91: you can create methods in your spec files, or even put it in a spec_helper
[17:42:42] Pharaoh2: has joined #ruby
[17:43:17] maletor_: has joined #ruby
[17:44:13] pipework: mfb2: Sure, you just need to make sure they're the hierarchy for the object you're calling them on.
[17:44:14] mfb2: cool ??? yeah I got it now, I was inappropriately putting "do" in the def declaration??? However now, I'm trying to figure out how to set up constants that can be used throughout a file
[17:44:36] pipework: A constant doesn't seem like the right idea for a test.
[17:44:44] ttilley: has joined #ruby
[17:44:44] ttilley: has joined #ruby
[17:44:48] pipework: Perhaps you can show us some code.
[17:44:55] mfb2: I'm a java developer, so ruby is a little different to me??? I'm attempting to use "@myvariable" to stub out an input that woudl be going to my test classes
[17:44:56] ishikawa91: constants for your test data?
[17:45:17] ishikawa91: you can leverage factory_girl and faker to generate fake test data
[17:45:24] fullofcaffeine: has joined #ruby
[17:45:28] mfb2: at runtime, I would be dynamically sending the execution context
[17:45:31] pipework: You can also use fixtures.
[17:45:34] l_tonz: has joined #ruby
[17:45:44] kirun: has joined #ruby
[17:45:50] justin_pdx: has joined #ruby
[17:45:58] pipework: You can also use factory_girl and ffaker (faster faker) to generate fixtures as well.
[17:46:01] mfb2: basically, I want to operate on the user's home directory, but for testing purposes, I want to ensure a local testing directory is used for i/o
[17:46:34] mfb2: that way I don't actually mess around with someone's home directory, should they clone the project and start testing
[17:46:36] Dopagod: has joined #ruby
[17:47:00] pipework: mfb2: Why not just setup a directory using a skeleton that copies the files over, optionally processing them with erb?
[17:47:04] mfb2: so within the test, I attempted to define a property at the top of the class (e.g. @property = "mystring")
[17:47:04] diegoaguilar: has joined #ruby
[17:47:25] e1senhorn: has joined #ruby
[17:47:26] mfb2: but it appears to be nil when it's used in my "describe" blocks for rspec
[17:47:36] pipework: mfb2: It will be because it's not in scope.
[17:47:43] pipework: Define it in a before or a let.
[17:48:28] Dopagod: has joined #ruby
[17:48:34] Dopagod: has joined #ruby
[17:48:47] mfb2: So the declaration and assignment can't happen at the same time? you can provide the class property, but will need to set it manually?
[17:48:58] diegoviola: has joined #ruby
[17:49:51] pipework: mfb2: CODE BRO
[17:50:34] mfb2: lol, word I'll get a pastebin together, one sec
[17:51:47] pipework: A gist would be better.
[17:53:06] mfb2: uy right ??? I did see that in the chanserv message, my bad ??? I'll snag that, one sec
[17:53:41] zenguy_pc: has joined #ruby
[17:54:35] karapetyan: has joined #ruby
[17:55:00] sankaber: has joined #ruby
[17:55:10] mfb2: https://gist.github.com/mfb2/8222c367577594f1862a
[17:55:22] naftilos76: has joined #ruby
[17:55:41] fullofcaffeine: has joined #ruby
[17:55:53] Ingin: has joined #ruby
[17:56:21] pipework: mfb2: Wrap line 10 with a before block.
[17:56:36] pipework: before { @destination = 'testdir' }
[17:57:19] pipework: Also, you might want to look at the Pathname library, it's pretty cool.
[17:57:22] sagittarian: has joined #ruby
[17:59:16] mfb2: oh curly braces, how I missed you
[17:59:39] mfb2: pathname library? definitely going to check it out, sounds like it'd be real useful right about now
[18:00:19] mfb2: I know my code is probably uber-n00b right now, I'm very new to this language??? I'm working on super-trivial tasks to get familiar with how to work with it
[18:00:53] pipework: mfb2: It's totally cool. I just like pathname because then you can deal with this nice object to query and command rather than deal with strings, then File, then whatever else.
[18:01:13] northfurr: has joined #ruby
[18:03:51] Shoutsid: has joined #ruby
[18:03:53] sepp2k1: has joined #ruby
[18:03:54] Dopagod: has joined #ruby
[18:04:41] jessemcgilallen: has joined #ruby
[18:04:53] sepp2k: has joined #ruby
[18:05:20] ruby-lang063: has joined #ruby
[18:05:29] fatal77: has joined #ruby
[18:05:29] ruby-lang063: ACTION slaps abra0 around a bit with a large fishbot
[18:06:00] Zarthus: ACTION throws confetti all around abra0
[18:07:10] Xiti: has joined #ruby
[18:07:36] benlieb: has joined #ruby
[18:08:36] fullofcaffeine: has joined #ruby
[18:12:11] devbug_: has joined #ruby
[18:12:43] naftilos76: has joined #ruby
[18:13:18] CanTonic: has joined #ruby
[18:15:58] karapetyan: has joined #ruby
[18:16:13] RobertBirnie: has joined #ruby
[18:16:50] Trynemjoel: has joined #ruby
[18:17:39] patdohere: has joined #ruby
[18:18:43] stamina: has joined #ruby
[18:19:14] patdohere: has joined #ruby
[18:19:33] karapetyan: has joined #ruby
[18:20:14] hahuang65: has joined #ruby
[18:20:54] brunto: has joined #ruby
[18:21:20] devoldmx: has joined #ruby
[18:21:27] swgillespie: has joined #ruby
[18:22:42] mfb2: style-wise, what's the preferred naming convention?
[18:22:51] apt-get: has joined #ruby
[18:23:07] mfb2: camelCaseVariables, or underscore_delimited_variables?
[18:23:15] mfb2: same question for methods
[18:23:21] vedis: has joined #ruby
[18:23:57] Icey: has joined #ruby
[18:24:22] Coraline: underscores all the way
[18:24:27] Coraline: And all-caps constants
[18:24:32] Coraline: CamelCase classes
[18:24:56] mfb2: MyClassName
[18:25:02] mfb2: MY_CONSTANT
[18:25:08] mfb2: my_method_name()
[18:25:15] Trynemjoel: has joined #ruby
[18:25:16] mfb2: my_variable
[18:25:21] apeiros: ACTION uses PascalCase for all constants, though. not just classes & modules
[18:25:27] apeiros: but SHOUT_CASE is widespread
[18:25:30] slackR: has joined #ruby
[18:25:52] mfb2: ACTION SHOUT_CASE TOTALLY SHOUTS
[18:26:17] apeiros: there are a couple of style guides out
[18:26:43] apeiros: but with regards to style guides: adopt one and stick to it. when in a team, choose one as a team and stick to it.
[18:26:50] apeiros: it's easy to get adapted to a new style.
[18:27:57] shevy: I use CamelPascal
[18:28:20] vedis: has left #ruby: ()
[18:28:30] buharin: has joined #ruby
[18:30:06] apeiros: hi buharin
[18:30:40] buharin: should I really need to learn javascript if I want to web dev or html 5 dev
[18:30:51] buharin: or there some another langs beside
[18:31:07] korolyov: has joined #ruby
[18:31:14] apeiros: there are others which are transpiled to javascript (like coffeescript f.ex.)
[18:31:19] apeiros: but IMO yes, learn JS.
[18:31:57] naftilos76: has joined #ruby
[18:32:19] gaboesquivel: has joined #ruby
[18:33:14] AccordLTN: has joined #ruby
[18:33:21] havenn: buharin: ClojureScript,TypeScript, Elm, ElixirScript and even Ruby's Opal are others to consider in addition to CoffeeScript.
[18:34:19] brunto: has joined #ruby
[18:34:57] buharin: havenn, thnks for info :)
[18:35:49] makufiru: has joined #ruby
[18:36:01] michael_mbp: suppose an object overrides `#empty?` and I want to restore its behaviour but without simply removing it from the public API; what's the best way to handle this?
[18:36:41] slackR: has joined #ruby
[18:36:43] apeiros: michael_mbp: does it override the inherited method from a superclass?
[18:36:52] dionysus69: has joined #ruby
[18:37:50] blackmesa: has joined #ruby
[18:37:52] michael_mbp: FYI in a Rails context, but yes in the sense that Object#present? calls #blank? which in turn calls respond_to?(:empty?) ? !!empty? : !self
[18:38:21] Bellthoven: has joined #ruby
[18:38:51] apeiros: you can use Superclass.instance_method(:empty?) and then either define_method (redefine the method) or bind (one time use)
[18:39:03] havenn: buharin: Or target a modern flavor of JavaScript like ECMAScript 6.
[18:39:37] fullofcaffeine: has joined #ruby
[18:39:57] karapetyan: has joined #ruby
[18:40:01] kies^: has joined #ruby
[18:40:06] havenn: the humanity...: https://kangax.github.io/compat-table/es6/
[18:40:19] michael_mbp: apeiros: how would define_method work?
[18:40:26] michael_mbp: (in this case...)
[18:40:39] nk8: has joined #ruby
[18:40:54] michael_mbp: define_method(:empty?) { Object.instance_method(:empty?) }
[18:41:01] michael_mbp: need to pass 'self' to that though... hmm.
[18:41:41] apeiros: >> class A; def foo; "A"; end; end; class B < A; def foo; "B"; end; end; B.send :define_method, :foo, A.instance_method(:foo); B.new.foo
[18:41:42] ruboto: apeiros # => "A" (https://eval.in/448415)
[18:41:44] apeiros: michael_mbp: ^
[18:42:10] apeiros: or actually, I think you can just use one of remove_method or undef_method. I keep forgetting which one does which, though :)
[18:42:56] apeiros: ah, it's remove_method
[18:43:02] josuebrunel: has joined #ruby
[18:43:04] apeiros: >> class A; def foo; "A"; end; end; class B < A; def foo; "B"; end; end; class B; remove_method(:foo); end; B.new.foo
[18:43:05] ruboto: apeiros # => "A" (https://eval.in/448416)
[18:43:19] josuebrunel: has joined #ruby
[18:43:37] josuebrunel: has joined #ruby
[18:43:54] josuebrunel: has joined #ruby
[18:44:13] josuebrunel: has joined #ruby
[18:44:24] michael_mbp: apeiros: in your example, foo has been overridden within the context of B
[18:44:47] michael_mbp: so the thing is this, others may be calling that method
[18:44:55] michael_mbp: expecting current behavour
[18:45:01] Shoutsid: has joined #ruby
[18:45:11] blackmes1: has joined #ruby
[18:45:19] apeiros: -bbb *!*@172.56.26.152 *!*@172.56.39.43 *!*@*ip.185.22.183.198
[18:45:27] apeiros: +b josuebrunel!*@*$#ruby-fix-your-connection
[18:45:33] apeiros: -o apeiros
[18:45:59] tomaz_b: has joined #ruby
[18:46:06] apeiros: michael_mbp: you didn't specify that. and in that case you want the .bind variant.
[18:46:43] apeiros: though IMO you should probably rethink the whole thing
[18:46:46] beauby: has joined #ruby
[18:46:53] apeiros: this has all the parts of a code smell.
[18:46:59] houhoulis: has joined #ruby
[18:47:02] diegoviola: has joined #ruby
[18:47:41] michaeldeol: has joined #ruby
[18:47:43] michael_mbp: so Object.instance_method(:empty?).bind(self).call
[18:48:03] apeiros: Object does not define .empty?
[18:48:24] michael_mbp: in Rails one of the activesupport things do last I looked.
[18:48:26] apeiros: you have to use the superclass which defines the original behavior you want
[18:48:48] RobertBirnie: has joined #ruby
[18:48:55] michael_mbp: cool, I'll pry in and check.
[18:49:06] PhantomSpank: has joined #ruby
[18:49:14] apeiros: I doubt that
[18:49:20] apeiros: in rails 4.1 it's not the case at least.
[18:49:33] apeiros: maybe you're thinking of .blank?
[18:49:57] michael_mbp: http://apidock.com/rails/v4.2.1/Object/blank%3F
[18:50:19] michael_mbp: some one has defined empty? which is messing with present?/blank?
[18:50:48] michael_mbp: thinking best to raise a warning.
[18:50:58] apeiros: I suggest you figure out who (Method#source_location should help) and seriously spank them
[18:51:04] apeiros: also report it as a bug.
[18:51:09] ruurd: has joined #ruby
[18:51:27] michael_mbp: yeah that's already an issue on GH.
[18:51:33] michael_mbp: https://github.com/solidusio/solidus/issues/416
[18:52:28] Musashi007: has joined #ruby
[18:52:35] michael_mbp: ActiveSupport::Deprecation.warn migth be worth calling.
[18:52:48] sankaber: has joined #ruby
[18:53:01] dagda1: has joined #ruby
[18:53:15] yfeldblum: has joined #ruby
[18:53:23] apeiros: does not look like they define it on Object
[18:54:53] jackjackdripper: has joined #ruby
[18:57:00] michael_mbp: just pry'd in, and Object does have blank?/present?
[18:57:17] jhass: that's normal, AS defines it
[18:57:24] apeiros: michael_mbp: you're confusing stuff
[18:57:35] michael_mbp: calling those using the bind approch, re-triggeres another pry (since I'm already inside #empty?)
[18:57:36] apeiros: yes, Object has *blank?*, but NO Object does not have *empty?*
[18:57:57] dcope: has left #ruby: ()
[18:58:07] michael_mbp: No, I got that; however, _this_ object responds to it, since it has been added :)
[18:58:12] apeiros: and neither does solidus seem to add *empty?* to Object (which is what you said before)
[18:58:26] michael_mbp: apeiros: sorry no, didn't mean Object, but this instance.
[18:58:30] michael_mbp: mislead you there.
[18:59:09] yeshacker: has joined #ruby
[18:59:14] apeiros: anyway, simple work around: define present?/blank? on Spree::Address
[19:00:11] michael_mbp: and raise a deprecation warning on #empty? yeah?
[19:00:27] apeiros: no idea. but I think spree has its own channel. might want to ask there.
[19:00:48] user1138: has joined #ruby
[19:00:50] michael_mbp: apologies for the confusion, but you've certainly helped.
[19:00:51] mistermocha: has joined #ruby
[19:01:39] apeiros: no worries. yw.
[19:01:46] dionysus69: has joined #ruby
[19:02:57] michaeldeol: has joined #ruby
[19:03:40] jessemcgilallen: has joined #ruby
[19:04:29] kadoppe: has joined #ruby
[19:07:41] ruurd: has joined #ruby
[19:11:30] ericjphillips: has joined #ruby
[19:12:09] kalusn: has joined #ruby
[19:12:30] wnd: has joined #ruby
[19:12:40] shevy: how would you people judge the OS distribution of #ruby, roughly? 1/3 are macsters, the rest linux users save for the last 5% which go to BSD and windows?
[19:13:16] apeiros: shevy: I use ruby on macs and linux - so to which camp do I count?
[19:13:20] mikecmpbll: has joined #ruby
[19:13:42] shevy: I think you are more a mac user
[19:14:14] simplyianm: has joined #ruby
[19:14:27] loocash: has joined #ruby
[19:15:52] michael_mbp: well, I spend 99% of my time in a zsh/vim. Could be doing the same on a linux box if I _had_ to.
[19:16:46] tenderlove: has joined #ruby
[19:16:51] fullofcaffeine: has joined #ruby
[19:16:54] pipework: And then 50% in the browser.
[19:16:59] pipework: I'm 40% browser.
[19:17:00] beauby: has joined #ruby
[19:17:41] dasher00: has joined #ruby
[19:18:09] saddad: has joined #ruby
[19:18:37] DexterLB: has joined #ruby
[19:19:01] loocash: Hi, when I create gem with bundler and --ext option then rspec doesn't work
[19:19:02] loocash: http://pastebin.com/eGyec9ac
[19:19:02] ruboto: loocash, we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
[19:19:25] loocash: someone knows what it could be?
[19:20:13] VeryBewitching: has joined #ruby
[19:20:54] loocash: https://gist.github.com/loocash/c4806e84ce3b571dd76d
[19:21:07] mary5030: has joined #ruby
[19:21:40] raazdaan: has joined #ruby
[19:21:57] tkuchiki: has joined #ruby
[19:21:59] northfurr: has joined #ruby
[19:23:13] RobertBirnie: has joined #ruby
[19:23:31] mary5030: has joined #ruby
[19:26:01] karapetyan: has joined #ruby
[19:26:14] Alina-malina: has joined #ruby
[19:26:36] jeff_laplante: has joined #ruby
[19:27:09] northfurr: has joined #ruby
[19:28:34] jun_: has joined #ruby
[19:29:16] sankaber: has joined #ruby
[19:30:14] towski_: has joined #ruby
[19:31:06] changqing: has joined #ruby
[19:31:23] justin_pdx: has joined #ruby
[19:31:57] maletor_: has joined #ruby
[19:32:48] devbug: has joined #ruby
[19:32:55] havenn: has joined #ruby
[19:33:34] bruno-: has joined #ruby
[19:33:49] ruurd: has joined #ruby
[19:34:34] Bellthoven: has joined #ruby
[19:35:56] aaeron: has joined #ruby
[19:35:57] l_tonz: has joined #ruby
[19:36:36] blackmesa: has joined #ruby
[19:37:09] jun_: has joined #ruby
[19:37:39] aaeron1: has joined #ruby
[19:37:49] changqing: nokogoti installation failed to build gem native extension, can somebody help?
[19:37:58] Helius: has joined #ruby
[19:37:59] changqing: nokogori installation failed to build gem native extension, can somebody help?
[19:38:29] ishikawa91: gist of the error?
[19:39:06] shevy: changqing probably you miss some .h file or other devel component
[19:39:10] RobertBirnie: has joined #ruby
[19:39:58] riotjones: has joined #ruby
[19:42:50] loocash: what do you think about this: https://gist.github.com/loocash/c4806e84ce3b571dd76d
[19:43:22] northfurr: has joined #ruby
[19:43:51] ruurd: has joined #ruby
[19:45:08] shadoi: has joined #ruby
[19:46:23] shevy: cannot load such file -- aaa/aaa (
[19:46:29] shevy: did you install it?
[19:47:08] karapetyan: has joined #ruby
[19:49:13] loocash: no, everything ive done is written on my gist. I mean when i create a gem with: bundle gem mygem and then run rspec everything works fine and when i create the same gem with --ext option rspec fails
[19:50:08] dagda1_: has joined #ruby
[19:51:02] loocash: and there is no such file as aaa/aaa. there is aaa/lib/aaa.rb
[19:51:31] loocash: or aaa/aaa.gemspec
[19:51:37] northfurr: has joined #ruby
[19:52:22] rickmasta: has joined #ruby
[19:52:43] bonhoeffer: has joined #ruby
[19:53:41] havenn: loocash: The log shows those being created. Do a `bundle install` after `cd aaa`.
[19:54:44] sagittarian: has joined #ruby
[19:55:05] jun_: has joined #ruby
[19:56:00] ramfjord: has joined #ruby
[19:56:40] Klumben: has joined #ruby
[19:57:33] loocash: https://gist.github.com/loocash/c4806e84ce3b571dd76d
[19:57:42] loocash: so bundle install didnt solve my problem
[19:58:07] loocash: ive just updated my gist
[19:58:42] havenn: loocash: Prefix `bundle exec` to commands to run them "in the context of the Bundle."
[19:59:38] beauby: has joined #ruby
[19:59:43] havenn: loocash: Basically prefix `bundle exec` to any command you want to be using the Bundle's exact gems.
[20:00:00] Musashi007: has joined #ruby
[20:00:39] loocash: bundle exec rspec comes with the same result as rspec
[20:01:04] ruurd: has joined #ruby
[20:02:08] ndrei: has joined #ruby
[20:02:45] Bellthoven: has joined #ruby
[20:02:47] jun_: has joined #ruby
[20:04:10] loocash: https://gist.github.com/loocash/c4806e84ce3b571dd76d
[20:04:34] ferz_: has joined #ruby
[20:05:19] ItSANgo: has joined #ruby
[20:05:41] bender_unit: has joined #ruby
[20:07:03] naftilos76: has joined #ruby
[20:10:39] benlieb: has joined #ruby
[20:12:07] havenn: loocash: Works on my machine: bundle gem aaa --ext && cd aaa && echo "gem 'rspec'" >> Gemfile && bundle install && bundle exec rspec
[20:12:33] Vile`: has joined #ruby
[20:13:28] havenn: loocash: Or I suppose you could use the --test=rspec flag.
[20:13:48] havenn: loocash: Seems Bundler's gem generation has that option ^.
[20:14:16] havenn: loocash: Though Minitest ships with Ruby RSpec does not. You have to add the dependency to use it.
[20:14:46] jun_: has joined #ruby
[20:15:21] bluOxigen: has joined #ruby
[20:15:27] ruurd: has joined #ruby
[20:17:51] beauby: has joined #ruby
[20:19:14] gregoriokusowski: has joined #ruby
[20:25:12] ruurd: has joined #ruby
[20:25:31] shinnya: has joined #ruby
[20:26:11] loocash: It still doesn't work for me
[20:26:27] korolyov: has joined #ruby
[20:26:28] loocash: rspec -v: 3.3.2
[20:26:37] avtobiff: has joined #ruby
[20:26:40] loocash: bundle -v: 1.10.6
[20:26:46] avtobiff: how can i print a variable inside a test case?
[20:27:10] ishikawa91: puts variable_name
[20:27:20] avtobiff: i tried adding to assertequals like so: assert_equals "output", data, "data = #{data} in testcase X"
[20:27:20] ishikawa91: is that what you meant?
[20:27:23] havenn: loocash: Bundler does an odd thing where they set the spec.files to stuff checked into git: `git ls-files -z`.split("\x0")...
[20:27:42] avtobiff: ishikawa91, it doesn't show
[20:28:04] havenn: loocash: Try again after git-committing everything.
[20:28:08] pipework: avtobiff: use puts to print the value to stdout.
[20:28:20] avtobiff: it doesn't show
[20:28:21] rakm: has joined #ruby
[20:28:23] pipework: avtobiff: note that puts does not return the value of the expression you pass to it.
[20:28:33] pipework: avtobiff: then show it
[20:28:51] avtobiff: actually it's probably PEBCAK
[20:28:59] avtobiff: run tests in wrong directory :(
[20:29:01] avtobiff: sorry for the noise
[20:29:08] shevy: he shall be spanked!
[20:30:01] loocash: havenn: All the time the same error even after commit
[20:31:10] havenn: loocash: OS/distro?
[20:31:17] Kendos-Kenlen: has joined #ruby
[20:31:21] loocash: Linux loocash 3.19.0-30-generic #34-Ubuntu SMP Fri Oct 2 22:08:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[20:32:12] jdawgaz: has joined #ruby
[20:33:02] matp_: has joined #ruby
[20:34:31] n_blownapart: has joined #ruby
[20:35:04] loocash: and the funny thing is that without --ext rspec works
[20:35:20] wallerdev: has joined #ruby
[20:35:50] beauby: has joined #ruby
[20:36:41] shevy: arguments given to a .rb file, will always originate as array, right? aka via ARGV originally
[20:36:43] finisherr: has joined #ruby
[20:37:21] pipework: shevy: Unless it's from STDIN, I believe.
[20:37:28] apeiros: shevy: they're not given to an rb file, only to the executable
[20:37:30] pipework: in which case, it's an IO object.
[20:37:57] apeiros: but yes, args to a ruby executable are available in the ARGV array
[20:38:04] apeiros: always an array, always an array of strings
[20:38:17] ttilley: has joined #ruby
[20:39:10] apeiros: there's also ARGF and as pipework said $stdin (which should be preferred over STDIN)
[20:39:50] KensoDev_: has joined #ruby
[20:40:19] pipework: apeiros: Ah yes, $stdin
[20:40:54] Edward123: has joined #ruby
[20:41:00] riotjones: has joined #ruby
[20:41:08] julieeharshaw: has joined #ruby
[20:41:22] cliffstah_: has joined #ruby
[20:41:41] l_tonz_: has joined #ruby
[20:41:47] konopka_: has joined #ruby
[20:42:01] ruboto_: has joined #ruby
[20:42:21] mduca_: has joined #ruby
[20:42:46] bnagy_: has joined #ruby
[20:43:59] perrier_: has joined #ruby
[20:44:00] Silicium: has joined #ruby
[20:44:08] conrfrmn: has joined #ruby
[20:44:08] rfi_: has joined #ruby
[20:44:09] Ray`_: has joined #ruby
[20:44:12] ammar: has joined #ruby
[20:44:14] an0ma1y-: has joined #ruby
[20:44:22] nug: has joined #ruby
[20:44:23] lnx_: has joined #ruby
[20:44:45] AustinIncognito: has joined #ruby
[20:44:46] bonhoeffer: has joined #ruby
[20:44:50] yeticry_: has joined #ruby
[20:44:58] apeiros: aha, netsplit. that explains ruboto_
[20:45:00] Evans: has joined #ruby
[20:45:14] apeiros: and why I can't change its nick
[20:45:54] d2s: has left #ruby: ()
[20:46:22] ruurd: has joined #ruby
[20:47:10] bruno-: has joined #ruby
[20:47:18] segmond: has joined #ruby
[20:47:33] shevy: so I managed to make myself curious why this was not working: i.spit(',')
[20:47:45] naftilos76_: has joined #ruby
[20:47:54] l_tonz_: has joined #ruby
[20:48:54] drew2_: has joined #ruby
[20:50:58] TakumoKatekari: has joined #ruby
[20:50:58] TakumoKatekari: has joined #ruby
[20:53:58] beauby: has joined #ruby
[20:54:09] bonhoeffer: has joined #ruby
[20:54:50] diego1: has joined #ruby
[20:54:57] diego1: has joined #ruby
[20:55:49] cornerma1: has joined #ruby
[20:56:11] diegoaguilar: has joined #ruby
[20:56:32] bonhoeffer: has joined #ruby
[20:57:00] mclee_: has joined #ruby
[20:57:51] swgillespie: has joined #ruby
[20:58:22] swgillespie: has left #ruby: ()
[20:58:34] Pharaoh2: has joined #ruby
[20:59:36] beast: has joined #ruby
[21:00:14] ajafo: has joined #ruby
[21:00:14] vifino: has joined #ruby
[21:00:14] tsunamie: has joined #ruby
[21:00:14] psye: has joined #ruby
[21:00:14] n008f4g_: has joined #ruby
[21:00:14] nej: has joined #ruby
[21:00:14] nullFxn_: has joined #ruby
[21:00:14] pl1ght: has joined #ruby
[21:00:14] Biohazard: has joined #ruby
[21:00:14] mmasaki: has joined #ruby
[21:01:28] saddad: has joined #ruby
[21:01:52] RegulationD: has joined #ruby
[21:02:32] avtobiff: has left #ruby: ()
[21:02:44] blackmesa: has joined #ruby
[21:03:19] ajafo: has joined #ruby
[21:04:36] A124: has joined #ruby
[21:04:50] nettoweb: has joined #ruby
[21:05:23] pocketprotector-: has joined #ruby
[21:05:52] Klumben: has joined #ruby
[21:06:44] psye: has joined #ruby
[21:06:49] rbowlby: has joined #ruby
[21:07:30] bender_unit: has joined #ruby
[21:07:32] nullFxn: has joined #ruby
[21:08:17] baweaver: has joined #ruby
[21:08:33] optiz0r: has joined #ruby
[21:08:39] johnhamelink: has joined #ruby
[21:08:50] optiz0r: has left #ruby: ()
[21:09:29] loocash: has joined #ruby
[21:10:02] t_mmyv: has joined #ruby
[21:10:58] nk8: has joined #ruby
[21:11:53] DanKnox: has joined #ruby
[21:12:01] beauby: has joined #ruby
[21:12:49] gregf: has joined #ruby
[21:13:37] minimalism: has joined #ruby
[21:15:42] fhx: has joined #ruby
[21:16:19] fhx: How are hash keys compared for equality when looking up a value?
[21:18:32] havenn: fhx: Hash#eql?: http://ruby-doc.org/core/Hash.html#class-Hash-label-Hash+Keys
[21:20:31] tkuchiki: has joined #ruby
[21:21:00] akkad: has joined #ruby
[21:21:06] havenn: TL;DR: ...when their hash value is identical and the two objects are eql?...
[21:21:18] jun_: has joined #ruby
[21:21:33] havenn: http://ruby-doc.org/core/Object.html#method-i-hash
[21:23:05] havenn: "a.eql?(b) implies a.hash == b.hash"
[21:23:53] havenn: when all is right in the world
[21:30:07] jamto11: has joined #ruby
[21:30:08] beauby: has joined #ruby
[21:30:40] fhx: havenn: How are symbols compared for equality in a hash? The same way?
[21:31:09] havenn: >> :brunch.hash
[21:31:10] ruboto: havenn # => -79638004 (https://eval.in/448423)
[21:31:24] havenn: >> :brunch.eql? :brunch
[21:31:25] ruboto: havenn # => true (https://eval.in/448424)
[21:33:16] mnemon: has joined #ruby
[21:33:25] ruisantos: has joined #ruby
[21:33:27] matp: has joined #ruby
[21:33:31] bkutil_: has joined #ruby
[21:33:31] smooth_penguin: has joined #ruby
[21:33:35] yie: has joined #ruby
[21:33:38] havenn: >> :brunch.hash == :brunch.hash
[21:33:38] jun_: has joined #ruby
[21:33:39] ruboto: havenn # => true (https://eval.in/448426)
[21:33:40] swgillespie: has joined #ruby
[21:33:42] majjoha: has joined #ruby
[21:33:43] matled-: has joined #ruby
[21:33:46] sonne: has joined #ruby
[21:33:47] timmow: has joined #ruby
[21:33:54] MuffinPimp_: has joined #ruby
[21:34:09] maletor__: has joined #ruby
[21:34:09] havenn: fhx: Yup, any Hash key is going to be checked the same way.
[21:34:27] symm-_: has joined #ruby
[21:34:29] KrzaQ: has joined #ruby
[21:34:45] havenn: fhx: Check if the #hash is #== and if they're #eql?.
[21:34:48] cescalante: has joined #ruby
[21:34:51] JStoker: has joined #ruby
[21:35:08] frode15243_: has joined #ruby
[21:35:27] fhx: havenn: I thought symbols were checked for ther object ids only...
[21:35:30] apt-get: has joined #ruby
[21:35:57] Mon_Ouie: Sure. Symbol#eql? just happens to compare objects by identity.
[21:36:01] benlakey_: has joined #ruby
[21:36:05] artmann_: has joined #ruby
[21:36:09] Alayde_: has joined #ruby
[21:36:13] Pharaoh2_: has joined #ruby
[21:36:59] hagebake: has joined #ruby
[21:37:05] spider-mario_: has joined #ruby
[21:37:13] bove_: has joined #ruby
[21:37:18] lnx: has joined #ruby
[21:37:26] pcfreak30: https://gist.github.com/pcfreak30/de972a22fd437964286b wrong number of arguments (0 for 2). What am I doing wrong?
[21:37:27] speaking1ode: has joined #ruby
[21:37:28] yeticry: has joined #ruby
[21:37:33] sts: has joined #ruby
[21:37:35] firoxer_: has joined #ruby
[21:37:37] Ariadeno: has joined #ruby
[21:37:41] stacybir1: has joined #ruby
[21:37:41] cout_: has joined #ruby
[21:37:46] badeball_: has joined #ruby
[21:37:49] leat: has joined #ruby
[21:37:52] Mon_Ouie: Show the exact error message along with the backtrace
[21:37:58] axisys_: has joined #ruby
[21:38:07] camilasann: has joined #ruby
[21:38:16] hoylemd_: has joined #ruby
[21:38:31] Mekkis_: has joined #ruby
[21:38:41] jevs_: has joined #ruby
[21:38:43] bjmllr_: has joined #ruby
[21:38:45] chrisseaton_: has joined #ruby
[21:38:48] danzilio_: has joined #ruby
[21:38:56] pipecloud: has joined #ruby
[21:39:15] n1ftyn8__: has joined #ruby
[21:39:26] daxroc1: has joined #ruby
[21:39:53] troter____: has joined #ruby
[21:40:00] jabreity_: has joined #ruby
[21:40:00] pcfreak30: Mon_Ouie: I cant really. Its running behind puppet and I know the portion is on the each loop
[21:40:00] lacrosse_: has joined #ruby
[21:40:03] gf3_: has joined #ruby
[21:40:41] Mon_Ouie: It tells you the name of the method that you're calling with no arguments instead of 2. It's hard to help you without that information.
[21:40:45] havenn: pcfreak30: I suspect: http://yard.ruby-doc.org/stdlib/Dir/Tmpname.html#make_tmpname-instance_method
[21:41:03] nitrix-: has joined #ruby
[21:41:12] havenn: Dir::Tmpname.make_tmpname
[21:41:14] kayloos: has joined #ruby
[21:41:26] FIGO_: has joined #ruby
[21:41:34] neanias_: has joined #ruby
[21:41:34] havenn: I linked the wrong one, but ^.
[21:41:36] marahin_: has joined #ruby
[21:41:36] bougyman_: has joined #ruby
[21:41:36] riotjones: has joined #ruby
[21:41:38] Armand: has joined #ruby
[21:41:40] kitallisii: has joined #ruby
[21:41:42] omegahm_: has joined #ruby
[21:41:43] sindork_: has joined #ruby
[21:41:45] twohlix_: has joined #ruby
[21:41:46] pcfreak30: havenn: no that works
[21:41:51] woodruff-: has joined #ruby
[21:41:55] maxmanders_: has joined #ruby
[21:41:59] thejoecarroll_: has joined #ruby
[21:42:00] DiabolikFreenode: has joined #ruby
[21:42:04] Takumo: has joined #ruby
[21:42:04] Takumo: has joined #ruby
[21:42:07] pcfreak30: i sed that private method to not dupicate the implementation
[21:42:28] taxen: has joined #ruby
[21:42:38] preyalone_: has joined #ruby
[21:42:43] gsingh93_: has joined #ruby
[21:42:43] RazorX-: has joined #ruby
[21:42:53] abra0_: has joined #ruby
[21:43:01] yo61_: has joined #ruby
[21:43:07] apeiros_: has joined #ruby
[21:43:07] brixen_: has joined #ruby
[21:43:14] Dfoolz: has joined #ruby
[21:43:17] taxen: Hey everyone. Is it ok to ask Rails related questions here?
[21:43:22] kenichi: has joined #ruby
[21:43:26] marahin: has joined #ruby
[21:43:28] _5moufl: has joined #ruby
[21:43:34] Mon_Ouie: Try #rubyonrails instead ;)
[21:43:34] havenn: taxen: #RubyOnRails is the best place for Rails-specific questions.
[21:43:34] Guest85414______: has joined #ruby
[21:43:51] taxen: havenn: yeah, but not alot of activity there at the moment
[21:43:55] bodgix: has joined #ruby
[21:43:59] armyriad: has joined #ruby
[21:44:13] northfurr: has joined #ruby
[21:44:16] sheepman: has joined #ruby
[21:44:59] lhz: has joined #ruby
[21:45:31] gregf: has joined #ruby
[21:45:58] havenn: >> require 'tmpdir'; Dir::Tmpname.make_tmpname
[21:46:01] ruboto: havenn # => wrong number of arguments (0 for 2) (ArgumentError) ...check link for more (https://eval.in/448439)
[21:46:07] havenn: pcfreak30: ^
[21:46:10] Or1on: has joined #ruby
[21:46:55] pcfreak30: just realized that
[21:47:03] nk8: has joined #ruby
[21:48:04] fhx: In the top level of ruby program, self is equal to main. self.class == Object. What does this mean?
[21:48:09] pcfreak30: https://gist.github.com/pcfreak30/95557580f39a186a6eb5
[21:48:10] crayfishx: has joined #ruby
[21:48:14] fhx: a ruby program*
[21:48:18] pcfreak30: Destination '20151010-23927-la1j5v-0' already exists
[21:48:22] ddfreyne_: has joined #ruby
[21:48:27] async_prince: has joined #ruby
[21:48:31] pcfreak30: Whats up with that?
[21:48:33] noodle: has joined #ruby
[21:48:33] shevy: has joined #ruby
[21:48:45] musicmatze: has joined #ruby
[21:48:55] sorah: has joined #ruby
[21:48:56] pcfreak30: im trying to loop and extact a zip file
[21:49:28] kobain: has joined #ruby
[21:49:45] kies: has joined #ruby
[21:49:52] HashNuke: has joined #ruby
[21:49:53] towler: has joined #ruby
[21:49:55] bkulbida: has joined #ruby
[21:49:58] swgillespie: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[21:50:24] Caelum: has joined #ruby
[21:50:28] hplar: has joined #ruby
[21:50:46] Eleeleth: has joined #ruby
[21:51:15] GGMethos: has joined #ruby
[21:51:19] torpig: has joined #ruby
[21:51:37] programmerq: has joined #ruby
[21:51:45] skade: has joined #ruby
[21:52:58] dualbus: has joined #ruby
[21:53:13] leafybasil: has joined #ruby
[21:53:32] Mon_Ouie: fhx: Not sure what type of information you're looking for. Do you know what self is in general?
[21:53:37] jpfuente_: has joined #ruby
[21:53:55] rj-code: has joined #ruby
[21:53:55] xybre: has joined #ruby
[21:53:55] rlf: has joined #ruby
[21:53:55] trajing: has joined #ruby
[21:53:55] Caius: has joined #ruby
[21:54:10] rlf: has joined #ruby
[21:54:10] Caius: has joined #ruby
[21:54:16] machty: has joined #ruby
[21:54:17] havenn: >> class << self; remove_method :to_s end; self.to_s
[21:54:18] ruboto: havenn # => "#<Object:0x4089ae3c>" (https://eval.in/448442)
[21:54:24] rj-code: has joined #ruby
[21:54:55] jun_: has joined #ruby
[21:55:08] havenn: >> self.instance_of? Object
[21:55:09] ruboto: havenn # => true (https://eval.in/448443)
[21:55:44] tkuchiki: has joined #ruby
[21:55:45] fhx: Mon_Ouie: Yes. It's the current object. if self.class is main in the top-level scope, does that mean that the top-level scope is basically a class whose superclass is Object?
[21:56:07] fhx: Mon_Ouie: self.class is Object, sorry
[21:57:08] diegoviola: has joined #ruby
[21:57:29] Mon_Ouie: The top-level scope is a scope where self is a special instance of Object. It also has somewhat special rules about where constants and methods get defined, but they're unrelated to what self is though.
[21:57:43] atom3: has joined #ruby
[21:57:55] Mon_Ouie: There's no class that represents the top-level scope
[21:59:22] mloy_: has joined #ruby
[21:59:28] havenn: I guess I should have rather shown:
[21:59:30] havenn: >> class << self; remove_method :inspect end; self
[21:59:31] ruboto: havenn # => #<Object:0x40532e34> (https://eval.in/448444)
[22:00:27] shevy: anyone happens to know/use of a simple gem that will convert something like 1235789578 bytes into KB or MB or GB, choosable?
[22:01:15] fhx: has left #ruby: ()
[22:01:22] dorei: shevy: i think somewhere in rails there's such a thing
[22:01:26] dorei: prolly activesupport
[22:02:05] taxen: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[22:02:58] l_tonz: has joined #ruby
[22:03:43] jamto11: has joined #ruby
[22:04:11] nk8: has joined #ruby
[22:04:42] testkj: has joined #ruby
[22:04:53] testkj: hi.. what is wrong with my string format http://ideone.com/D2FXFg
[22:05:36] Coldblackice_: has joined #ruby
[22:06:02] havenn: testkj: puts not put <- missing the s
[22:06:18] coffeejunk: has joined #ruby
[22:07:07] Diabolik: Radar I want to buy multitenancy with rails, but am confused over whether to get the 1st or 2nd edition since the 1st condition is complete
[22:07:24] testkj: havenn: thank you, why wont it puts my number? http://ideone.com/D2FXFg
[22:07:27] Diabolik: which do you recommend?
[22:07:39] Mon_Ouie: Because o and $o are not the same thing
[22:08:06] testkj: damn, thank you Mon_Ouie
[22:08:14] pipework: o, O, $o it's magic, you know-oh-oh.
[22:08:17] havenn: testkj: no $, and #puts automatically converts #to_s so try with your numbers directly
[22:10:22] fatal77: has joined #ruby
[22:11:47] fatal77: has left #ruby: ()
[22:12:41] Bozza: has joined #ruby
[22:12:48] naftilos76: has joined #ruby
[22:12:50] ttilley: has joined #ruby
[22:12:50] ttilley: has joined #ruby
[22:13:14] benlieb: has joined #ruby
[22:13:20] Bozza: anyone here?
[22:13:25] blackmesa: has joined #ruby
[22:13:44] Bozza: has left #ruby: ()
[22:13:58] northfurr: has joined #ruby
[22:14:19] havenn: shevy: >> require 'active_support'; require 'active_support/core_ext/numeric/conversions'; 1235789578.to_s(:human_size, precision: 2) #=> "1.2 GB"
[22:14:31] Bozza: has joined #ruby
[22:14:37] havenn: Bozza: hi
[22:14:42] Bozza: does ruby give an error in OS X?
[22:14:58] shevy: havenn wheeeee!
[22:15:13] Bozza: "/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15/rbconfig.rb:213: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777"
[22:15:18] weaksauce: has joined #ruby
[22:15:22] Bozza: in OS X 10.11
[22:15:48] ricer2: has joined #ruby
[22:16:39] havenn: Bozza: It's a warning about the permissions of your /usr/local/bin directory.
[22:17:01] Bozza: is there something wrong with it?
[22:17:05] Bozza: what would cause such an error?
[22:17:09] havenn: It's too permissive.
[22:17:41] havenn: Bozza: El Capitan took issue with your lax permissions for the /usr/local/bin directory.
[22:18:02] Bozza: translation into english please :)
[22:18:13] David27: has joined #ruby
[22:18:25] Bozza: were my permissions too weak?
[22:18:48] user1138: has joined #ruby
[22:18:49] havenn: Bozza: You have an insecure (world writable, all users can write to it, open season) /usr/local/bin directory.
[22:19:19] Bozza: well that doesn't sound good
[22:19:52] Bozza: heaven would it be caused by brew?
[22:23:06] Bozza: havenn: is chmod -w ok/safe for that directory?
[22:23:29] sagittarian: has joined #ruby
[22:23:30] mdih: has joined #ruby
[22:26:28] gizmore: how to parse something like min=5,default="foo,bar",blub=blab to {min:5,default:"foo,bar",blub:"blab"}
[22:27:07] havenn: Bozza: It seems your /usr/local permissions have been made overly lax since the Homebrew installation initially set them up.
[22:28:26] mxrguspxrt: has joined #ruby
[22:30:05] Mon_Ouie: No, regexps can't do that (because of the way the quotes work). Not without nasty workarounds anyway. You can use regexps to build a parser with some more logic when using e.g. strscan. A CSV parser like the one in stdlib can do part of, but not all of, the job
[22:30:19] korolyov: has joined #ruby
[22:30:54] sysanthrope: has joined #ruby
[22:31:42] ndrei: has joined #ruby
[22:32:11] vipulkanade: has joined #ruby
[22:32:48] jun_: has joined #ruby
[22:33:04] northfurr: has joined #ruby
[22:34:56] havenn: Bozza: The easiest way for you to fix the permissions is probably to uninstall then reinstall Homebrew so the install script fixes the permissions as Homebrew intends.
[22:35:10] havenn: Bozza: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
[22:35:16] havenn: Bozza: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
[22:36:01] ngscheur1: has joined #ruby
[22:40:34] apt-get: has joined #ruby
[22:42:12] mxrguspxrt: has joined #ruby
[22:42:21] riotjones: has joined #ruby
[22:42:38] Bozza: havenn: I did "sudo chmod go-w /usr/local/bin"
[22:42:42] Bozza: it fixed the error
[22:43:03] Bozza: not sure if that might cause some other permission errors ,, but seems ok for now
[22:43:29] havenn: Bozza: I suspect you still have borked permissions in /usr/local so you should probably either set permissions correctly recursively or use a script to do it for you.
[22:43:45] l_tonz: has joined #ruby
[22:43:52] northfurr: has joined #ruby
[22:44:25] havenn: Bozza: Unless you just set that one directory's permissions differently than Homebrew set it up. Maybe check a: brew doctor
[22:45:03] dagda1_: has joined #ruby
[22:45:34] gambl0re: has joined #ruby
[22:46:35] havenn: Bozza: For that directory that sounds correct. It won't cause errors.
[22:46:53] nerium: has joined #ruby
[22:47:29] Bozza: Warning: The /usr/local directory is not writable.
[22:47:30] Bozza: Even if this directory was writable when you installed Homebrew, other
[22:47:30] Bozza: software may change permissions on this directory.
[22:47:51] rickmasta: has joined #ruby
[22:48:22] solocshaw: has joined #ruby
[22:48:49] gregoriokusowski: has joined #ruby
[22:49:04] havenn: Bozza: If you don't want to run the uninstall and install script to fix the permissions I'd suggest asking in the #machomebrew channel.
[22:50:47] havenn: Bozza: If you're curious see the chmod/chown/chgrp stuff in brew's install script: https://raw.githubusercontent.com/Homebrew/install/master/install
[22:51:03] Bozza: is that an official link?
[22:51:27] bigmac: has joined #ruby
[22:51:47] Bozza: running it now
[22:52:04] havenn: Bozza: Yeah, the install and uninstall script above are Homebrew's and the file ^ is the install script.
[22:52:22] ericjphillips: has joined #ruby
[22:52:34] Bozza: should i run it with sudo ?
[22:52:57] bougyman: has joined #ruby
[22:53:16] havenn: Bozza: Run them just as they are above.
[22:53:29] havenn: Bozza: Or from Homebrew's site: http://brew.sh
[22:53:44] havenn: Bozza: The install script ^ will give you the uninstall script.
[22:53:53] havenn: (When already installed.)
[22:54:11] sanjayu: has joined #ruby
[22:54:13] havenn: You can read about that in the install script ^.
[22:54:26] Bozza: alright installed
[22:55:07] Bozza: brew doctor doesn't give me any error about /usr/local anymore havenn!
[22:55:11] Bozza: so that is good
[22:55:13] havenn: Bozza: Done. Permissions fixed as per Homebrew's preferences.
[22:55:13] Bozza: Thank you!!!
[22:55:19] havenn: Bozza: You're welcome!
[22:55:51] Bozza: who would have thought that homebrew likes to mess with your permission
[22:56:04] havenn: Bozza: They create the directory in the first place.
[22:56:22] p0wn3d__: has joined #ruby
[22:57:19] Bozza: not /usr/local surely?
[22:57:30] Bozza: looks like a standard unix directory?
[22:57:45] Bozza: isn't usr/local/bin in every standard linux distro?
[22:58:00] Bozza: silly mac distros
[22:58:01] havenn: Bozza: OS X is BSD not Linux.
[22:58:56] wallerdev: has joined #ruby
[22:59:29] havenn: Bozza: But yeah, Homebrew kinda hijacks /usr/local and makes it a git repo. :P It focuses on a single-user dev setup. They don't want to support sudo and reject patches to that effect.
[23:00:53] havenn: Bozza: If that offends you you could use macports or pkgsrc (NetBSD's very nice package manager with over 10k packages for OS X).
[23:01:03] tobyx: has joined #ruby
[23:01:04] havenn: Bozza: Pick your poison.
[23:01:10] _whitelogger: has joined #ruby
[23:01:12] Bozza: ah I will stay with brew for now :)
[23:01:26] Bozza: havenn: do you use macports?
[23:01:33] Ray`: has joined #ruby
[23:01:47] havenn: Bozza: I have all three of those installed because I help maintain software that supports all three.
[23:02:06] Bozza: do they not conflict with each other
[23:02:18] elektronaut: has joined #ruby
[23:02:29] JStoker: has joined #ruby
[23:02:29] EvilJStoker: has joined #ruby
[23:02:38] hostess: has joined #ruby
[23:03:18] Bozza: homebrew gave me the least amount of headaches
[23:03:22] Bozza: so it is the winner for me
[23:03:27] asi_: has joined #ruby
[23:03:30] havenn: Bozza: Homebrew and MacPorts prefer to not be simultaneously enabled but they can be installed side-by-side with only a few warnings. I've not had any trouble with pkgsrc alongside the others.
[23:04:08] epochwolf: has joined #ruby
[23:04:29] korolyov: has joined #ruby
[23:04:30] havenn: Bozza: It's nice the brew gets frequent package updates and they go quickly now that they're "pouring bottles."
[23:05:00] EvilJStoker: has joined #ruby
[23:06:55] johnzorn_: has joined #ruby
[23:07:21] wallerdev: has joined #ruby
[23:07:39] skweek: has joined #ruby
[23:07:40] bkxd: has joined #ruby
[23:07:56] Bozza: does brew overwrite the default python?
[23:08:04] Bozza: ahh too much brew vs macports for me
[23:08:16] Bozza: my setup works for what I need it for
[23:08:22] Bozza: so I should probably leave it
[23:08:23] p0wn3d__: has joined #ruby
[23:08:42] Bozza: havenn: was a pleasure chatting to you.
[23:08:45] Bozza: Going to get some sleep
[23:08:52] havenn: Bozza: Brew doesn't overwrite any system tools.
[23:09:03] havenn: Bozza: It just provides alternatives ahead in the PATH.
[23:09:07] havenn: Bozza: G'night
[23:09:16] Bozza: ahh ok that is perfect!
[23:09:26] Bozza: good night
[23:09:38] Bozza: will be around
[23:11:49] moeabdol: has joined #ruby
[23:12:49] solocshaw1: has joined #ruby
[23:13:08] symm-: has joined #ruby
[23:20:53] Musashi007: has joined #ruby
[23:21:40] blackmesa: has joined #ruby
[23:25:07] chouhoul_: has joined #ruby
[23:27:17] chouhoulis: has joined #ruby
[23:28:16] Azure: has joined #ruby
[23:28:27] nk8: has joined #ruby
[23:28:59] ericjphillips: has joined #ruby
[23:29:21] mxrguspxrt: has joined #ruby
[23:30:39] benlieb: has joined #ruby
[23:35:48] tw1sted: has joined #ruby
[23:39:32] dikaio: has joined #ruby
[23:40:08] alveric_: has joined #ruby
[23:42:29] moeabdol: has joined #ruby
[23:43:08] riotjones: has joined #ruby
[23:43:23] apt-get: has joined #ruby
[23:44:38] Biohazard: has joined #ruby
[23:45:20] stardiviner: has joined #ruby
[23:45:30] prasselpikachu: has joined #ruby
[23:46:04] jun_: has joined #ruby
[23:46:15] nk8: has joined #ruby
[23:46:43] htmldrum: has joined #ruby
[23:46:49] Zamyatin: has joined #ruby
[23:47:34] maletor_: has joined #ruby
[23:48:10] yosemitesam: has joined #ruby
[23:51:12] [k-: has joined #ruby
[23:59:16] dopamean_: has joined #ruby