« Back to channel list

#ruby - 06 December 2017

« Back 1 day Forward 1 day »
[00:00:33] bvcosta: has joined #ruby
[00:04:58] urk187: has joined #ruby
[00:06:05] raul782: has joined #ruby
[00:06:11] AJA4350: has joined #ruby
[00:08:56] Azure: has joined #ruby
[00:09:44] despai: has joined #ruby
[00:12:25] pastorinni: has joined #ruby
[00:12:55] veeti: has joined #ruby
[00:13:58] eckhardt: has joined #ruby
[00:14:16] Yzguy: has joined #ruby
[00:14:21] commanderkeen: has joined #ruby
[00:14:52] milardovich: has joined #ruby
[00:15:41] mson: has joined #ruby
[00:17:16] cschneid: has joined #ruby
[00:17:21] houhoulis: has joined #ruby
[00:19:38] commanderkeen: im trying to install with gem. I search and a result is returned listed under *** REMOTE GEMS *** but when i try to install with gem install it says it cant be found in any repository
[00:27:36] agent_white: has joined #ruby
[00:27:48] rora: has joined #ruby
[00:29:09] rora: I'm not getting exceptions from my net/http requests. I see now the docs say these various methods don't return any Net::* exceptions. How can I watch for a timeout?
[00:31:08] |ifei5good: has joined #ruby
[00:31:29] enterprisey: has joined #ruby
[00:31:58] mim1k: has joined #ruby
[00:33:34] Yzguy: has joined #ruby
[00:35:20] mniip: has joined #ruby
[00:36:55] |ifei5g00d: has joined #ruby
[00:37:59] nopolitica: has joined #ruby
[00:38:08] elphe: has joined #ruby
[00:42:20] beaorn: has joined #ruby
[00:45:11] allcentury: has joined #ruby
[00:45:51] |ifei5g00d: has joined #ruby
[00:47:57] mitt3ns: has joined #ruby
[00:48:21] mcr1: has joined #ruby
[00:49:52] ResidentBiscuit: has joined #ruby
[00:49:56] cdg: has joined #ruby
[00:50:12] Hanmac: has joined #ruby
[00:50:58] |ifei5good: has joined #ruby
[00:55:19] roshanavand: has joined #ruby
[00:57:01] Mia: has joined #ruby
[00:57:54] |ifei5g00d: has joined #ruby
[00:59:57] jottr_: has joined #ruby
[01:00:06] Jameser: has joined #ruby
[01:02:59] leitz: has joined #ruby
[01:06:02] _aeris_: has joined #ruby
[01:06:20] r0nin: has joined #ruby
[01:06:46] despai: has joined #ruby
[01:06:51] |ifei5g00d: has joined #ruby
[01:07:00] mtkd: has joined #ruby
[01:07:56] tcopeland: has joined #ruby
[01:08:37] iszak: has joined #ruby
[01:08:37] iszak: has joined #ruby
[01:09:09] matti: has joined #ruby
[01:09:09] matti: has joined #ruby
[01:09:12] mitchellvanw: has joined #ruby
[01:09:40] ohcibi: has joined #ruby
[01:10:22] Kuukunen: has joined #ruby
[01:10:26] jackjackdripper: has joined #ruby
[01:10:41] shadeslayer: has joined #ruby
[01:11:37] uZiel: has joined #ruby
[01:12:54] |ifei5g00d: has joined #ruby
[01:15:19] r0nin__: has joined #ruby
[01:16:40] jackjackdripper: has joined #ruby
[01:16:49] hutch34: has joined #ruby
[01:17:13] charliesome: has joined #ruby
[01:17:16] r0nin: has joined #ruby
[01:18:55] |ifei5good: has joined #ruby
[01:19:48] jackjackdripper1: has joined #ruby
[01:20:34] kitsunenokenja: has joined #ruby
[01:21:18] cdg: has joined #ruby
[01:22:45] uZiel: has joined #ruby
[01:26:14] commanderkeen: has left #ruby: ("ERC (IRC client for Emacs 25.3.1)")
[01:27:55] |ifei5g00d: has joined #ruby
[01:28:09] drowze: has joined #ruby
[01:28:38] pilne: has joined #ruby
[01:33:00] jenrzzz: has joined #ruby
[01:33:19] |ifei5good: has joined #ruby
[01:33:48] |ifei5good: has joined #ruby
[01:34:27] dinfuehr: has joined #ruby
[01:35:40] voldemar: has joined #ruby
[01:38:46] uZiel: has joined #ruby
[01:39:59] |ifei5g00d: has joined #ruby
[01:40:33] raul782: has joined #ruby
[01:41:50] voldemar: has joined #ruby
[01:46:51] |ifei5good: has joined #ruby
[01:47:36] Cohedrin: has joined #ruby
[01:49:10] orbyt_: has joined #ruby
[01:50:49] Barrt: has joined #ruby
[01:55:47] |ifei5g00d: has joined #ruby
[01:56:20] voldemar: has joined #ruby
[01:57:22] Emmanuel_Chanel: has joined #ruby
[01:58:31] cschneid: has joined #ruby
[02:01:56] tjbp: has joined #ruby
[02:02:01] voldemar: has joined #ruby
[02:07:23] shoogz: has joined #ruby
[02:07:59] shoogz: has joined #ruby
[02:08:29] shoogz: has joined #ruby
[02:08:52] bmurt: has joined #ruby
[02:08:59] shoogz: has joined #ruby
[02:09:35] shoogz: has joined #ruby
[02:11:11] jottr: has joined #ruby
[02:11:31] postmodern: has joined #ruby
[02:12:17] BTRE: has joined #ruby
[02:14:25] voldemar: has joined #ruby
[02:17:48] chocoelho: has joined #ruby
[02:25:22] cognoscente: has joined #ruby
[02:28:11] dhollinger: has joined #ruby
[02:29:22] voldemar: has joined #ruby
[02:29:36] cschneid: has joined #ruby
[02:32:32] mim1k: has joined #ruby
[02:33:48] charliesome: has joined #ruby
[02:36:18] yeticry_: has joined #ruby
[02:36:32] gizmore: has joined #ruby
[02:39:50] DTZUZO: has joined #ruby
[02:41:48] cadillac_: has joined #ruby
[02:44:49] voldemar: has joined #ruby
[02:45:46] waveprop: has joined #ruby
[02:53:32] d^sh: has joined #ruby
[02:55:24] veeti: has joined #ruby
[02:56:07] mson: has joined #ruby
[02:57:23] drowze: has joined #ruby
[03:00:17] cadillac_: has joined #ruby
[03:02:15] QualityAddict: has joined #ruby
[03:04:53] sspreitz: has joined #ruby
[03:08:19] Cohedrin: has joined #ruby
[03:08:19] cpruitt: has joined #ruby
[03:11:25] voldemar: has joined #ruby
[03:12:17] mtkd: has joined #ruby
[03:14:52] workmad3: has joined #ruby
[03:14:53] hutch34: has joined #ruby
[03:15:00] elphe: has joined #ruby
[03:15:51] chocoelho: has joined #ruby
[03:16:35] veeti: has joined #ruby
[03:19:16] Exhiled: has joined #ruby
[03:19:54] voldemar: has joined #ruby
[03:21:03] jackjackdripper: has joined #ruby
[03:25:23] afromankenobi: has joined #ruby
[03:27:17] uZiel: has joined #ruby
[03:31:07] charliesome: has joined #ruby
[03:32:27] voldemar: has joined #ruby
[03:37:22] enterprisey: has joined #ruby
[03:40:01] Cohedrin: has joined #ruby
[03:42:44] raul782: has joined #ruby
[03:44:02] guardianx: has joined #ruby
[03:46:01] voldemar: has joined #ruby
[03:46:14] roboguy2: has joined #ruby
[03:46:28] roboguy2: i had a question regarding ruby on rails with react
[03:47:12] roboguy2: i have downloaded a github project with poor documentation. I have gone through the normal process of npm install, bundle install, rake db:create, rake db:migrate..
[03:47:59] roboguy2: but I am not sure where react comes into play here..this is a bit of a learning experience. when i deploy using bin/rails server the page simply says "react error" with no log output
[03:48:30] roboguy2: am i suppose to use a react terminal command prior to running the app?
[03:51:07] kculpis: has joined #ruby
[03:54:07] gains|away: has joined #ruby
[03:55:10] kculpis: has joined #ruby
[03:55:18] hsiktas: has joined #ruby
[03:56:20] kculpis: has joined #ruby
[03:57:07] charliesome: has joined #ruby
[03:57:17] Giphy[m]: has joined #ruby
[03:57:40] facest: has joined #ruby
[03:57:59] bvcosta: has joined #ruby
[03:58:30] m4rCsi: has joined #ruby
[03:59:37] voldemar: has joined #ruby
[03:59:52] drowze: has joined #ruby
[04:00:11] Utkarsh_: has joined #ruby
[04:00:22] shakes: has joined #ruby
[04:00:28] koenrh: has joined #ruby
[04:00:54] Danielss89: has joined #ruby
[04:03:19] DmitryBochkarev: has joined #ruby
[04:05:02] DaniG2k: has joined #ruby
[04:05:05] yeticry: has joined #ruby
[04:05:09] DaniG2k: Hello all. Anyone around at this time?
[04:05:19] havenwood: DaniG2k: hi
[04:05:35] DaniG2k: hi havenwood
[04:05:36] havenwood: roboguy2: that sounds like a better question for #reactjs or #rubyonrails channels
[04:05:42] uZiel: has joined #ruby
[04:05:58] DaniG2k: Oops sorry wrong channel. Should be RoR
[04:06:27] voldemar: has joined #ruby
[04:07:32] cschneid: has joined #ruby
[04:09:15] roboguy2: Thank you kindly havenwood
[04:09:58] ledestin: has joined #ruby
[04:10:02] DaniG2k: havenwood: do you know much about Ruby on Rails transactions?
[04:10:10] ablackack_: has joined #ruby
[04:10:50] jhill_: has joined #ruby
[04:11:56] ledestin: has joined #ruby
[04:12:14] wnd_: has joined #ruby
[04:12:15] dcluna: has joined #ruby
[04:12:38] Swat2: has joined #ruby
[04:15:05] Cohedrin: has joined #ruby
[04:15:08] jenrzzz: has joined #ruby
[04:15:08] jenrzzz: has joined #ruby
[04:15:35] CustosLimen: has joined #ruby
[04:17:08] ledestin: has joined #ruby
[04:17:19] _aeris_: has joined #ruby
[04:19:13] havenwood: DaniG2k: somewhere between nothing and all the things
[04:20:33] voldemar: has joined #ruby
[04:22:36] hutch34: has joined #ruby
[04:22:59] sepp2k: has joined #ruby
[04:23:48] nopolitica: has joined #ruby
[04:25:02] jud: has joined #ruby
[04:26:28] voldemar: has joined #ruby
[04:28:17] havenwood: DaniG2k: I answered in #rubyonrails, but it sounds more like you want to synchronize around a lock rather than rollback a transaction.
[04:29:00] DmitryBochkarev: has joined #ruby
[04:29:22] KeyJoo: has joined #ruby
[04:30:34] DmitryBochkarev: has joined #ruby
[04:32:58] mim1k: has joined #ruby
[04:35:11] gix-: has joined #ruby
[04:36:39] voldemar: has joined #ruby
[04:41:53] cognoscente: has joined #ruby
[04:43:58] voldemar: has joined #ruby
[04:46:15] cschneid: has joined #ruby
[04:49:13] hutch34: has joined #ruby
[04:53:26] urk187: has joined #ruby
[04:53:42] cschneid: has joined #ruby
[04:55:24] voldemar: has joined #ruby
[04:55:42] cschneid_: has joined #ruby
[04:55:43] Technodrome: has joined #ruby
[05:03:10] agent_white: has joined #ruby
[05:03:37] DTZUZO: has joined #ruby
[05:05:23] voldemar: has joined #ruby
[05:07:10] blackwind_123: has joined #ruby
[05:07:14] mitt3ns: has joined #ruby
[05:09:53] _aeris_: has joined #ruby
[05:11:18] voldemar: has joined #ruby
[05:15:55] drowze: has joined #ruby
[05:17:08] _aeris_: has joined #ruby
[05:17:55] drowze: has joined #ruby
[05:18:13] cschneid: has joined #ruby
[05:18:28] milardovich: has joined #ruby
[05:19:59] aupadhye: has joined #ruby
[05:20:59] voldemar: has joined #ruby
[05:21:18] r0nin: has joined #ruby
[05:23:06] conta: has joined #ruby
[05:26:05] nopolitica: has joined #ruby
[05:26:07] cdg: has joined #ruby
[05:26:13] r0nin: has joined #ruby
[05:27:10] ozcanesen: has joined #ruby
[05:27:26] voldemar: has joined #ruby
[05:31:25] mim1k: has joined #ruby
[05:33:07] drowze: has joined #ruby
[05:33:57] drowze: has joined #ruby
[05:34:31] voldemar: has joined #ruby
[05:35:56] DanKnox: has joined #ruby
[05:38:16] r0nin: has joined #ruby
[05:39:08] anisha: has joined #ruby
[05:39:19] pastorinni: has joined #ruby
[05:43:52] raul782: has joined #ruby
[05:48:06] tamouse__: has joined #ruby
[05:49:40] voldemar: has joined #ruby
[05:49:59] sepp2k: has joined #ruby
[05:51:06] cschneid: has joined #ruby
[05:53:47] jenrzzz: has joined #ruby
[05:54:15] iamarun: has joined #ruby
[05:57:55] meinside: has joined #ruby
[05:58:36] drowze: has joined #ruby
[05:59:14] darthThorik: has joined #ruby
[05:59:25] voldemar: has joined #ruby
[06:01:59] govg: has joined #ruby
[06:02:23] milardovich: has joined #ruby
[06:08:22] tamouse__: has joined #ruby
[06:08:46] reber: has joined #ruby
[06:10:04] shoogz: has joined #ruby
[06:10:34] shoogz: has joined #ruby
[06:11:11] shoogz: has joined #ruby
[06:11:42] voldemar: has joined #ruby
[06:17:12] quiller: has joined #ruby
[06:23:12] Technodrome: has joined #ruby
[06:25:51] voldemar: has joined #ruby
[06:26:33] kies: has joined #ruby
[06:26:54] nopolitica: has joined #ruby
[06:33:06] milardovich: has joined #ruby
[06:35:25] voldemar: has joined #ruby
[06:39:02] stoffus: has joined #ruby
[06:42:17] cognoscente: has joined #ruby
[06:45:55] quiller: has joined #ruby
[06:46:23] mtkd: has joined #ruby
[06:48:12] mtkd: has joined #ruby
[06:48:54] LocaMocha: has joined #ruby
[06:49:34] voldemar: has joined #ruby
[06:49:34] tAn: has joined #ruby
[06:49:53] mtkd: has joined #ruby
[06:53:22] miskatonic: has joined #ruby
[06:54:32] mtkd: has joined #ruby
[07:02:25] voldemar: has joined #ruby
[07:09:02] lexruee: has joined #ruby
[07:10:27] mtkd: has joined #ruby
[07:15:32] voldemar: has joined #ruby
[07:16:05] hutch34: has joined #ruby
[07:18:13] workmad3: has joined #ruby
[07:20:41] alex``: has joined #ruby
[07:23:15] voldemar: has joined #ruby
[07:24:15] zautomata1: has joined #ruby
[07:25:05] plexigras: has joined #ruby
[07:29:15] andikr: has joined #ruby
[07:29:22] voldemar: has joined #ruby
[07:34:30] jackjackdripper: has joined #ruby
[07:35:16] apeiros: has joined #ruby
[07:36:40] hutch34: has joined #ruby
[07:38:04] conta: has joined #ruby
[07:38:10] mtkd: has joined #ruby
[07:41:00] voldemar: has joined #ruby
[07:43:17] mtkd: has joined #ruby
[07:45:55] dviola: has joined #ruby
[07:46:36] Cohedrin: has joined #ruby
[07:46:50] mkaito: has joined #ruby
[07:47:34] tAn: has joined #ruby
[07:50:37] motstgo: has joined #ruby
[07:52:22] mson: has joined #ruby
[07:52:24] doublemalt_: has joined #ruby
[07:52:57] dionysus69: has joined #ruby
[07:56:14] voldemar: has joined #ruby
[07:57:18] hutch34: has joined #ruby
[07:57:18] Dimik: has joined #ruby
[07:57:22] nopolitica: has joined #ruby
[07:57:53] bvcosta: has joined #ruby
[07:58:57] InfinityFye: has joined #ruby
[07:59:23] cdg: has joined #ruby
[08:01:01] stoffus: has joined #ruby
[08:02:08] miskatonic: has joined #ruby
[08:02:10] cdg_: has joined #ruby
[08:02:16] mtkd: has joined #ruby
[08:04:54] voldemar: has joined #ruby
[08:05:04] biberu: has joined #ruby
[08:05:55] Authenti1ator: has joined #ruby
[08:06:16] Jameser: has joined #ruby
[08:07:01] InfinityFye: has left #ruby: ("Leaving")
[08:09:11] JJonah: has joined #ruby
[08:09:28] Megamosaren: has joined #ruby
[08:09:32] justache: has joined #ruby
[08:09:55] pwillard: has joined #ruby
[08:10:10] djbkd: has joined #ruby
[08:10:57] Authenticator: has joined #ruby
[08:13:33] ewilliam_____: has joined #ruby
[08:14:06] Travis-42: has joined #ruby
[08:14:23] rjungemann: has joined #ruby
[08:16:20] kapowaz: has joined #ruby
[08:17:52] hutch34: has joined #ruby
[08:18:16] rann: has joined #ruby
[08:18:50] voldemar: has joined #ruby
[08:20:11] bove: has joined #ruby
[08:21:53] pdcawley: has joined #ruby
[08:22:12] Jameser: has joined #ruby
[08:22:20] pdcawley: has left #ruby: ()
[08:24:30] nopolitica: has joined #ruby
[08:24:51] guille-moe: has joined #ruby
[08:25:01] anisha: has joined #ruby
[08:26:55] agent_white: has joined #ruby
[08:27:42] claudiuinberlin: has joined #ruby
[08:28:31] anas: has joined #ruby
[08:29:28] mark_66: has joined #ruby
[08:31:41] RyanMcCoskrie: has joined #ruby
[08:32:05] pdcawley: has joined #ruby
[08:32:10] voldemar: has joined #ruby
[08:32:46] Beams: has joined #ruby
[08:32:54] pdcawley: has joined #ruby
[08:33:49] pdcawley: has joined #ruby
[08:34:41] pdcawley: has joined #ruby
[08:35:30] pdcawley: has joined #ruby
[08:37:22] raul782: has joined #ruby
[08:38:27] hutch34: has joined #ruby
[08:40:35] voldemar: has joined #ruby
[08:42:18] bkxd: has joined #ruby
[08:42:30] cognoscente: has joined #ruby
[08:43:56] jackjackdripper: has joined #ruby
[08:47:13] dupondje: has joined #ruby
[08:47:14] tomphp: has joined #ruby
[08:49:26] voldemar: has joined #ruby
[08:52:50] bkxd_: has joined #ruby
[08:52:56] cschneid: has joined #ruby
[08:54:52] Mia: has joined #ruby
[08:54:52] Mia: has joined #ruby
[08:54:54] urk187: has joined #ruby
[08:59:07] hutch34: has joined #ruby
[08:59:53] guille-moe: has joined #ruby
[09:01:11] mikecmpbll: has joined #ruby
[09:02:12] aufi: has joined #ruby
[09:03:22] voldemar: has joined #ruby
[09:05:10] DanielI: has joined #ruby
[09:05:11] DanielI: has joined #ruby
[09:05:43] blackwind_123: has joined #ruby
[09:08:10] TomyWork: has joined #ruby
[09:08:33] infernix: has joined #ruby
[09:09:53] mim1k: has joined #ruby
[09:11:54] quiqua: has joined #ruby
[09:13:27] mikecmpbll: has joined #ruby
[09:14:09] jud^: has joined #ruby
[09:14:22] Mia: has joined #ruby
[09:14:22] Mia: has joined #ruby
[09:15:31] voldemar: has joined #ruby
[09:19:52] hutch34: has joined #ruby
[09:20:36] mikecmpbll: has joined #ruby
[09:21:23] Kristjan: has joined #ruby
[09:29:28] burgestrand: has joined #ruby
[09:29:29] voldemar: has joined #ruby
[09:29:57] mitt3ns: has joined #ruby
[09:34:28] bkxd: has joined #ruby
[09:36:35] ramfjord: has joined #ruby
[09:36:41] Megamosaren: has joined #ruby
[09:37:27] marr: has joined #ruby
[09:38:28] bkxd_: has joined #ruby
[09:40:18] hutch34: has joined #ruby
[09:41:57] ramfjord: has joined #ruby
[09:42:45] Synthead: has joined #ruby
[09:43:03] wnd: has joined #ruby
[09:43:07] Synthead: I have a VCR cassette with a 409 response in it
[09:43:09] voldemar: has joined #ruby
[09:43:27] Synthead: whenever I try to use this data for something, my test immediately raises the 409 exception
[09:44:09] Synthead: I can think of hacky rescue ways to assign that exception to a variable, but is there a better way I can do this?
[09:50:46] milardovich: has joined #ruby
[09:51:49] blackmesa1: has joined #ruby
[09:52:23] ldepandis: has joined #ruby
[09:56:06] voldemar: has joined #ruby
[09:56:42] n13z: has joined #ruby
[09:57:50] wnd: has joined #ruby
[10:02:33] doublemalt_: has joined #ruby
[10:03:15] bkxd: has joined #ruby
[10:05:27] zautomata: has joined #ruby
[10:07:18] mtkd: has joined #ruby
[10:10:03] maciuszek: has joined #ruby
[10:11:00] voldemar: has joined #ruby
[10:14:56] Serpent7776: has joined #ruby
[10:16:00] daxroc: has joined #ruby
[10:16:18] hutch34: has joined #ruby
[10:21:36] bkxd_: has joined #ruby
[10:22:29] voldemar: has joined #ruby
[10:23:07] anisha: has joined #ruby
[10:24:13] bkxd: has joined #ruby
[10:24:45] al2o3-cr: has joined #ruby
[10:25:14] tjbp: has joined #ruby
[10:26:26] cdg: has joined #ruby
[10:27:57] yrc: has left #ruby: ()
[10:28:26] ldnunes: has joined #ruby
[10:30:46] voldemar: has joined #ruby
[10:33:46] leitz: has joined #ruby
[10:35:09] infernix: has joined #ruby
[10:35:40] despai: has joined #ruby
[10:37:34] raul782: has joined #ruby
[10:38:12] Sylario: has joined #ruby
[10:39:52] drowze: has joined #ruby
[10:40:31] quobo: has joined #ruby
[10:40:41] voldemar: has joined #ruby
[10:42:52] cognoscente: has joined #ruby
[10:45:25] tjbp: has joined #ruby
[10:47:10] alex``: has joined #ruby
[10:49:03] guille-moe: has joined #ruby
[10:52:17] hutch34: has joined #ruby
[10:58:41] apparition: has joined #ruby
[11:04:03] dummysun12: has joined #ruby
[11:04:11] dummysun12: has left #ruby: ()
[11:04:52] bkxd_: has joined #ruby
[11:08:48] cognoscente: has joined #ruby
[11:13:11] tomphp: has joined #ruby
[11:15:58] bkxd: has joined #ruby
[11:18:21] naprimer: has joined #ruby
[11:18:42] lupine: has joined #ruby
[11:19:02] tomphp: has joined #ruby
[11:20:13] jjarosz: has joined #ruby
[11:24:21] leitao: has joined #ruby
[11:28:20] hutch34: has joined #ruby
[11:33:48] qba73: has joined #ruby
[11:34:51] S007: has joined #ruby
[11:36:45] Nahra: has joined #ruby
[11:36:50] chocoelho: has joined #ruby
[11:38:36] govg: has joined #ruby
[11:40:00] marr: has joined #ruby
[11:41:01] sepp2k: has joined #ruby
[11:42:05] cognoscente: has joined #ruby
[11:42:53] jaruga: has joined #ruby
[11:43:58] banisterfiend: has joined #ruby
[11:46:25] lunarkitty7: has joined #ruby
[11:46:46] Jameser: has joined #ruby
[11:46:48] anisha: has joined #ruby
[11:48:23] Psybur: has joined #ruby
[11:50:15] AJA4350: has joined #ruby
[11:51:14] Psybur_: has joined #ruby
[11:55:59] tvw: has joined #ruby
[11:56:04] sarbazx: has joined #ruby
[11:59:38] raul782: has joined #ruby
[12:00:15] anisha: has joined #ruby
[12:01:05] qba73: has joined #ruby
[12:04:05] raul782: has joined #ruby
[12:04:19] hutch34: has joined #ruby
[12:07:07] konsolebox: has joined #ruby
[12:10:12] tomphp: has joined #ruby
[12:11:01] nowhere_man: has joined #ruby
[12:12:23] mtkd: has joined #ruby
[12:12:24] DTZUZO: has joined #ruby
[12:13:23] charliesome: has joined #ruby
[12:15:18] Tempesta: has joined #ruby
[12:28:44] rhebz916: has joined #ruby
[12:31:23] despai: has joined #ruby
[12:35:33] Tharbakim: has joined #ruby
[12:35:33] Tharbakim: has joined #ruby
[12:36:40] Jameser: has joined #ruby
[12:38:05] im0nde: has joined #ruby
[12:43:45] anisha: has joined #ruby
[12:46:27] cdg: has joined #ruby
[12:48:26] hightower2: has joined #ruby
[12:52:29] cschneid: has joined #ruby
[12:56:31] urk187: has joined #ruby
[13:00:27] milardovich: has joined #ruby
[13:03:18] halt: has joined #ruby
[13:04:07] nadir: has joined #ruby
[13:04:23] faces: has joined #ruby
[13:04:53] blackmesa1: has joined #ruby
[13:06:24] truenito: has joined #ruby
[13:10:27] Barrt: has joined #ruby
[13:11:18] rabajaj: has joined #ruby
[13:13:08] Technodrome: has joined #ruby
[13:13:19] Emmanuel_Chanel: has joined #ruby
[13:16:24] hutch34: has joined #ruby
[13:18:01] synthroid: has joined #ruby
[13:18:53] DmitryBochkarev: has joined #ruby
[13:23:48] bmurt: has joined #ruby
[13:25:22] r0nin: has joined #ruby
[13:26:08] lexruee: has joined #ruby
[13:26:44] Jameser: has joined #ruby
[13:28:08] MrBismuth: has joined #ruby
[13:28:37] jeffreylevesque: has joined #ruby
[13:30:47] guille-moe: has joined #ruby
[13:31:27] nopolitica: has joined #ruby
[13:35:06] shinnya: has joined #ruby
[13:41:25] tacoboy: has joined #ruby
[13:41:56] mostlybadfly: has joined #ruby
[13:42:02] dinfuehr: has joined #ruby
[13:48:35] cdg: has joined #ruby
[13:49:12] jeffreylevesque_: has joined #ruby
[13:50:32] Swat2: has joined #ruby
[13:50:34] Technodrome: has joined #ruby
[13:50:40] r0nin: has joined #ruby
[13:51:51] voldemar: has joined #ruby
[13:58:11] voldemar: has joined #ruby
[13:58:27] mitt3ns: has joined #ruby
[13:59:38] Barrt: has joined #ruby
[14:02:16] qba73: has joined #ruby
[14:02:54] bhaak_: has joined #ruby
[14:10:53] knight33: has joined #ruby
[14:11:50] r0nin: has joined #ruby
[14:12:31] voldemar: has joined #ruby
[14:13:07] Technodrome: has joined #ruby
[14:14:22] r0nin_: has joined #ruby
[14:18:15] hightower2: has joined #ruby
[14:20:05] tomphp: has joined #ruby
[14:24:15] safetypin: has joined #ruby
[14:24:37] mtkd: has joined #ruby
[14:26:52] mim1k: has joined #ruby
[14:30:07] tomphp_: has joined #ruby
[14:30:25] mcr1: has joined #ruby
[14:32:25] Bish: has joined #ruby
[14:34:25] allcentury: has joined #ruby
[14:35:49] dionysus69: has joined #ruby
[14:36:20] ule: Hey guys.. can you guys explain to me this code:
[14:36:42] ule: https://repl.it/repls/RosybrownLimeWhiterhino
[14:37:18] ule: My question is.. why "c" changes and "d" dont?
[14:37:34] ule: what is inside a method's scope, should be totally isolated no?
[14:38:04] jordanm: ule: c is being mutated, d is not
[14:38:21] dminuoso: ule: Its because Ruby is neither call by reference or call by value
[14:38:26] dminuoso: It's call-by-sharing.
[14:38:49] dminuoso: And your code example is a minimalistic example of exactly that.
[14:38:57] DTZUZO: has joined #ruby
[14:39:13] dminuoso: ule: You could think of parameters as being pointers to values. "assigning" changes the pointer, mutating dereferences and changes.
[14:39:43] Bish: has joined #ruby
[14:39:58] dminuoso: ule: In a call-by-value language you would observe `3` and `4` as the output respectively, and in a call-by-reference `3111` and `222` respectively
[14:40:23] veeti: has joined #ruby
[14:40:27] ule: thats what I was expecting. Its so weird that I've seeing both situations there
[14:40:47] ule: I mean.. in PHP we can pass the reference if we want. soething like foo(&$a)
[14:40:56] ule: but in ruby there is no distinction
[14:41:36] dminuoso: ule: This is part of the reason why I strongly advocate against mutating values.
[14:41:38] ule: so that means if I use methods like: "keep_if" inside that method, it will behave like the "c" changing its value?
[14:41:52] ule: dminuoso: that explains that chat we had some days ago?
[14:41:55] dminuoso: keep_if does not mutate, it creates a new array.
[14:42:10] dminuoso: Which makes it very sane to use.
[14:42:10] ule: dminuoso: sure? I thought that is .select
[14:42:20] dminuoso: keep_if is just an alias for select.
[14:42:35] dminuoso: ule: Yes. select! is the mutating variant, whereas select is non-mutating.
[14:42:39] `derpy: http://ruby-doc.org/core-2.4.1/Array.html#method-i-select
[14:42:40] dminuoso: &ri select!
[14:42:40] `derpy: http://ruby-doc.org/core-2.4.1/Array.html#method-i-select-21
[14:42:54] webguynow: has joined #ruby
[14:43:00] ule: but I think keep_if mutates even without having the !
[14:43:14] dminuoso: Oh.. apparently you are right.
[14:43:24] dminuoso: TIL. Its better to just use select/select!
[14:43:29] ule: why keep_if doesn't have ! though
[14:43:36] ule: weirdddd
[14:43:47] dminuoso: ule: Yeah. Perhaps its just older and a historical artifact.
[14:44:10] ule: I see, so they don't wanna change so it won't brake anything
[14:44:20] dminuoso: ule: saye goes with delete_if and reject/reject! by the way.
[14:44:43] dminuoso: ule: Indeed. Ruby has always had a hard time breaking API on methods.
[14:44:56] dminuoso: Syntax yes, but methods not so much./
[14:45:07] cadillac_: has joined #ruby
[14:45:11] tomphp: has joined #ruby
[14:45:49] ule: I quickly googled about that before coming ask here.. and I found some blogs saying.. "ruby pass by value"
[14:46:05] dminuoso: ule: Yeah no. Ruby is call by sharing.
[14:46:07] ule: but then I found this situation where it does both,
[14:46:47] ule: dminuoso: so, I guess it's important to keep our eyes on which method we're using
[14:46:54] ule: I didn't know << mutates
[14:47:06] despai: has joined #ruby
[14:47:07] dminuoso: ule: If you think about it, its very obvious with <<
[14:47:19] dminuoso: if that did not mutate, then the result is gone because you never assigned it.
[14:47:33] dminuoso: Unless you make a habit of writing b = a << 1
[14:47:59] im0nde: has joined #ruby
[14:48:13] quobo: has joined #ruby
[14:48:23] dminuoso: ule: For a while I actually used this pattern: arr = [1,2,3]; arrB = [*arr, 4]
[14:48:41] ule: that looks C
[14:48:58] dminuoso: Heh not at all. Just using ruby splat.
[14:48:59] ule: so is it the same idea? *arr is a reference to arr?
[14:49:11] ule: *pointer
[14:49:13] dminuoso: Nope, that's just splatting.
[14:49:21] dminuoso: >> arr = [1,2,3]; arrB = [*arr, 4]; puts arrB
[14:49:22] ruby[bot]: dminuoso: # => 1 ...check link for more (https://eval.in/913494)
[14:49:30] dminuoso: Likewise you can use this to decosntruct:
[14:50:02] dminuoso: >> head, *tail = [1,2,3,4]; puts head.to_s + ":" + tail.to_s
[14:50:03] ruby[bot]: dminuoso: # => 1:[2, 3, 4] ...check link for more (https://eval.in/913495)
[14:50:36] ule: let me study these examples
[14:54:48] oleo: has joined #ruby
[15:00:16] polishdub: has joined #ruby
[15:00:30] chocoelho: has joined #ruby
[15:00:52] AJA4350: has joined #ruby
[15:05:46] despai: has joined #ruby
[15:07:55] Sylario: Ok i have a weird module classname error, and I think it's more a ruby problem than a rails one : NameError: uninitialized constant #<Class:0x00000005c0c088>::Signed
[15:08:10] pastorinni: has joined #ruby
[15:08:12] Sylario: In the code <Class:0x00000005c0c088> is a module name
[15:08:26] Sylario: Licence::Signed
[15:09:12] dminuoso: sylario: gist.
[15:10:11] raul782: has joined #ruby
[15:10:45] Sylario: It fails on the second line : https://gist.github.com/bsylvain/6a3dfeb523ef8361b94d1aec1bcfc282
[15:11:10] memo1: has joined #ruby
[15:11:18] Sylario: I am completing the gist
[15:11:31] dminuoso: sylario: So #<Class:0x00000005c0c088> is just .inspect for an anonymous class.
[15:11:45] dminuoso: sylario: Im guessing this might be some weird behavior with rails autoloading.
[15:11:46] Sylario: what does that mean?
[15:11:54] dminuoso: >> Class.new
[15:11:55] ruby[bot]: dminuoso: # => #<Class:0x41079cd4> (https://eval.in/913537)
[15:12:05] dminuoso: sylario: ^- this is what a class is printed with #inspect by default.
[15:12:36] Sylario: If i call this code in dev it works, it fails in production
[15:13:07] Sylario: how can I avoid this kind of error?
[15:13:19] dminuoso: sylario: Yeah sounds like autoloading. Try turning "cache_classes" to false in your config/environments/development.rb
[15:13:29] Sylario: it works in dev
[15:13:34] dminuoso: sylario: Just do.
[15:14:08] mson: has joined #ruby
[15:14:09] Sylario: It's already false in dev
[15:14:23] dminuoso: sorry wrong setting one sec
[15:14:31] dminuoso: sylario: eager_load on true
[15:14:38] tcopeland: has joined #ruby
[15:15:25] Rapture: has joined #ruby
[15:15:39] dminuoso: It should trigger the problem locally
[15:17:07] Sylario: kinda the same error : NameError: uninitialized constant Licence::Licence::Signed
[15:17:23] dminuoso: sylario: There you go.
[15:17:47] dminuoso: sylario: On that note you might be interested in
[15:17:50] dminuoso: ?const_lookup
[15:17:50] ruby[bot]: dminuoso: I don't know anything about const_lookup
[15:17:55] dminuoso: ACTION sighs
[15:17:59] dminuoso: ?constlookup
[15:17:59] ruby[bot]: dminuoso: I don't know anything about constlookup
[15:18:34] dminuoso: sylario: https://cirw.in/blog/constant-lookup.html
[15:18:36] theRoUS: is there a gem that expands shell non-glob sequences? e.g., foo('{01..05}') => ['01', '02', '03', '04', 05'] ?
[15:19:14] danguita: has joined #ruby
[15:19:43] dminuoso: sylario: I cant tell you why the error looks different though. That I find somewhat surprising.
[15:20:11] dminuoso: But Im willing to bet that #<Class:0x00000005c0c088> *is* Licence::Licence
[15:21:22] Sylario: that's what I think
[15:22:12] Sylario: the error is in a Licence:: namespace, maybe I should call Signed without the ::Licence:: ?
[15:23:17] Sylario: Thx a lot dminuoso
[15:24:33] dminuoso: 16:18 dminuoso | sylario: https://cirw.in/blog/constant-lookup.html
[15:24:35] dminuoso: Give this a read. :)
[15:25:07] Sylario: I think i read this years ago, when i did not needed it ^^
[15:25:24] miskatonic: has joined #ruby
[15:25:56] apeiros: has joined #ruby
[15:26:30] apeiros: has joined #ruby
[15:26:49] Sylario: Thx dminuoso
[15:27:28] Technodrome: has joined #ruby
[15:30:00] theRoUS: or, more to the point, "foo[01..03]" => "foo01 foo02 foo03" ?
[15:31:08] mlehrer: has joined #ruby
[15:33:26] dminuoso: >> (1..3).map { |e| "foo%02d" % e } # theRoUS
[15:33:27] ruby[bot]: dminuoso: # => ["foo01", "foo02", "foo03"] (https://eval.in/913555)
[15:34:15] dminuoso: Keep in mind that ruby treats 01 as an octal number, which could have some unwanted side-effects should you try 09 or 010
[15:34:50] theRoUS: dminuoso: that's a very specific implementation for the specific case. shell sequences can be like "foo{a..z}" etc.
[15:35:12] dminuoso: ('a'..'z').to_a
[15:35:15] dminuoso: >> ('a'..'z').to_a
[15:35:16] ruby[bot]: dminuoso: # => ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", ...check link for more (https://eval.in/913556)
[15:35:45] dminuoso: and actually
[15:35:47] dminuoso: on that note..
[15:35:55] dminuoso: >> ("01".."05").to_a
[15:35:55] theRoUS: my point is that it can be arbitrary.
[15:35:56] ruby[bot]: dminuoso: # => ["01", "02", "03", "04", "05"] (https://eval.in/913558)
[15:36:13] dminuoso: theRoUS: how would z..B work?
[15:36:22] theRoUS: so, no gem to do it
[15:36:35] dminuoso: theRoUS: I think I just showed you that ruby does this out of the box.
[15:37:12] theRoUS: echo foo{z..B} =>fooz fooy foox foow foov foou foot foos foor fooq foop fooo foon foom fool fook fooj fooi fooh foog foof fooe food fooc foob fooa foo` foo_ foo^ foo] foo foo[ fooZ fooY fooX fooW fooV fooU fooT fooS fooR fooQ fooP fooO fooN fooM fooL fooK fooJ fooI fooH fooG fooF fooE fooD fooC fooB
[15:37:40] dminuoso: Okay yeah then no.
[15:37:50] dminuoso: theRoUS: You could just invoke the shell though
[15:38:25] sonOfRa: you can invoke perl for it, perl treats letters like that. So does php :D
[15:38:57] sonOfRa: also, why are `_^][ part of it?
[15:39:07] dminuoso: because shell why not.
[15:39:15] sonOfRa: oh right shells
[15:39:59] dminuoso: sonOfRa: Im guessing that it was rigged into the source code by some hacker who happened to have files suffixed with `, _, ^, ] and [
[15:40:16] dminuoso: His way of having some foo.c, foo`.c, foo_.c, foo^.c
[15:40:33] sonOfRa: theRoUS: I mean, what is the exact behaviour that you would *expect*?
[15:40:48] sonOfRa: shell sequences are very shell-specific
[15:41:18] theRoUS: Shellwords splits appropriately
[15:41:26] dminuoso: i.e. assuming some sanity checking on the input def range(b, f, t); `echo #{b}{#{f}..#{t}}`.chomp.split` end
[15:41:31] dminuoso: should work :p
[15:42:03] dminuoso: Boy I hate shells.
[15:42:22] dminuoso: There's nothing not quirky about them.
[15:42:37] theRoUS: meh, i'll just have the shell do it, though i consider it inelegant.
[15:43:55] dminuoso: sonOfRa: So. What is your theory about those `_^][ /
[15:44:20] dminuoso: And why is it doing this in reverse? ..
[15:44:46] dminuoso: Oh I guess 'B'.ord < 'z'.ord
[15:44:46] sonOfRa: dminuoso: my theory is that it's just an ascii table
[15:45:10] dminuoso: Ah.. you're right/
[15:45:49] dminuoso: theRoUS: then ruby has you covered.
[15:46:11] dminuoso: theRoUS: str..str will give you what you want, you just have to reorder so that the "smaller" string is on the left side.
[15:46:36] dminuoso: >> ("Az".."AB").to_a
[15:46:37] ruby[bot]: dminuoso: # => [] (https://eval.in/913576)
[15:46:41] dminuoso: >> ("z".."B").to_a
[15:46:42] ruby[bot]: dminuoso: # => [] (https://eval.in/913577)
[15:46:52] dminuoso: >> ("AB".."Az").to_a
[15:46:53] ruby[bot]: dminuoso: # => ["AB", "AC", "AD", "AE", "AF", "AG", "AH", "AI", "AJ", "AK", "AL", "AM", "AN", "AO", "AP", "AQ", "AR ...check link for more (https://eval.in/913578)
[15:46:58] dminuoso: >> ("B".."z").to_a
[15:47:11] dminuoso: Well. You get the idea.
[15:48:15] cagmz: has joined #ruby
[15:48:18] KeyJoo: has joined #ruby
[15:49:32] rippa: has joined #ruby
[15:53:41] dinfuehr: has joined #ruby
[15:55:08] hutch34: has joined #ruby
[15:56:33] Immune__: has joined #ruby
[15:59:46] charliesome: has joined #ruby
[16:00:19] n13z: has joined #ruby
[16:01:17] Exhiled: has joined #ruby
[16:01:52] DmitryBochkarev: has joined #ruby
[16:02:10] urk187: has joined #ruby
[16:02:13] cognoscente: has joined #ruby
[16:02:24] kculpis: has joined #ruby
[16:03:15] troys: has joined #ruby
[16:03:43] dinfuehr: has joined #ruby
[16:03:44] urk187: has joined #ruby
[16:03:56] veeti: has joined #ruby
[16:06:21] MrSparkle: has joined #ruby
[16:06:21] crova: has joined #ruby
[16:06:26] Technodrome: has joined #ruby
[16:07:35] chocoelho: has joined #ruby
[16:14:09] cschneid: has joined #ruby
[16:27:59] FahmeF: has joined #ruby
[16:28:30] drowze: has joined #ruby
[16:29:23] mtkd: has joined #ruby
[16:29:40] drowze: has joined #ruby
[16:31:26] guille-moe: has joined #ruby
[16:32:39] milardovich: has joined #ruby
[16:35:08] Puffball: has joined #ruby
[16:37:29] Technodrome: has joined #ruby
[16:38:27] TomyLobo: has joined #ruby
[16:39:30] polishdub: has joined #ruby
[16:39:42] d10n-work: has joined #ruby
[16:42:46] guille-moe: has joined #ruby
[16:44:00] moei: has joined #ruby
[16:45:41] r0nin: has joined #ruby
[16:46:29] alex``: has joined #ruby
[16:48:34] tsglove: has joined #ruby
[16:51:26] jxv: has joined #ruby
[16:51:36] sanscoeur: has joined #ruby
[16:55:01] dionysus69: has joined #ruby
[16:55:34] drowze: has joined #ruby
[16:56:14] webguynow: has joined #ruby
[17:01:32] Lytol: has joined #ruby
[17:03:03] Exhiled: has joined #ruby
[17:06:37] blackmesa1: has joined #ruby
[17:07:14] jnollette: has joined #ruby
[17:08:05] FahmeF: has joined #ruby
[17:10:09] Technodrome: has joined #ruby
[17:11:15] nogic: has joined #ruby
[17:13:20] Nahra: has joined #ruby
[17:13:30] conta: has joined #ruby
[17:15:47] conta3: has joined #ruby
[17:16:06] Nahra: has joined #ruby
[17:19:04] DLSteve: has joined #ruby
[17:20:23] jamesaxl: has joined #ruby
[17:20:44] Nahra: has joined #ruby
[17:22:30] FahmeF: has joined #ruby
[17:23:00] jamesaxl: has joined #ruby
[17:23:01] rora: has joined #ruby
[17:27:30] Bilge: has joined #ruby
[17:28:48] veeti: has joined #ruby
[17:31:09] houhoulis: has joined #ruby
[17:32:36] DmitryBochkarev: has joined #ruby
[17:39:22] lexruee: has joined #ruby
[17:42:47] uZiel: has joined #ruby
[17:43:44] eckhardt: has joined #ruby
[17:43:58] n13z: has joined #ruby
[17:44:16] rora: has joined #ruby
[17:44:42] mikecmpbll: has joined #ruby
[17:46:49] jamiejackson: has joined #ruby
[17:47:17] DmitryBochkarev: has joined #ruby
[17:48:37] orbyt_: has joined #ruby
[17:49:15] cdg: has joined #ruby
[17:51:31] FahmeF: has joined #ruby
[17:52:18] Exhiled: has joined #ruby
[17:54:50] n13z: has joined #ruby
[17:54:59] Yzguy: has joined #ruby
[17:59:45] Tempesta: has joined #ruby
[17:59:55] Dimik: has joined #ruby
[18:00:00] Tempesta: has joined #ruby
[18:01:24] skweek: has joined #ruby
[18:02:28] ramfjord: has joined #ruby
[18:03:44] Asher1: has joined #ruby
[18:06:33] bmurt: has joined #ruby
[18:07:54] Xiti: has joined #ruby
[18:11:33] rouge: has joined #ruby
[18:11:39] zmo: has joined #ruby
[18:12:39] zmo: how can I create a generator function in ruby?
[18:12:43] zmo: (like in Python or JS)
[18:13:05] selim: has joined #ruby
[18:18:17] truenito: has joined #ruby
[18:18:51] Exhiled: has joined #ruby
[18:19:13] baweaver: zmo: generator function?
[18:19:54] baweaver: Probably Enumerator
[18:20:41] zmo: ah Enumerator.new
[18:20:45] skweek: has joined #ruby
[18:20:45] zmo: thanks baweaver :)
[18:20:53] zmo: and enum.yield
[18:21:02] baweaver: >> powers_of_2 = Enumerator.new { |y| x=2; loop{ y << x; x = x << 1 } }; powers_of_2.first(20)
[18:21:14] ruby[bot]: baweaver: # => [2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 52 ...check link for more (https://eval.in/913737)
[18:21:15] baweaver: ACTION waits for bot
[18:21:20] baweaver: Pretty much like that
[18:21:30] guille-moe: has joined #ruby
[18:21:40] baweaver: y is the yielder. You can call it with #yield or #<<
[18:22:16] baweaver: then x is just shifting binary to get the next power
[18:22:46] dminuoso: baweaver: Are you aware of any monadic parser combinators in Ruby?C
[18:22:50] baweaver: It doesn't _have_ to be an infinite series
[18:23:00] baweaver: dminuoso: too soon, no coffee
[18:23:05] baweaver: havenwood: tag
[18:23:08] baweaver: ACTION runs for it
[18:23:11] dminuoso: Have you tried like
[18:23:17] dminuoso: An IV line for caffeine?
[18:23:52] NeverTired: has joined #ruby
[18:25:37] dminuoso: havenwood: You perhaps?
[18:26:11] bmurt: has joined #ruby
[18:26:27] veeti: has joined #ruby
[18:26:31] dminuoso: (I only care about LL grammars)
[18:27:10] yabbes: has joined #ruby
[18:28:35] techn1cs: has joined #ruby
[18:29:10] havenwood: dminuoso: I've got nothing. I do see this recent stab: https://github.com/ddfreyne/d-parse
[18:29:23] havenwood: Ah, nvm, it's been around for a couple years.
[18:29:58] claudiuinberlin: has joined #ruby
[18:30:12] dminuoso: Yeah I saw that too, it kinda goes in the direction Im looking for.
[18:31:21] dminuoso: havenwood: It kind of is not combinatoric enough for my taste.
[18:32:38] dminuoso: Doesn't seem to allow for non-deterministic parsing. :(
[18:33:53] mtkd: has joined #ruby
[18:34:25] enterprisey: has joined #ruby
[18:35:19] Exhiled: has joined #ruby
[18:35:41] mson: has joined #ruby
[18:37:38] faces: has joined #ruby
[18:41:51] ElDoggo: has joined #ruby
[18:44:48] c0ncealed: has joined #ruby
[18:45:35] mim1k: has joined #ruby
[18:47:18] kies: has joined #ruby
[18:49:29] stealth[]: has joined #ruby
[18:51:13] n13z: has joined #ruby
[18:53:07] PaulCapestany: has joined #ruby
[18:53:17] sameerynho: has joined #ruby
[18:55:08] yeticry_: has joined #ruby
[18:56:46] minimalism: has joined #ruby
[18:57:00] mcr1: has joined #ruby
[19:02:38] orbyt_: has joined #ruby
[19:04:16] Exhiled: has joined #ruby
[19:05:25] dviola: has joined #ruby
[19:06:27] sanscoeur: has joined #ruby
[19:07:23] jxv: has joined #ruby
[19:08:01] amperry: has joined #ruby
[19:08:48] amperry: havenwood: I'm here
[19:09:44] cdg: has joined #ruby
[19:10:48] amperry: has joined #ruby
[19:11:18] havenwood: amperry: Did installing Bundler explicitly with your RVM Ruby fix the issue?
[19:11:54] amperry: havenwood: which command was that, again? I just had to restart my network connection.
[19:12:09] havenwood: amperry: Once you've selected your RVM Ruby: gem install bundler
[19:12:50] amperry: havenwood: and, sorry if this is obvious, how do I "select" my RVM Ruby?
[19:13:08] havenwood: amperry: Check: rvm current
[19:13:14] havenwood: amperry: What is it?
[19:13:49] havenwood: amperry: So RVM is set to not do anything, and defer to your system Ruby.
[19:13:51] havenwood: amperry: Check the Rubies you have installed with RVM: rvm list
[19:14:12] havenwood: amperry: Then set one as your current Ruby (or default), e.g.: rvm use ruby-2.4.2 --default
[19:14:26] havenwood: amperry: You can confirm that worked with: rvm current
[19:14:31] havenwood: amperry: Then: gem install bundler
[19:14:34] amperry: havenwood: gives --> # No rvm rubies installed yet. Try 'rvm help install'.
[19:14:43] havenwood: amperry: So you haven't installed any Rubies with RVM.
[19:14:54] havenwood: amperry: Is there a particular version you're after for the project you're working on?
[19:14:55] amperry: *I* haven't
[19:15:50] havenwood: amperry: I'd suggest installing the latest RVM and Ruby if you don't have a specific Ruby version in mind: rvm get head && rvm install ruby
[19:15:58] conta2: has joined #ruby
[19:16:08] havenwood: amperry: TL;DR: install a Ruby with RVM then install the Bundler gem on that Ruby before running: bundle
[19:16:29] amperry: havenwood: I fear breaking compatibility that way... how do I know if any of the gems I have don't rely on a particular version
[19:16:35] havenwood: amperry: rvm get head && rvm install ruby && rvm use ruby --default && gem install bundler && bundle
[19:16:50] dminuoso: amperry: gems manage version requirements themselves, dont worry about it.
[19:16:51] havenwood: amperry: Why are you using RVM?
[19:17:06] dminuoso: Any gem that does not have proper constraints deserves a) to break, b) a bug report, c) none of your attention.
[19:17:13] havenwood: amperry: You can have RVM (or other) Rubies installed alongside system Ruby and it shouldn't break anything.
[19:17:21] amperry: to my knowledge, *I'm* not, but it's there.
[19:17:43] amperry: I've never had to issue an rvm command before.
[19:17:47] _aeris_: has joined #ruby
[19:17:49] havenwood: amperry: rvm implode --force
[19:17:50] havenwood: if you're not using RVM... don't use RVM
[19:17:53] havenwood: ¯\_(ツ)_/¯
[19:18:20] havenwood: amperry: Maybe give us some more context relating to what you're doing and why?
[19:18:39] havenwood: amperry: You can remove RVM with: rvm implode --force
[19:18:44] amperry: only thing I'm trying to do is get my Gemfile working for a rails project.
[19:19:03] havenwood: amperry: What version of Ruby is mentioned in the Gemfile, if any?
[19:19:23] tsglove: has joined #ruby
[19:19:50] havenwood: amperry: Is this a dev machine? Do you want to set it up for just this project or to be able to switch Rubies?
[19:19:59] amperry: one gem causes problems, the 'best_in_place' gem. It worked before, but I think some finagling had to be done to get it to work before and I don't recall what that was.
[19:20:24] amperry: sadly, it's production, although I can *almost* treat it as dev since the project isn't live.
[19:20:44] havenwood: amperry: First, determine what version of Ruby this app is asking for. Usual places to look in a Rails app are the .ruby-version file and the Gemfile `ruby` directive.
[19:20:46] dminuoso: RVM in production :|
[19:20:58] havenwood: Oh, it's prod... Whee!
[19:21:20] havenwood: amperry: And what is?: sudo ruby -v
[19:22:58] havenwood: amperry: Do you know if you've already set the --deployment flag?
[19:23:03] havenwood: (With Bundler.)
[19:23:23] amperry: I do not recall doing so.
[19:24:12] apeiros: has joined #ruby
[19:24:12] havenwood: amperry: It's normal to do that in prod, for two reasons. First it vendors the installed gems. Second it prevents creating a new Gemfile.lock (do that in dev, not on your prod machine).
[19:24:52] amperry: havenwood: what's the command? 'bundle --deployment'?
[19:25:09] havenwood: sudo bundle --deployment
[19:25:19] havenwood: I think that's it. I'd suggest double checking the docs.
[19:25:27] havenwood: I don't type it often enough to recall.
[19:26:05] blackmesa1: has joined #ruby
[19:26:52] amperry: aha... the docs helpfully say "Please check carefully if you want to have this option enabled in your development environment."
[19:27:55] amperry: but it seems like bundle --deployment is the command.
[19:28:20] havenwood: amperry: That's it, --deployment.
[19:28:29] amperry: havenwood: rather, bundle install --deployment
[19:28:31] havenwood: I knew it was one of those d-words.
[19:32:35] chouhoulis: has joined #ruby
[19:33:19] chouhoulis: has joined #ruby
[19:38:01] RickHull: has joined #ruby
[19:38:49] profetes: has joined #ruby
[19:38:50] Psybur_: has joined #ruby
[19:41:35] houhoulis: has joined #ruby
[19:42:26] tvw: has joined #ruby
[19:45:29] n13z: has joined #ruby
[19:45:37] cdg: has joined #ruby
[19:47:35] jenrzzz: has joined #ruby
[19:47:40] sanscoeur: has joined #ruby
[19:47:57] amperry: havenwood: two questions. If I run 'bundle install' having commented out the 'best_in_place' gem, I can't seem to uncomment it and run 'bundle install --deployment'
[19:48:40] amperry: also, bundler asks me to update using 'gem install bundler', but I can't seem to do that without running 'sudo' -- is that the right way to do it?
[19:50:43] yabbes: has joined #ruby
[19:51:01] havenwood: amperry: The --deployment flag prevents you from modifying your Gemfile.lock in production. Typically you want to do that in a development environment, then a testing environment before the Gemfile.lock is bundled on prod.
[19:52:41] havenwood: amperry: yes, you'll need sudo as long as your system Ruby setup for a --no-user-install location
[19:54:32] minimalism: has joined #ruby
[19:55:26] Technodrome: has joined #ruby
[19:55:51] csk157: has joined #ruby
[19:58:54] conta2: has joined #ruby
[20:02:46] bkxd: has joined #ruby
[20:02:51] cschneid: has joined #ruby
[20:02:56] xcyclist: has joined #ruby
[20:03:08] jackjackdripper: has joined #ruby
[20:04:47] blackmesa1: has joined #ruby
[20:05:07] clemens3: has joined #ruby
[20:06:55] veeti: has joined #ruby
[20:09:41] Alchemical: has left #ruby: ()
[20:10:59] nowhere_man: has joined #ruby
[20:13:32] despai: has joined #ruby
[20:15:28] emerson: has joined #ruby
[20:21:24] bmurt: has joined #ruby
[20:21:29] A124: has joined #ruby
[20:23:05] duckdanger: has joined #ruby
[20:23:06] cdg: has joined #ruby
[20:23:56] amperry: havenwood: thought I'd gotten it to work, but one of two conditions happens: I leave the 'best_in_place' gem commented out and one page of my app doesn't work, or I leave it in and (despite 'bundle install' saying 'Bundle complete!') the server fails to start.
[20:24:01] csk157: has joined #ruby
[20:24:33] chocoelho: has joined #ruby
[20:24:56] Immune: has joined #ruby
[20:26:01] olblak: has joined #ruby
[20:30:08] Strepsils: has joined #ruby
[20:32:03] oleo: has joined #ruby
[20:32:13] hsiktas: has joined #ruby
[20:32:17] doublemalt_: has joined #ruby
[20:32:27] beccamorgan: has joined #ruby
[20:32:28] d10n-work: has joined #ruby
[20:32:34] jamiejackson: has joined #ruby
[20:32:45] ShekharReddy: has joined #ruby
[20:33:21] ggherdov: has joined #ruby
[20:35:15] orbyt_: has joined #ruby
[20:35:16] jenrzzz: has joined #ruby
[20:35:17] jenrzzz: has joined #ruby
[20:35:47] mim1k: has joined #ruby
[20:35:53] bokayio: has joined #ruby
[20:36:06] jrm: has joined #ruby
[20:38:54] cgfbee: has joined #ruby
[20:38:57] alex``: has joined #ruby
[20:39:10] mtkd: has joined #ruby
[20:40:51] rora: has left #ruby: ()
[20:41:37] wolfshappen: has joined #ruby
[20:42:15] veeti: has joined #ruby
[20:44:30] bkxd_: has joined #ruby
[20:46:49] pdcawley: has joined #ruby
[20:46:59] pdcawley: has left #ruby: ()
[20:47:56] clemens3: has joined #ruby
[20:47:56] faces: has joined #ruby
[20:47:56] enterprisey: has joined #ruby
[20:47:56] Bilge: has joined #ruby
[20:47:56] sammi`_: has joined #ruby
[20:47:56] huyderman: has joined #ruby
[20:47:56] lurkingninja: has joined #ruby
[20:47:56] Takumo: has joined #ruby
[20:47:56] voker57: has joined #ruby
[20:47:56] duderonomy: has joined #ruby
[20:47:56] ruby[bot]: has joined #ruby
[20:47:56] Raboo: has joined #ruby
[20:47:56] Roa: has joined #ruby
[20:47:56] go|dfish: has joined #ruby
[20:47:56] Majost: has joined #ruby
[20:47:56] spectra: has joined #ruby
[20:47:56] Antiarc: has joined #ruby
[20:47:56] VladGh: has joined #ruby
[20:47:57] soahccc: has joined #ruby
[20:47:57] majoh_: has joined #ruby
[20:47:57] gsingh93: has joined #ruby
[20:47:57] rikai: has joined #ruby
[20:47:57] xsdg: has joined #ruby
[20:48:05] klaas: has joined #ruby
[20:48:05] n13z: has joined #ruby
[20:48:05] houhoulis: has joined #ruby
[20:48:05] Xiti: has joined #ruby
[20:48:05] Asher: has joined #ruby
[20:48:05] ramfjord: has joined #ruby
[20:48:05] synthroid: has joined #ruby
[20:48:05] Mia: has joined #ruby
[20:48:05] motstgo: has joined #ruby
[20:48:05] meinside: has joined #ruby
[20:48:05] gnufied: has joined #ruby
[20:48:05] michael_mbp: has joined #ruby
[20:48:05] benjen: has joined #ruby
[20:48:05] Fraeon: has joined #ruby
[20:48:05] galeido: has joined #ruby
[20:48:05] jokester: has joined #ruby
[20:48:05] bazzy: has joined #ruby
[20:48:05] freeze: has joined #ruby
[20:48:05] vdl: has joined #ruby
[20:48:05] swgillespie: has joined #ruby
[20:48:05] shaman42_: has joined #ruby
[20:48:05] snapcase: has joined #ruby
[20:48:24] mtkd: has joined #ruby
[20:48:44] enterprisey: has joined #ruby
[20:48:50] swgillespie: has joined #ruby
[20:48:59] go|dfish: has joined #ruby
[20:49:25] Takumo: has joined #ruby
[20:49:51] synthroid: has joined #ruby
[20:51:26] milardovich: has joined #ruby
[20:51:37] mim1k: has joined #ruby
[20:51:44] mnemon: has joined #ruby
[20:51:48] havenwood: amperry: The good news is this is now back in #rubyonrails land.
[20:52:22] havenwood: amperry: I'm not familiar with that gem or why it might be causing you trouble.
[20:52:27] despai: has joined #ruby
[20:52:53] Danielss89: has joined #ruby
[20:53:06] amperry: havenwood: that's cool, you've been most helpful anyhow. Thanks!
[20:56:20] tAn: has joined #ruby
[20:56:46] michael_mbp: has joined #ruby
[21:04:24] mim1k: has joined #ruby
[21:05:40] workmad3: has joined #ruby
[21:07:41] cdg: has joined #ruby
[21:08:54] orbyt_: has joined #ruby
[21:10:55] Exhiled: has joined #ruby
[21:15:10] mim1k: has joined #ruby
[21:15:11] Neptu: has joined #ruby
[21:17:18] tomphp: has joined #ruby
[21:17:33] Ouchy: has joined #ruby
[21:17:33] Ouchy: has joined #ruby
[21:17:59] conta1: has joined #ruby
[21:19:23] mint: has joined #ruby
[21:26:13] orbyt_: has joined #ruby
[21:27:37] jeffreylevesque_: has joined #ruby
[21:27:46] amperry: has left #ruby: ("thanks, done for now")
[21:31:11] kitsunenokenja: has joined #ruby
[21:36:59] upfy57: has joined #ruby
[21:37:35] leonthemisfit: has joined #ruby
[21:37:36] leonthemisfit: has joined #ruby
[21:38:09] cdg_: has joined #ruby
[21:38:51] eckhardt: has joined #ruby
[21:40:09] ahrs: has joined #ruby
[21:40:29] jnyw: has joined #ruby
[21:41:04] DTZUZO: has joined #ruby
[21:43:12] swills: has left #ruby: ("parted")
[21:45:01] maattdd: has joined #ruby
[21:45:38] cochi: has joined #ruby
[21:47:08] cochi: hate to drop in and ask right away but.. any good pointers at some ruby gem for doing telephony? i want to start calls, output wav/mp3 to the called party, record audio (with silence detection ideally). looked at twilio but it's apparently more or less handing over call processing to a webservice. and i need to react in real time without leaving the program flow :(
[21:49:22] dminuoso: cochi: There is a well maintained gem called adhearsion
[21:49:38] dminuoso: And by well maintained I mean no commits for over a year.
[21:49:48] dminuoso: Which in the world of telecommunications is "the newest stuff"
[21:49:57] cochi: hrhr. yeah telco is weird
[21:50:37] cochi: k so basically i'd roll my own asterisk, connect some sip account and then use that gem to interact? hm. bit more complicated than i hoped, but doable for sure
[21:50:52] oetjenj: has joined #ruby
[21:50:58] dminuoso: cochi: Id probably directly go to elixir.
[21:51:32] dminuoso: There's plenty erlang libraries that you could start off with.
[21:51:33] FahmeF: has joined #ruby
[21:51:53] dminuoso: (Ruby just is not the language you are likely to find a suitable low level library you are looking for)
[21:51:58] cochi: hm well for some internal reasons (one platform), i'd rather stick to ruby. plus i want to interface with other ruby gems there
[21:52:01] lexruee: has joined #ruby
[21:52:48] cochi: to be as open as possible: toying with doing an rspec variant for testing complex voip applications here
[21:53:09] cochi: (if there's any telco testing stuff like that already: i'd be interested to know)
[21:54:02] dminuoso: cochi: Just out of pure curiosity. Do you work for a carrier or a manufacturer?
[21:54:34] cochi: nope. i work for an AWS premier consulting partner currently doing a proof of concept for migrating a callcenter workflow to Amazon Connect :)
[21:54:56] DenSchub: has joined #ruby
[21:54:57] dminuoso: But German, obviously.
[21:55:00] cochi: and it's complex already, so.. test driven callcenter
[21:55:24] cochi: i hope only my cloak gave it away. or i'd be disappointed (a bit) ;)
[21:55:32] dminuoso: Nope, actually.
[21:55:40] dminuoso: I didn't see your cloak until I had already pressed enter.
[21:55:43] dminuoso: 22:49 cochi | hrhr. yeah telco is weird
[21:55:45] dminuoso: gave you away.
[21:55:59] cochi: hm. wasn't even aware. thanks ;)
[21:56:29] mlehrer: has joined #ruby
[21:58:14] chocoelho: has joined #ruby
[21:58:52] veeti: has joined #ruby
[21:59:24] dminuoso: cochi: My condolences though. Every time I had to deal with VoIP was like this horrid nightmare that you cant wake up from.
[22:00:17] cochi: yeah, I went through some iterations of Asterisk/FreeSWITCH myself. horrible times. that's why I was hoping to avoid dealing with lowlevel stuff at least for the testing part. bad luck.
[22:02:06] troys: has joined #ruby
[22:02:06] wnd: has joined #ruby
[22:02:06] m4rCsi: has joined #ruby
[22:02:06] Guest86682: has joined #ruby
[22:02:06] TinkerTyper: has joined #ruby
[22:02:06] nicesignal: has joined #ruby
[22:02:06] sunrunner20: has joined #ruby
[22:02:06] yokel: has joined #ruby
[22:02:06] hays: has joined #ruby
[22:02:06] brixen: has joined #ruby
[22:02:06] Liothen: has joined #ruby
[22:02:06] lele: has joined #ruby
[22:02:07] nicoulaj: has joined #ruby
[22:02:07] balo: has joined #ruby
[22:02:07] kitallis: has joined #ruby
[22:02:07] veloutin: has joined #ruby
[22:02:07] chaos95: has joined #ruby
[22:02:07] TvL2386: has joined #ruby
[22:02:07] rgs: has joined #ruby
[22:02:07] nikkyjr: has joined #ruby
[22:02:07] spider-mario: has joined #ruby
[22:02:07] pabs: has joined #ruby
[22:02:07] surrounder: has joined #ruby
[22:02:07] genpaku: has joined #ruby
[22:02:07] varesa|: has joined #ruby
[22:02:07] Biohazard: has joined #ruby
[22:02:07] jaredrhine: has joined #ruby
[22:03:12] genpaku: has joined #ruby
[22:03:34] nicoulaj: has joined #ruby
[22:03:56] mlehrer: has joined #ruby
[22:05:14] DrCode: has joined #ruby
[22:06:30] A124: has joined #ruby
[22:06:43] Ouchy`w: has joined #ruby
[22:07:04] Puffball: has joined #ruby
[22:07:16] DrCode: has joined #ruby
[22:07:28] dreamthese: has joined #ruby
[22:07:33] despai: has joined #ruby
[22:07:34] sunrunner20: has joined #ruby
[22:07:50] n13z: has joined #ruby
[22:08:24] bmurt: has joined #ruby
[22:13:07] PresidentBiscuit: has joined #ruby
[22:13:21] cognoscente_: has joined #ruby
[22:14:05] mim1k: has joined #ruby
[22:15:22] Exhiled: has joined #ruby
[22:16:48] mynameisdebian: has joined #ruby
[22:17:35] tomphp: has joined #ruby
[22:19:07] mynameisdebian: I am trying to use roo to read an Excel file on my desktop machine, but I get an error when the file is locked for editing. Is there a way to open the Excel file read-only, with roo or another gem?
[22:19:58] cloaked1: has joined #ruby
[22:20:00] shinnya: has joined #ruby
[22:20:21] AJA4350: has joined #ruby
[22:21:06] oetjenj: has joined #ruby
[22:21:53] oetjenj: has joined #ruby
[22:21:58] nofxx: has joined #ruby
[22:22:28] goyox86_: has joined #ruby
[22:22:42] oetjenj: has joined #ruby
[22:23:26] oetjenj: has joined #ruby
[22:23:44] Dimik: has joined #ruby
[22:24:16] oetjenj: has joined #ruby
[22:27:44] postmodern: has joined #ruby
[22:28:39] havenwood: mynameisdebian: https://blogs.technet.microsoft.com/the_microsoft_excel_support_team_blog/2012/05/14/the-definitive-locked-file-post-updated-772014/
[22:29:38] veeti: has joined #ruby
[22:29:57] tomphp: has joined #ruby
[22:30:45] despai: has joined #ruby
[22:31:00] daniel: has joined #ruby
[22:31:06] nofxx: has joined #ruby
[22:31:17] cdg: has joined #ruby
[22:33:24] mynameisdebian: havenwood: I figured the only thing locking the file is the presence of the Excel "lock file" and that it was up to the client whether to respect. I do know it is possible to open a file read-only that is locked.
[22:33:47] nofxx: has joined #ruby
[22:34:09] csk157: has joined #ruby
[22:34:18] goyox86_: has joined #ruby
[22:35:44] greenbagels: has joined #ruby
[22:37:11] jeffreylevesque: has joined #ruby
[22:38:47] drowze: has joined #ruby
[22:42:46] goyox86_: has left #ruby: ()
[22:43:27] mtkd: has joined #ruby
[22:43:58] dreamthese: has joined #ruby
[22:44:12] c0ncealed: has joined #ruby
[22:44:18] ahrs: has joined #ruby
[22:44:38] goyox86_: has joined #ruby
[22:44:50] mynameisdebian: Does anyone here use roo?
[22:48:55] nwm: has joined #ruby
[22:49:30] cdg_: has joined #ruby
[22:49:45] Iambchop: mynameisdebian: I've used roo but never ran into file locking problem
[22:50:12] mynameisdebian: I'm on Windows with Excel, maybe that's the problem
[22:50:52] Iambchop: you could copy to a tempfile and operate on that?
[22:51:23] mynameisdebian: That's what I'm doing, but I get a file locking issue on the copy
[22:51:29] Iambchop: you could copy to a tempfile and operate on that?
[22:51:51] Iambchop: oops double post :-(
[22:52:06] Iambchop: mynameisdebian: post a gist?
[22:52:14] mynameisdebian: I actually only need one sheet of the xls, so maybe Roo will let me export to csv
[22:53:41] Iambchop: what platform are you on? local or remote filesystem?
[22:53:55] mynameisdebian: Windows, local fs
[22:55:17] mynameisdebian: unfortunately I'm not skilled enough to open a Gist
[22:55:25] workmad3: has joined #ruby
[22:57:07] Technodrome: has joined #ruby
[22:58:10] ramfjord: has joined #ruby
[22:59:13] veeti: has joined #ruby
[23:00:08] Iambchop: https://gist.github.com/ paste the code snippet and console output into the big text area and hit "create public"
[23:02:30] SuperLag: has joined #ruby
[23:02:39] cagomez: has joined #ruby
[23:03:14] maattdd_: has joined #ruby
[23:04:56] blackmesa1: has joined #ruby
[23:05:54] mson: has joined #ruby
[23:08:19] Iambchop: (and then paste the resulting url here :-)
[23:11:05] nobitanobi: has joined #ruby
[23:12:56] mcr1: has joined #ruby
[23:18:49] phenom: has joined #ruby
[23:19:55] veeti: has joined #ruby
[23:22:52] cschneid: has joined #ruby
[23:25:01] urk187: has joined #ruby
[23:25:30] xpedititon: has joined #ruby
[23:25:46] bmurt: has joined #ruby
[23:27:52] xpedititon: What's the best way to test reading of an image on a model using rspec? ex: https://gist.github.com/jefheaton/b976a147afd944f8b697e07979e31f3c
[23:28:32] xpedititon: Obviously File.new isn't working there, that's just for example
[23:32:22] orbyt_: has joined #ruby
[23:32:25] elomatreb: Well, what do you want to test? That it allows to attach/set the image?
[23:34:01] xpedititon: That the image can be pulled from the database
[23:35:02] elomatreb: Depending on how much you want to go into it I'd probably just set the image to some fixture file, save and reload the model, and test if the property is not nil
[23:35:26] xpedititon: Gotcha! Thank you
[23:35:49] csk157: has joined #ruby
[23:36:05] jenrzzz: has joined #ruby
[23:36:06] jenrzzz: has joined #ruby
[23:36:21] elomatreb: Depending on what library you use they may provide an assertion/matcher for testing that, IIRC Paperclip does
[23:43:38] Exhiled: has joined #ruby
[23:44:16] zapata: has joined #ruby
[23:52:59] oetjenj: has joined #ruby
[23:54:40] hutch34: has joined #ruby
[23:59:27] milardovich: has joined #ruby