« Back to channel list

#ruby - 15 March 2017

« Back 1 day Forward 1 day »
[00:00:24] cschneid_: has joined #ruby
[00:02:13] d3d1rty: has joined #ruby
[00:02:27] anekant: has joined #ruby
[00:03:24] pawnbox: has joined #ruby
[00:05:12] ramfjord_: has joined #ruby
[00:08:20] rkazak_: has joined #ruby
[00:10:01] esObe__: has joined #ruby
[00:10:45] Guest62183: has joined #ruby
[00:11:53] uncertainty: has joined #ruby
[00:12:01] kubuntu_: has joined #ruby
[00:12:59] mysticjohn: has joined #ruby
[00:14:14] x0F: has joined #ruby
[00:14:43] mula: has joined #ruby
[00:14:47] esObe_: has joined #ruby
[00:15:32] mysticjohn: has joined #ruby
[00:16:19] esObe__: has joined #ruby
[00:19:18] bruce_lee: has joined #ruby
[00:20:53] Rodya_: has joined #ruby
[00:26:49] x0F: has joined #ruby
[00:28:51] milardovich: has joined #ruby
[00:37:02] Renich_: has joined #ruby
[00:37:07] BackEndCoder: has joined #ruby
[00:38:50] snickers: has joined #ruby
[00:40:36] Renich: has joined #ruby
[00:42:36] pwnd_nsfw: has joined #ruby
[00:43:12] prab97: has joined #ruby
[00:44:27] pawnbox: has joined #ruby
[00:45:46] x0F: has joined #ruby
[00:46:41] mula: has joined #ruby
[00:47:32] bkxd: has joined #ruby
[00:47:50] am55_: has joined #ruby
[00:48:56] chenzfroff: has joined #ruby
[00:49:30] skweek: has joined #ruby
[00:50:21] Jameser: has joined #ruby
[00:52:17] statelesscode: has joined #ruby
[00:52:46] pwnd_nsfw`: has joined #ruby
[00:55:08] bmurt: has joined #ruby
[00:57:07] gigetoo: has joined #ruby
[01:00:39] dviola: has joined #ruby
[01:02:20] mgorbach: has joined #ruby
[01:04:33] pawnbox: has joined #ruby
[01:05:54] snickers: has joined #ruby
[01:06:58] Renich: has joined #ruby
[01:08:44] Robtop__: has joined #ruby
[01:08:45] chouhoulis: has joined #ruby
[01:11:02] prab97: has joined #ruby
[01:13:17] raul782: has joined #ruby
[01:13:48] chouhoulis: has joined #ruby
[01:13:59] cschneid_: has joined #ruby
[01:17:02] houhoulis: has joined #ruby
[01:24:13] hotpancakes: has joined #ruby
[01:28:10] coatezy: has joined #ruby
[01:29:38] HoierM: has joined #ruby
[01:32:02] benlieb: has joined #ruby
[01:32:59] snickers: has joined #ruby
[01:34:12] pawnbox: has joined #ruby
[01:35:30] raul782: has joined #ruby
[01:35:34] mula: has joined #ruby
[01:36:48] atlas___: has joined #ruby
[01:38:40] Ropeney: has joined #ruby
[01:43:12] hutch34: has joined #ruby
[01:43:50] hahuang65: has joined #ruby
[01:44:02] am55_: has joined #ruby
[01:52:22] spicerack: has joined #ruby
[01:53:23] mula: has joined #ruby
[01:53:38] brent__: has joined #ruby
[01:59:36] grant: has joined #ruby
[02:00:03] snickers: has joined #ruby
[02:02:36] ruurd: has joined #ruby
[02:05:43] roflmyeggo: has joined #ruby
[02:06:22] brent__: has joined #ruby
[02:08:14] raul782: has joined #ruby
[02:16:46] rfoust: has joined #ruby
[02:17:17] brixen: has joined #ruby
[02:17:52] xybr_: has joined #ruby
[02:18:03] g3funk: has joined #ruby
[02:18:41] pulkit4tech: has joined #ruby
[02:25:07] d^sh: has joined #ruby
[02:27:09] snickers: has joined #ruby
[02:38:49] mula: has joined #ruby
[02:42:26] uncertainty: has joined #ruby
[02:43:50] hahuang65: has joined #ruby
[02:47:30] \13k: has joined #ruby
[02:49:02] qmr: has joined #ruby
[02:49:58] bkxd: has joined #ruby
[02:50:16] sindork: has joined #ruby
[02:50:33] Gnubie_: has joined #ruby
[02:50:46] SirFunk: has joined #ruby
[02:53:02] Canucktux: has joined #ruby
[02:53:27] patarr: has joined #ruby
[02:54:17] raul782: has joined #ruby
[02:54:23] snickers: has joined #ruby
[02:55:14] jenrzzz: has joined #ruby
[02:57:25] Kovensky: has joined #ruby
[02:59:48] haraoka: has joined #ruby
[03:00:06] __Yiota: has joined #ruby
[03:01:23] __Yiota: has joined #ruby
[03:03:36] shinnya: has joined #ruby
[03:04:15] __Yiota: has joined #ruby
[03:05:37] libastral: has joined #ruby
[03:10:26] ahrs: has joined #ruby
[03:10:38] Canucktux: has joined #ruby
[03:11:53] raul7821: has joined #ruby
[03:13:02] pawnbox: has joined #ruby
[03:15:03] quazimodo: has joined #ruby
[03:16:20] pytuger: puts("hello quazimodo")
[03:18:47] xall: has joined #ruby
[03:19:18] quazimodo: -weird thing- is happening, check it out https://gist.github.com/siassaj/3026d2d45a2130c215143dfe0939da0a
[03:19:28] quazimodo: somehow, FileUtils.ln_s is doing something
[03:19:36] quazimodo: and it's absolutely not what I thought it would be...
[03:20:12] quazimodo: https://gist.github.com/siassaj/3026d2d45a2130c215143dfe0939da0a#file-1-ruby-rb-L5-L9
[03:20:23] hotpancakes: has joined #ruby
[03:20:56] pytuger: quazimodo, tbh, your ruby skills are better than mine. I am more familiar with things like perl and python
[03:21:08] pytuger: if you wait when others are not afk, I'm sure someone can help
[03:21:18] quazimodo: that's fine
[03:21:18] snickers: has joined #ruby
[03:21:31] quazimodo: but i can only imagine that an environment thing is goingon
[03:21:57] pytuger: ddfg, thanks for that URL. though I must say it proved ruby was faster in that case.
[03:22:03] sneakerhax: has joined #ruby
[03:22:14] quazimodo: but the thing is, I'm not even ssh'd into the machine when this deploy happens. The entire app is bundled, upoladed to s3 and then each app server gets a message to pull teh new version and deploy
[03:24:30] quazimodo: Problem solved, ruby behaves well, it's git checking in wrong symlinks
[03:24:58] cibs: has joined #ruby
[03:27:08] dyyylan: has joined #ruby
[03:27:48] sleetdrop: has joined #ruby
[03:27:49] lzto: has joined #ruby
[03:27:53] stokachu: has joined #ruby
[03:30:42] pwnd_nsfw`: has joined #ruby
[03:37:32] rkazak_: has joined #ruby
[03:42:52] pawnbox: has joined #ruby
[03:43:36] charliesome: has joined #ruby
[03:44:29] hahuang65: has joined #ruby
[03:47:50] milardovich: has joined #ruby
[03:48:24] snickers: has joined #ruby
[03:53:47] raul782: has joined #ruby
[04:03:32] A_Drone: has joined #ruby
[04:05:17] balazs: has joined #ruby
[04:08:29] benlieb: has joined #ruby
[04:09:12] cschneid_: has joined #ruby
[04:11:38] duderonomy: has joined #ruby
[04:14:28] milardovich: has joined #ruby
[04:15:36] snickers: has joined #ruby
[04:15:49] raul782: has joined #ruby
[04:19:11] raul782: has joined #ruby
[04:21:23] eclecticjohny: has joined #ruby
[04:22:46] dionysus69: has joined #ruby
[04:23:50] jackjackdripper: has joined #ruby
[04:24:30] saslam: has joined #ruby
[04:26:20] kinda: has joined #ruby
[04:26:29] pawnbox: has joined #ruby
[04:29:12] roflmyeggo: has joined #ruby
[04:30:58] gix: has joined #ruby
[04:32:11] z3uS: has joined #ruby
[04:35:05] Cohedrin: has joined #ruby
[04:39:57] enterprisey: has joined #ruby
[04:41:30] _djbkd: has joined #ruby
[04:42:35] snickers: has joined #ruby
[04:42:49] astrobunny: has joined #ruby
[04:45:15] hahuang65: has joined #ruby
[04:47:28] howdoi: has joined #ruby
[04:51:19] bkxd: has joined #ruby
[04:51:55] bruce_lee: has joined #ruby
[04:51:56] bruce_lee: has joined #ruby
[04:54:20] patarr: has joined #ruby
[04:57:22] milardovich: has joined #ruby
[05:01:06] cfec0b8d1: has joined #ruby
[05:03:15] Kovensky: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[05:03:26] grant: has joined #ruby
[05:06:10] pawnbox: has joined #ruby
[05:07:16] cibs: has joined #ruby
[05:07:27] iewfkmfdgdfm: has joined #ruby
[05:09:39] snickers: has joined #ruby
[05:10:34] pawnbox: has joined #ruby
[05:12:52] uncertainty: has joined #ruby
[05:15:53] JoshS: has joined #ruby
[05:20:41] pawnbox: has joined #ruby
[05:25:03] iNs: has joined #ruby
[05:26:52] ruby-lang216: has joined #ruby
[05:30:24] ruby-lang099: has joined #ruby
[05:36:45] snickers: has joined #ruby
[05:41:56] renchan: has joined #ruby
[05:42:08] Rodya_: has joined #ruby
[05:45:58] hahuang65: has joined #ruby
[05:49:12] anisha: has joined #ruby
[05:49:38] lightheaded: has joined #ruby
[05:50:54] iNs: has joined #ruby
[05:53:51] silverdust: has joined #ruby
[05:54:50] morfin: has joined #ruby
[05:59:59] dionysus69: has joined #ruby
[06:00:44] pawnbox: has joined #ruby
[06:02:53] moei: has joined #ruby
[06:02:59] tAn: has joined #ruby
[06:03:28] MrJoshua: has joined #ruby
[06:04:00] snickers: has joined #ruby
[06:04:02] BabyMario: has joined #ruby
[06:30:57] snickers: has joined #ruby
[06:31:15] z3uS: has joined #ruby
[06:35:15] iNs: has joined #ruby
[06:36:12] pawnbox: has joined #ruby
[06:40:28] tAn: has joined #ruby
[06:43:18] maloik: has joined #ruby
[06:47:57] hahuang65: has joined #ruby
[06:50:44] bkxd: has joined #ruby
[06:53:04] last_staff: has joined #ruby
[06:54:25] jamesaxl: has joined #ruby
[06:55:13] patarr: has joined #ruby
[06:58:02] snickers: has joined #ruby
[07:01:17] AnoHito: has joined #ruby
[07:02:39] tAn: has joined #ruby
[07:04:26] pwnd_nsfw: has joined #ruby
[07:05:12] ericmathison: has joined #ruby
[07:05:29] raul782: has joined #ruby
[07:08:30] aupadhye: has joined #ruby
[07:08:53] muelleme: has joined #ruby
[07:10:58] esObe_: has joined #ruby
[07:11:47] dionysus69: has joined #ruby
[07:16:24] P1ro: has joined #ruby
[07:17:39] juggler: has joined #ruby
[07:22:22] andikr: has joined #ruby
[07:23:10] uncertainty: has joined #ruby
[07:25:17] snickers: has joined #ruby
[07:29:51] lightheaded: has joined #ruby
[07:30:03] benlieb: has joined #ruby
[07:32:56] neuraload: has joined #ruby
[07:32:56] hotpancakes: has joined #ruby
[07:32:57] xall: has joined #ruby
[07:42:06] DARPA: has joined #ruby
[07:42:32] pulkit4tech: has joined #ruby
[07:46:01] djbkd_: has joined #ruby
[07:48:40] hahuang65: has joined #ruby
[07:51:15] conta: has joined #ruby
[07:52:12] snickers: has joined #ruby
[07:53:36] mark_66: has joined #ruby
[07:53:36] esObe_: has joined #ruby
[07:56:49] tAn: has joined #ruby
[08:03:15] hotpancakes: has joined #ruby
[08:06:43] paradisaeidae: has joined #ruby
[08:06:46] paradisaeidae_: has joined #ruby
[08:07:06] djbkd_: has joined #ruby
[08:07:56] nadir: has joined #ruby
[08:08:05] tekniq: has joined #ruby
[08:08:28] spicerack: has joined #ruby
[08:08:50] nOwz: has joined #ruby
[08:09:58] aufi: has joined #ruby
[08:14:03] jackjackdripper: has joined #ruby
[08:14:12] snickers: has joined #ruby
[08:14:45] squ: has joined #ruby
[08:14:49] pawnbox: has joined #ruby
[08:15:26] aganov: has joined #ruby
[08:15:48] pawnbox: has joined #ruby
[08:16:36] pawnbox: has joined #ruby
[08:20:10] TomyWork: has joined #ruby
[08:25:24] snickers: has joined #ruby
[08:29:43] Silthias1: has joined #ruby
[08:31:56] lenwood: has joined #ruby
[08:39:53] pawnbox: has joined #ruby
[08:40:50] toretore: has joined #ruby
[08:42:54] nowhereman: has joined #ruby
[08:43:00] marcoecc: has joined #ruby
[08:43:31] teddysmoker: has joined #ruby
[08:44:53] cyphase: has joined #ruby
[08:46:30] flying: has joined #ruby
[08:49:31] hahuang65: has joined #ruby
[08:50:27] nowhereman: has joined #ruby
[08:50:36] bkxd: has joined #ruby
[08:51:37] xen0fon: has joined #ruby
[08:53:45] Emmanuel_Chanel: has joined #ruby
[08:56:05] patarr: has joined #ruby
[08:56:21] teclator: has joined #ruby
[09:01:19] dhollin3: has joined #ruby
[09:03:24] pawnbox: has joined #ruby
[09:04:10] blackmesa: has joined #ruby
[09:05:17] jshjsh: has joined #ruby
[09:07:53] tomphp: has joined #ruby
[09:10:45] jgnagy: has joined #ruby
[09:14:18] ferr1: has joined #ruby
[09:14:53] username1: has joined #ruby
[09:17:49] burgestrand: has joined #ruby
[09:20:04] MrBusiness: has joined #ruby
[09:20:13] ledestin: has joined #ruby
[09:22:44] MrBusiness: has joined #ruby
[09:24:58] M-manveru: has left #ruby: ("Kicked by @appservice-irc:matrix.org")
[09:26:45] lenwood: has joined #ruby
[09:28:04] kassav: has joined #ruby
[09:29:10] jsrn_: has joined #ruby
[09:31:35] pandaant: has joined #ruby
[09:34:44] CloCkWeRX: has joined #ruby
[09:35:06] jenrzzz: has joined #ruby
[09:35:12] workmad3: has joined #ruby
[09:35:36] Paraxial: has joined #ruby
[09:35:42] tomphp: has joined #ruby
[09:42:18] yottanami: has joined #ruby
[09:44:36] kassav_: has joined #ruby
[09:47:51] patarr: has joined #ruby
[09:48:06] marr: has joined #ruby
[09:48:24] lxsameer: has joined #ruby
[09:49:02] edliss: has joined #ruby
[09:50:35] hahuang65: has joined #ruby
[09:53:34] milardovich: has joined #ruby
[09:53:45] Terens: has joined #ruby
[09:54:43] Terens: how can I capture anything with regexp until a character or end of line
[09:56:16] last_staff1: has joined #ruby
[09:57:27] kpglvm: has joined #ruby
[09:57:30] Bish: how do i cleverly check if 2 dates are int he same motnH?
[09:58:32] Bish: >>t1=Time.now-rand(1..100000);t2 = Time.now;[t1.mon,t1.day] == [t2.mon,t2.day]
[09:58:33] ruby[bot]: Bish: # => false (https://eval.in/755092)
[09:58:47] Bish: >>t1=Time.now-rand(1..1);t2 = Time.now;[t1.mon,t1.day] == [t2.mon,t2.day]
[09:58:48] ruby[bot]: Bish: # => true (https://eval.in/755093)
[09:58:54] Bish: and by day i mean.. year
[09:59:08] herwin: t1.year == t2.year
[10:00:18] al2o3-cr: has joined #ruby
[10:00:20] Bish: and how do i get the time range from beginning of the month until end of the month?
[10:00:25] stamina: has joined #ruby
[10:01:21] tobiasvl: terens: if 'f' is the character, can't you just do /([^f]*)f|$/
[10:01:31] tobiasvl: or maybe some lookahead
[10:03:48] hotpancakes: has joined #ruby
[10:06:02] Terens: I am trying to capture this
[10:06:05] Terens: media: Ethernet autoselect (1000baseT full-duplex)
[10:06:08] Terens: this can be
[10:06:24] Terens: Ethernet autoselect
[10:06:44] Terens: Ethernet 1000baseT full-duplex
[10:07:16] Terens: media: Ethernet 1 or two words (1 or two words)
[10:07:26] Terens: and parentheses might be optional
[10:11:28] Jameser: has joined #ruby
[10:12:26] singalaut: has joined #ruby
[10:13:56] gndm: has joined #ruby
[10:14:36] gndm: has left #ruby: ()
[10:19:27] pwnd_nsfw`: has joined #ruby
[10:24:45] gndm: has joined #ruby
[10:26:25] whiteline: has joined #ruby
[10:28:33] gndoom: has joined #ruby
[10:30:30] milardovich: has joined #ruby
[10:38:20] Terens: I cant get local variables to work
[10:38:23] Terens: don;t know why
[10:38:31] Terens: exp = /media: \w+ (?<cur_media>[\w\-\/\+]+)\s?(?<cur_mediaopt>[\w\-\/\+]*)(?:\((?<active_media>[\w\-\/\+]+)\s?(?<active_mediaopt>[\w\-\/\+]*)\))?$/
[10:38:31] Terens: exp =~ raw_interface
[10:38:41] Terens: in rubular it is working
[10:41:38] charliesome: has joined #ruby
[10:46:51] anisha: has joined #ruby
[10:47:56] jshjsh: has joined #ruby
[10:51:16] hahuang65: has joined #ruby
[10:51:54] bkxd: has joined #ruby
[10:55:37] toretore: terens: gist your full code
[10:56:23] hotpancakes: has joined #ruby
[11:01:44] Terens: I found the reason
[11:01:49] Terens: it was not a literal
[11:02:04] jaruga________: has joined #ruby
[11:03:56] gypsydave5: has joined #ruby
[11:04:40] mrwn: has joined #ruby
[11:04:47] Jackneill: has joined #ruby
[11:05:33] ponga: has joined #ruby
[11:05:51] Fernando-Basso: has joined #ruby
[11:10:53] kassav_: has joined #ruby
[11:11:28] UserJosh: has joined #ruby
[11:11:32] biberu: has joined #ruby
[11:17:20] pawnbox: has joined #ruby
[11:22:59] xall: has joined #ruby
[11:31:33] edliss: has joined #ruby
[11:32:24] JeanCarloMachado: has joined #ruby
[11:32:36] nadir: has joined #ruby
[11:35:59] am55_: has joined #ruby
[11:40:03] d0nn1e: has joined #ruby
[11:41:01] stamina: has joined #ruby
[11:41:40] edliss: has joined #ruby
[11:42:28] xall: has joined #ruby
[11:43:24] hotpancakes: has joined #ruby
[11:49:58] uncertainty: has joined #ruby
[11:54:44] edliss: has joined #ruby
[11:54:55] armyriad: has joined #ruby
[11:55:55] tvw: has joined #ruby
[11:57:22] milardovich: has joined #ruby
[11:57:26] _joes__: has joined #ruby
[11:59:59] milardovich: has joined #ruby
[12:00:56] xall: has joined #ruby
[12:01:33] swills: has joined #ruby
[12:02:10] HoierM: has joined #ruby
[12:02:15] pawnbox: has joined #ruby
[12:02:45] bmurt: has joined #ruby
[12:03:41] fivmo: has joined #ruby
[12:05:26] bkxd: has joined #ruby
[12:06:17] esObe_: has joined #ruby
[12:07:01] esObe_: has joined #ruby
[12:07:29] pwnd_nsfw: has joined #ruby
[12:08:11] uncertainty: has joined #ruby
[12:08:21] milardovich: has joined #ruby
[12:12:07] Alina-malina: has joined #ruby
[12:14:16] Alina-malina: has joined #ruby
[12:14:19] username1: has joined #ruby
[12:14:50] sepp2k: has joined #ruby
[12:15:36] hahuang65: has joined #ruby
[12:17:12] Mortomes|Work: has joined #ruby
[12:20:34] edliss: has joined #ruby
[12:22:45] fivmo: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[12:23:10] pawnbox: has joined #ruby
[12:23:40] GinoManWorks: has joined #ruby
[12:24:02] jamesaxl: has joined #ruby
[12:27:33] lightheaded: has joined #ruby
[12:28:26] lightheaded: has joined #ruby
[12:28:45] edliss: has joined #ruby
[12:30:50] DaveTaboola: has joined #ruby
[12:33:00] hotpancakes: has joined #ruby
[12:33:02] chenzfroff: has joined #ruby
[12:34:31] nowhereman: has joined #ruby
[12:39:28] milardovich: has joined #ruby
[12:39:28] rfoust: has joined #ruby
[12:41:22] griffindy: has joined #ruby
[12:42:07] ddffg: has joined #ruby
[12:44:26] milardovich: has joined #ruby
[12:49:08] milardovich: has joined #ruby
[12:51:35] millerti: has joined #ruby
[12:54:43] milardovich: has joined #ruby
[12:56:25] gnufied: has joined #ruby
[12:57:17] pulkit4tech: has joined #ruby
[13:00:34] hotpancakes: has joined #ruby
[13:00:50] milardovich: has joined #ruby
[13:01:11] mula: has joined #ruby
[13:01:20] hs366: has joined #ruby
[13:01:53] tildes: has joined #ruby
[13:01:53] ramortegui: has joined #ruby
[13:02:46] yusrideb: has joined #ruby
[13:03:40] lightheaded: has joined #ruby
[13:05:41] cdg: has joined #ruby
[13:05:58] HoierM_: has joined #ruby
[13:06:51] uncertainty: has joined #ruby
[13:07:10] milardovich: has joined #ruby
[13:07:19] hotpancakes: has joined #ruby
[13:08:51] chenzfroff: has left #ruby: ()
[13:09:21] senayar: has joined #ruby
[13:10:35] milardovich: has joined #ruby
[13:11:59] millerti: has joined #ruby
[13:12:27] jgnagy: has joined #ruby
[13:13:16] raul782: has joined #ruby
[13:13:37] totimkopf: has joined #ruby
[13:13:47] milardovich: has joined #ruby
[13:15:50] am55_: has joined #ruby
[13:16:00] Vingador: has joined #ruby
[13:16:30] bauruine: has joined #ruby
[13:18:14] chenzfroff: has joined #ruby
[13:19:23] milardovich: has joined #ruby
[13:21:11] tyang: has joined #ruby
[13:21:15] Coldblackice: has joined #ruby
[13:21:21] bauruine: has joined #ruby
[13:21:25] __Yiota: has joined #ruby
[13:21:50] ishigoya: has joined #ruby
[13:21:53] swills: has joined #ruby
[13:23:58] rgr: has joined #ruby
[13:26:29] __Yiota: has joined #ruby
[13:27:32] Stan: has joined #ruby
[13:27:44] lightheaded: has joined #ruby
[13:28:43] raul782: has joined #ruby
[13:29:02] hotpancakes: has joined #ruby
[13:31:12] br0d1n: has joined #ruby
[13:33:05] newalexandria: has joined #ruby
[13:34:39] hutch34: has joined #ruby
[13:36:50] agent_white: has joined #ruby
[13:37:40] baked__beans: has joined #ruby
[13:38:31] DLSteve: has joined #ruby
[13:44:33] yeticry: has joined #ruby
[13:44:35] milardovich: has joined #ruby
[13:44:57] tomphp: has joined #ruby
[13:45:41] mikecmpbll: has joined #ruby
[13:45:47] uncertainty: has joined #ruby
[13:47:48] milardovich: has joined #ruby
[13:49:18] raul782: has joined #ruby
[13:49:49] burgestrand: has joined #ruby
[13:50:01] davic: has joined #ruby
[13:50:59] milardovich: has joined #ruby
[13:51:03] burgestrand: has joined #ruby
[13:51:47] agent_white: Mornin' folks
[13:52:16] burgestrand: has joined #ruby
[13:54:13] milardovich: has joined #ruby
[13:54:43] milardovich: has joined #ruby
[13:56:24] hotpancakes: has joined #ruby
[13:58:37] jackjackdripper: has joined #ruby
[13:58:53] milardovich: has joined #ruby
[13:59:10] jackjackdripper: has joined #ruby
[13:59:51] spicerack: has joined #ruby
[13:59:59] Lord_of_Life: has joined #ruby
[14:01:50] Burgestr_: has joined #ruby
[14:05:11] raul782: has joined #ruby
[14:06:05] am55_: has joined #ruby
[14:06:14] mzo: has joined #ruby
[14:11:28] czeq: has joined #ruby
[14:12:13] cschneid_: has joined #ruby
[14:12:45] __Yiota: has joined #ruby
[14:13:10] raul782: has joined #ruby
[14:15:51] aufi: has joined #ruby
[14:16:21] hahuang65: has joined #ruby
[14:17:29] def_jam: has joined #ruby
[14:17:56] raul782: has joined #ruby
[14:18:32] eb0t_: has joined #ruby
[14:19:48] patarr: has joined #ruby
[14:20:42] mikecmpbll: has joined #ruby
[14:21:38] brent__: has joined #ruby
[14:23:06] am55_: has joined #ruby
[14:26:47] nicoulaj: has joined #ruby
[14:27:01] preyalone: has joined #ruby
[14:28:20] blackmesa: has joined #ruby
[14:28:56] Voker57|2: has joined #ruby
[14:30:03] am55_: has joined #ruby
[14:30:23] Evesy: Hey, is anyone able to help with a gem versioning conflict error? http://pastebin.com/wFBZQu2M .... I can't remove json-1.8.2 as there are other gems that depend on it (Although removing it does fix this error) and there is no Gemfile.lock that's pinned any versions (Gems are installed from rubygems.org)
[14:30:25] ruby[bot]: Evesy: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/f07b2227171730dd20b415e9e2a612c4
[14:30:25] ruby[bot]: Evesy: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[14:30:40] chouhoulis: has joined #ruby
[14:32:02] Qchmqs: has joined #ruby
[14:34:12] bmurt: has joined #ruby
[14:36:28] cdg: has joined #ruby
[14:36:38] hotpancakes: has joined #ruby
[14:37:15] am55_: has joined #ruby
[14:39:12] erctng: has joined #ruby
[14:39:14] jsrn__: has joined #ruby
[14:39:20] norbertka: has joined #ruby
[14:41:06] MrBloo: has joined #ruby
[14:41:11] HoierM: has joined #ruby
[14:41:40] cfec0b8d: has joined #ruby
[14:42:08] LambdaSix: has joined #ruby
[14:42:16] am55_: has joined #ruby
[14:42:43] bigkevmcd: has joined #ruby
[14:44:29] cajone: has joined #ruby
[14:44:35] workmad3: has joined #ruby
[14:45:04] lenwood: has joined #ruby
[14:45:48] raspado: has joined #ruby
[14:48:33] cschneid_: has joined #ruby
[14:49:22] cdg_: has joined #ruby
[14:53:19] am55_: has joined #ruby
[14:53:47] invalidusrname: has joined #ruby
[14:57:17] neuraload: has joined #ruby
[14:57:19] elaptics: has joined #ruby
[14:58:36] tolerablyjake: has joined #ruby
[14:59:51] rippa: has joined #ruby
[14:59:58] milardovich: has joined #ruby
[15:01:24] polishdub: has joined #ruby
[15:02:45] uncertainty: has joined #ruby
[15:04:04] lightheaded: has joined #ruby
[15:05:05] lacuna: has joined #ruby
[15:05:31] czeq: has joined #ruby
[15:08:12] nofxx: has joined #ruby
[15:13:21] hotpancakes: has joined #ruby
[15:13:29] zacts: when should I use Enumerator and when should I use Enumerable?
[15:16:16] havenwood: zacts: You're already using Enumerable when you use one of the stdlib core classes that mixes it in, like Array, Hash, Range, Struct, and even Enumerator.
[15:16:37] havenwood: zacts: If you have your own class where you define #each, you can mixin Enumerable yourself.
[15:16:48] Bish: has joined #ruby
[15:16:50] havenwood: zacts: Some Enumerable methods actually return an Enumerator.
[15:17:00] pawnbox: has joined #ruby
[15:17:01] zacts: when should I make my class a subclass of Enumerator? What is the point of Enumerator?
[15:17:09] hahuang65: has joined #ruby
[15:17:14] havenwood: zacts: You can create your own Enumerators, it's fun.
[15:17:14] zacts: so I take it most of the time I should just mixin Enumerable
[15:18:22] havenwood: zacts: Not necessarily, they're just very different things.
[15:19:38] zacts: havenwood: so this is where I don't understand what the difference is, other than that one is a class and the other a module
[15:19:40] xall: has joined #ruby
[15:20:03] havenwood: zacts: You'll mostly use classes that already mixin Enumerable, so learning the Enumerable methods is important and useful. Then creating your own Enumerators can be quite useful as well sometimes. Then rarely when you create your own class that you mean to iterate over, you can mixin Enumerable yourself.
[15:20:04] zacts: like what kinds of things should one be used for, and what kinds of things should the other be used for?
[15:20:22] nettoweb: has joined #ruby
[15:21:07] pawnbox: has joined #ruby
[15:21:41] havenwood: zacts: Here are a few Elixir Stream functions implemented as Enumerators in Ruby, for fun: https://github.com/havenwood/elixir.rb/blob/master/lib/elixir/stream.rb#L11-L51
[15:22:07] aufi: has joined #ruby
[15:22:29] havenwood: zacts: I think you should learn to make your own Enumerators and then how they fall in place will make more sense.
[15:22:52] havenwood: zacts: They're nifty.
[15:22:53] zacts: that's actually a pretty snazzy project
[15:22:58] zacts: elixir.rb
[15:23:03] zacts: ok, I'll start with that
[15:26:58] neuraload: has joined #ruby
[15:27:03] zacts: havenwood: do you use elixir.rb in production code?
[15:27:13] havenwood: zacts: noooope!
[15:27:22] havenwood: zacts: just for fun
[15:30:15] antoniobeyah: has joined #ruby
[15:32:05] benlieb: has joined #ruby
[15:32:21] rahul_bajaj: has joined #ruby
[15:32:28] workmad3: has joined #ruby
[15:32:30] bigkevmcd: has joined #ruby
[15:32:55] esObe_: has joined #ruby
[15:33:25] Bish: has joined #ruby
[15:34:08] ferr1: Is there any way I could define a method for an OpenStruct object?
[15:34:36] hxegon: ferr1: yeah, give me 2 seconds
[15:34:41] faces: has joined #ruby
[15:35:33] RenatoSilva: has joined #ruby
[15:35:42] brent__: has joined #ruby
[15:35:52] DARPA: has joined #ruby
[15:36:57] brent__: has joined #ruby
[15:37:27] soahccc^: ferr1: you _can_ define methods on any instance but if it's good practice I doubt it :)
[15:37:47] hotpancakes: has joined #ruby
[15:38:22] raul782: has joined #ruby
[15:38:25] ozcanesen: has joined #ruby
[15:39:37] hxegon: >> foo = OpenStruct.new(greet: "bark"); def foo.hello; "it says #{greet}"; end; foo.hello
[15:39:42] ruby[bot]: hxegon: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
[15:39:59] pawnbox: has joined #ruby
[15:40:58] pytuger: has joined #ruby
[15:41:02] allisio: soahccc_: "any instance"?
[15:41:38] rbajaj__: has joined #ruby
[15:41:42] hxegon: hmm... that works in pry
[15:41:47] soahccc^: allisio: as hxegon showed..
[15:42:21] soahccc^: you can do this with any instance of an object without altering other or new instances
[15:42:25] hxegon: not that you should do that tho, as soahccc_ said. Have you looked at using Struct?
[15:42:42] allisio: soahccc_: Not all, thus my question.
[15:43:01] ferr1: Yea, I have, but I got my attributes as a hash
[15:43:01] dopamean_: has joined #ruby
[15:43:14] username1: has joined #ruby
[15:43:18] Kuukunen: has joined #ruby
[15:43:50] elomatreb: has joined #ruby
[15:44:48] amclain: has joined #ruby
[15:45:47] KrzaQ: has joined #ruby
[15:45:50] anisha: has joined #ruby
[15:46:13] harfangk: has joined #ruby
[15:47:58] xall: has joined #ruby
[15:48:52] raul782: has joined #ruby
[15:49:43] esObe_: has joined #ruby
[15:50:02] pawnbox: has joined #ruby
[15:52:14] hxegon: ferr1: is your application even a little performance sensitive?
[15:52:46] hxegon: actually scratch that I have outdated info
[15:52:54] ben225: has joined #ruby
[15:54:37] balazs: has joined #ruby
[15:55:31] Tau: has joined #ruby
[15:55:45] jamesaxl: has joined #ruby
[15:56:19] parus: has joined #ruby
[15:57:40] nOwz: has joined #ruby
[15:58:08] ferr1: hxegon: thanks for your help, I've resolved it with Struct
[15:58:42] BackEndCoder: has joined #ruby
[15:59:36] jackjackdripper: has joined #ruby
[15:59:49] lacuna: has joined #ruby
[16:00:24] DoubleMalt: has joined #ruby
[16:00:27] _aeris_: has joined #ruby
[16:01:16] troulouliou_div2: has joined #ruby
[16:01:25] jackjackdripper: has joined #ruby
[16:01:29] parus: has joined #ruby
[16:01:31] chouhoulis: has joined #ruby
[16:02:37] pulkit4tech: has joined #ruby
[16:04:52] biox: has left #ruby: ("WeeChat 1.5")
[16:05:09] anisha: has joined #ruby
[16:08:50] raul782: has joined #ruby
[16:09:01] uncertainty: has joined #ruby
[16:09:29] irc3k: has joined #ruby
[16:09:39] irc3k: I identify as a stick
[16:10:05] _aeris_: has joined #ruby
[16:10:54] chihhsin: has joined #ruby
[16:11:04] vuoto: has joined #ruby
[16:11:31] Zort0n: has joined #ruby
[16:11:33] SuperLag: has joined #ruby
[16:11:58] [Butch]: has joined #ruby
[16:16:23] JoshS: has joined #ruby
[16:16:44] habitullence: has joined #ruby
[16:17:42] hotpancakes: has joined #ruby
[16:17:52] habitullence: Probably a newbie question but how would you do an OR but test all conditions? e.g., cond1 || cond2 but I want cond2 to be run regardless of result of cond1
[16:17:58] hahuang65: has joined #ruby
[16:19:48] hxegon: hmm... can you gist? there's probably a way to do this, but It sounds like their is an underlying problem habitullence
[16:21:07] hotpancakes: has joined #ruby
[16:21:08] ruby[bot]: it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
[16:22:14] hxegon: baweaver: is there a table of those somewhere?
[16:22:19] cdg: has joined #ruby
[16:22:31] dminuoso: hahuang65: execute them, store their results and then do the condition based on the results.
[16:22:37] baweaver: trade secret
[16:22:42] ruby[bot]: baweaver: I don't know anything about table
[16:23:01] cibs: has joined #ruby
[16:23:09] baweaver: ( havenwood: you have the magic list somewhere right? )
[16:23:09] ferr1: Any suggestions how to refactor this? https://gist.github.com/Fercell/4029f41c0533fbcb0a46477ff479bc1e does it follow OOP patterns?
[16:23:10] dminuoso: ruby[bot] doesn't know an awful lot. does it...
[16:23:14] habitullence: hxegon: https://gist.github.com/habitullence/fcb822c72caeef738e7ac04335c43e06
[16:23:16] hxegon: ?anything
[16:23:16] ruby[bot]: hxegon: I don't know anything about anything
[16:23:52] dminuoso: ferr1: coroutines.
[16:24:02] mzo: u should copy the xy factoid from ##c
[16:24:05] mzo: "The XY problem: You want to do X, but don't know how. You think you can solve it using Y, but don't know how to do that, either. You ask about Y, which is a strange thing to want to do. Just ask about X."
[16:24:11] dminuoso: ferr1: sprinkle some fibers in there to make those http calls async.
[16:24:17] dminuoso: ferr1: now that would be some fancy shit.
[16:24:53] hxegon: habitullence: I'm guessing you're talking about #invalid?
[16:24:59] baweaver: ferr1: Just make location a class.
[16:25:15] habitullence: hxegon: mais qui
[16:25:16] dminuoso: with fibers!
[16:25:17] baweaver: select.first is basically find
[16:25:22] dminuoso: never not use Fiber.
[16:25:25] TomyLobo2: has joined #ruby
[16:25:40] baweaver: you create a lot of locations and do nothing with them
[16:25:50] baweaver: &ri Enumberable#map
[16:25:50] `derpy: No results
[16:25:58] `derpy: http://ruby-doc.org/core-2.4.0/Fiber.html
[16:26:01] baweaver: &ri Enumerable#map
[16:26:01] `derpy: http://ruby-doc.org/core-2.4.0/Enumerable.html#method-i-map
[16:26:25] baweaver: use that instead of each/<<
[16:27:00] hxegon: habitullence: I don't think line 27 should be in #invalid_credentials? or invalid?
[16:27:23] renatosilva1: has joined #ruby
[16:27:33] RenatoSilva: has joined #ruby
[16:27:58] habitullence: hxegon: how come?
[16:28:14] aibot: has joined #ruby
[16:28:18] hxegon: habitullence: because those methods are questions, and you don't expect a question to prompt an action. Does that make sense?
[16:28:19] baweaver: invert those
[16:28:27] baweaver: valid? is better than invalid?
[16:28:54] baweaver: put it in a line of conditionals with positive leaning assertions
[16:29:03] habitullence: hxegon: it does
[16:29:27] habitullence: hxegon: maybe refactoring will reveal the solution then
[16:29:44] hxegon: habitullence: here's a trick I learned somewhere, when you describe #invalid_credentials?, you might say "it says if the credentials are valid or not *and* it adds an error"
[16:29:54] SirCmpwn: has joined #ruby
[16:30:00] swills: has joined #ruby
[16:30:23] matthewd: https://en.wikipedia.org/wiki/Command%E2%80%93query_separation
[16:30:39] hxegon: the *and* there is kind of a giveaway that the function doesn't have just one responsibility, and so it violates https://en.wikipedia.org/wiki/Single_responsibility_principle
[16:31:42] marxarelli: has joined #ruby
[16:31:58] irick: has joined #ruby
[16:33:03] euphoriaa: has joined #ruby
[16:33:10] hxegon: habitullence: So the solution, or the start of it at least, is something like this: https://gist.github.com/hxegon/2a613ce0838143d41fbea2ee51125991
[16:33:37] gnarf: has joined #ruby
[16:34:06] instigator: has joined #ruby
[16:34:06] hxegon: although I think that line should be extracted into something like #invalidate_credentials or something
[16:34:08] gusrub: has joined #ruby
[16:34:09] instigator: has left #ruby: ()
[16:34:26] instigator: has joined #ruby
[16:35:12] habitullence: hexgon: I see where you’re going with it, thanks. I’ll role out another solution. Hopefully you’re around in a few mins?
[16:35:29] hxegon: habitullence: yeah, I'll be here for a good while
[16:35:56] instigator: Hello. is there a command line debugger available for ruby that lets you add statements to code in order to set breakpoints?
[16:36:27] hahuang65: has joined #ruby
[16:36:52] Zort0n: has joined #ruby
[16:37:03] hotpancakes: has joined #ruby
[16:37:15] linux13337: has joined #ruby
[16:37:27] edliss: has joined #ruby
[16:37:36] sleetdrop: has joined #ruby
[16:38:01] instigator: baweaver: thanks
[16:39:52] irc3k: if you're still using windows in 2017, I urge you to get linux. A good start is debian.com or ubuntu.com
[16:40:23] baweaver: and this is in relation to.....
[16:41:28] hxegon: A) kind of redundant saying that in #ruby, B) offtopic C) a pretty simplistic viewpoint... especially in 2017. Nadella is actually turning microsoft around I feel. D) Windows comes with linux now
[16:42:13] morfin: that's common Ruby ideom - class << self right?
[16:43:30] dminuoso: morfin: It depends.
[16:43:40] dminuoso: morfin: If you truly mean to open the singleton class, then yes.
[16:43:48] morfin: is there any practical difference from using define_singletone_method?
[16:43:55] dminuoso: morfin: If you just want to define "class methods", then its more idiomatic to defself.foo
[16:44:14] morfin: hmm def self.foo i saw that too
[16:44:17] hxegon: morfin: yeah but I can't remember what
[16:44:20] dminuoso: morfin: I would say that is the most elegant option.
[16:44:30] Burgestr_: morfin there are different scoping rules when you use define_singleton_method
[16:44:45] hxegon: usually I just stick with class << self and def self.x
[16:45:00] Burgestr_: morfin since it takes a block
[16:45:26] dminuoso: Burgestr_: Im trying to think how this would affect anything
[16:45:32] dminuoso: Burgestr_: Could you name an example?
[16:45:32] hxegon: also I think define_singleton_method has some different access/inheritence rules
[16:45:42] toretore: morfin: define_singleton_method will create a closure, which is sometimes useful
[16:45:47] Burgestr_: dminuoso e.g. if you have a local variable outside when you define your singleton method.
[16:45:53] dminuoso: Burgestr_: right.
[16:48:12] BackEndCoder: has joined #ruby
[16:48:37] pilne: has joined #ruby
[16:52:10] cdg_: has joined #ruby
[16:55:42] Suslov: has joined #ruby
[16:58:40] lightheaded: has joined #ruby
[17:00:26] gusrub: has joined #ruby
[17:02:27] _aeris_: has joined #ruby
[17:03:28] ldnunes: has joined #ruby
[17:04:17] cibs: has joined #ruby
[17:04:57] hxegon: has joined #ruby
[17:07:23] ColeHub: has joined #ruby
[17:07:31] BSaboia: has joined #ruby
[17:07:34] ChickeNES: has joined #ruby
[17:08:49] instigator: has left #ruby: ()
[17:08:57] xall: has joined #ruby
[17:10:53] nOwz: has joined #ruby
[17:11:24] Derperperd: has joined #ruby
[17:12:45] zacts: has joined #ruby
[17:13:26] __Yiota: has joined #ruby
[17:14:00] pawnbox_: has joined #ruby
[17:14:03] jgnagy: has joined #ruby
[17:19:01] jshjsh: has joined #ruby
[17:21:17] UserJosh: has joined #ruby
[17:22:50] jackjackdripper: has joined #ruby
[17:22:55] jackjackdripper1: has joined #ruby
[17:22:58] roadrunneratwast: has joined #ruby
[17:23:56] roadrunneratwast: I am having trouble installing rainbow on a docker build .An error occurred while installing rainbow (2.2.1), and Bundler cannot continue.
[17:24:43] baweaver: You're going to have to give more detail than that
[17:24:49] ruby[bot]: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[17:24:52] roadrunneratwast: http://vpaste.net/CrEa5
[17:25:21] Cohedrin: has joined #ruby
[17:26:26] jackjackdripper: has joined #ruby
[17:26:41] roadrunneratwast: baweaver any ideas?
[17:26:50] baweaver: https://github.com/sickill/rainbow/issues/44
[17:26:57] baweaver: looks like some odd crap in rainbow
[17:27:16] baweaver: they have some fixes listed it looks like
[17:27:23] duderonomy: has joined #ruby
[17:28:20] cdg: has joined #ruby
[17:28:26] jamesaxl: has joined #ruby
[17:29:04] enterprisey: has joined #ruby
[17:29:10] sentriz: has left #ruby: ("parting")
[17:32:39] esObe_: has joined #ruby
[17:33:42] esObe_: has joined #ruby
[17:34:41] hotpancakes: has joined #ruby
[17:34:51] nofxx: has joined #ruby
[17:34:53] milardovich: has joined #ruby
[17:35:30] guacamole: has joined #ruby
[17:35:51] gusrub: has joined #ruby
[17:36:10] teclator: has joined #ruby
[17:38:42] kitikonti: has joined #ruby
[17:39:07] gusrub: has joined #ruby
[17:45:04] Suslov: has joined #ruby
[17:45:15] edliss: has joined #ruby
[17:45:39] elifoster: has joined #ruby
[17:45:44] tristanp: has joined #ruby
[17:46:49] mula: has joined #ruby
[17:47:39] mula: has joined #ruby
[17:47:53] blackmesa: has joined #ruby
[17:48:29] mula: has joined #ruby
[17:48:35] __Yiota: has joined #ruby
[17:49:14] mula: has joined #ruby
[17:50:04] mula: has joined #ruby
[17:50:49] mula: has joined #ruby
[17:51:39] mula: has joined #ruby
[17:52:27] mula: has joined #ruby
[17:52:55] esObe_: has joined #ruby
[17:53:15] mula: has joined #ruby
[17:53:23] Suslov: has joined #ruby
[17:53:54] Suslo: has joined #ruby
[17:59:34] esObe_: has joined #ruby
[17:59:55] gusrub: has joined #ruby
[18:03:06] __Yiota: has joined #ruby
[18:03:34] hahuang65: has joined #ruby
[18:04:30] dionysus69: has joined #ruby
[18:08:31] electrostat: has joined #ruby
[18:08:46] mula: has joined #ruby
[18:09:17] xall: has joined #ruby
[18:11:04] hahuang61: has joined #ruby
[18:13:38] nowhere_man: has joined #ruby
[18:16:03] spicerack: has joined #ruby
[18:23:38] djbkd: has joined #ruby
[18:23:49] juggler: has joined #ruby
[18:26:33] yehowyada: has joined #ruby
[18:26:52] raul782: has joined #ruby
[18:29:09] mzo: has joined #ruby
[18:31:01] roadrunneratwast: has joined #ruby
[18:31:25] edliss: has joined #ruby
[18:32:22] cibs: has joined #ruby
[18:33:15] blackwind_123: has joined #ruby
[18:38:28] hotpancakes: has joined #ruby
[18:40:13] roadrunneratwast: has left #ruby: ()
[18:46:46] ramfjord: has joined #ruby
[18:48:34] electrostat: has joined #ruby
[18:48:59] Lord_of_Life: has joined #ruby
[18:48:59] [Butch]_: has joined #ruby
[18:49:48] Garo_: if I have these files in a directory tree: /settings.rb, /sub-a/settings.rb and /sub-b/settings.rb: what would be a nice way to define a hash in each of these so that the sub-a and sub-b would require the /settings.rb and result with a deep merged hash?
[18:51:48] bruce_lee: has joined #ruby
[18:55:29] psychicist__: has joined #ruby
[18:56:33] renchan: has joined #ruby
[18:59:38] mula: has joined #ruby
[19:00:31] blackmesa: has joined #ruby
[19:00:49] nofxx: has joined #ruby
[19:02:04] hotpanca_: has joined #ruby
[19:06:23] uncertainty: has joined #ruby
[19:11:56] djbkd: has joined #ruby
[19:13:17] Suslov: has joined #ruby
[19:14:20] olivier__: has joined #ruby
[19:15:50] olivier__: looking for experienced ruby people to tell me if they were starting today to support a server that runs ruby code if they would use rvm, rbenv or chruby?
[19:16:18] dminuoso: olivi____: neither.
[19:16:35] blackmes1: has joined #ruby
[19:16:35] olivier__: hm did not expect that...
[19:16:43] dminuoso: olivi____: Is the server for deployment?
[19:16:54] dminuoso: Is it necessary to deploy multiple different projects/applications?
[19:17:07] akkad: has joined #ruby
[19:17:07] Suslo: has joined #ruby
[19:17:08] nofxx: olivi____, +1 system ruby!
[19:17:36] Suslov_: has joined #ruby
[19:17:36] dminuoso: ^- For deployment absolutely. Next choice would be dockerized with a custom build (ruby-install is the likely candidate here)
[19:17:53] Cyrus: JRuby! :P
[19:17:56] olivier__: yes just plain ruby code but did with rbenv and got issue with asws-sdk-core version so need to manage diff version of ruby on same server it seems
[19:17:58] hotpancakes: has joined #ruby
[19:18:14] dminuoso: olivi____: chruby/rbenv/rvm are just local tools to enable developers to touch various projects.
[19:18:18] havenwood: olivi____: If I had to choose between those options on a server I'd go with chruby since it's the closest to none of those options.
[19:18:23] dminuoso: to allow them to have multiple *concurrent* versions
[19:18:24] tvw: has joined #ruby
[19:18:50] dminuoso: chruby would be my 3) after the 2 choices I named. :P
[19:19:07] dminuoso: (which I would pick if I needed multiple concurrent ruby installations on a server for whatever reason)
[19:19:36] olivier__: so chruby is what you would do if starting from scratch....
[19:19:47] olivier__: and know nothing about ruby
[19:19:52] havenwood: olivi____: chruby is a tool for switching between Rubies
[19:20:08] havenwood: olivi____: when you only have one Ruby, there's nothing to switch between
[19:20:28] olivier__: ok cause I had installed ruby and then used AWS code deploy and had a version issue
[19:20:31] dminuoso: ^- which is why I asked whether you have the need to run multiple rubies concurrently.
[19:20:38] dminuoso: olivi____: well thats a deployment issue, not a ruby switching issue.
[19:21:05] dminuoso: chruby is for the use case of "I need jruby 9.xxx for this server, while another api server needs ruby 2.3.1"
[19:21:30] olivier__: yeah so I need to manage deployments.
[19:21:37] havenwood: olivi____: The maintainers of most of those version switchers recommend not using them when not needed on a deployment server for simplicity's sake.
[19:21:47] dminuoso: olivi____: Here we started using docker in order to get highly predictable behavior.
[19:22:00] droidburgundy: has joined #ruby
[19:22:04] havenwood: olivi____: What OS/distro?
[19:22:13] dminuoso: olivi____: Our production differs 0 from our a) development, b) testing, c) staging environment in all respects.
[19:22:13] olivier__: yeah I Heard about docker as an option. ubuntu 14.04
[19:22:54] dminuoso: that way any issues are not related to "here it works, but there it doesnt"
[19:22:55] olivier__: I am used to having diff. oracle binaries or java binaries etc.. but never did it with ruby and it seems diff. than setting RUBY_HOME and set path and done
[19:23:00] havenwood: olivi____: Brightbox maintains up-to-date Ruby packages for Ubuntu: https://www.brightbox.com/docs/ruby/ubuntu/
[19:24:47] olivier__: I think I have enough to get started. Not sure I want docker quite yet cause really the server only has one set of code and that is it. but maybe it is time to deal with containers but that is a diff topic
[19:25:12] havenwood: olivi____: With Ruby you add its bin/ and gem bin/ dir to PATH, set GEM_HOME, GEM_PATH, and there are a few others for niceties like RUBY_ROOT and GEM_ROOT that chruby sets as well.
[19:26:08] UserJosh: has joined #ruby
[19:26:09] havenwood: olivi____: If the Brightbox packages don't suit your needs you can install globally with ruby-install: sudo ruby-install --latest --system ruby
[19:26:25] olivier__: yeah install was simple
[19:26:25] havenwood: olivi____: That'll install your one Ruby to /usr/local
[19:28:16] hotpancakes: has joined #ruby
[19:33:48] jud^: has joined #ruby
[19:34:00] Fin1te: has joined #ruby
[19:34:58] reihar_: has joined #ruby
[19:37:24] Fischmiep: has joined #ruby
[19:41:54] olivier__: has joined #ruby
[19:44:01] milardovich: has joined #ruby
[19:44:30] psychicist__: has joined #ruby
[19:44:44] olivier__: has joined #ruby
[19:46:10] Fischmiep: has joined #ruby
[19:47:13] dennisz: has joined #ruby
[19:48:12] hotpancakes: has joined #ruby
[19:48:27] gloscombe_: has joined #ruby
[19:51:45] tdy: has joined #ruby
[19:51:59] hotpanca_: has joined #ruby
[19:53:48] ColeHub: has joined #ruby
[19:56:48] Alina-malina: has joined #ruby
[19:56:48] elifoster: has joined #ruby
[19:56:57] Cohedrin_: has joined #ruby
[19:57:18] username1: has joined #ruby
[19:57:44] habitullence_: has joined #ruby
[19:59:01] hahuang65: has joined #ruby
[20:00:40] patarr1: has joined #ruby
[20:03:05] Fischmiep: has joined #ruby
[20:04:10] agent_white: has joined #ruby
[20:04:56] jud: has joined #ruby
[20:07:53] MasterNayru: has joined #ruby
[20:09:34] Alina-malina: has joined #ruby
[20:10:22] psychicist__: has joined #ruby
[20:11:49] Sembei: has joined #ruby
[20:13:58] mzo: has joined #ruby
[20:14:24] skweek: has joined #ruby
[20:15:05] szulak: has joined #ruby
[20:15:33] kirun: has joined #ruby
[20:16:14] adam12: I'm not sure who wrote the Ruby Central press release - but thanks. It was well written.
[20:17:55] nOwz: has joined #ruby
[20:17:56] cdg: has joined #ruby
[20:23:41] JohnDoe2: has joined #ruby
[20:29:14] BSAlb: has joined #ruby
[20:31:06] olivier__: has joined #ruby
[20:31:16] ramfjord_: has joined #ruby
[20:31:54] hotpancakes: has joined #ruby
[20:32:49] Derperperd: has joined #ruby
[20:34:19] vuoto: has joined #ruby
[20:35:26] lightheaded: has joined #ruby
[20:35:56] gloscombe_: has joined #ruby
[20:38:06] cibs: has joined #ruby
[20:41:34] mistym: has joined #ruby
[20:41:34] mistym: has joined #ruby
[20:41:40] kshitij: has joined #ruby
[20:42:21] Fischmiep: has joined #ruby
[20:44:04] saneax-_-|AFK: has joined #ruby
[20:45:05] milardovich: has joined #ruby
[20:46:31] mula: has joined #ruby
[20:47:46] tenderlove: has joined #ruby
[20:51:46] hotpancakes: has joined #ruby
[20:55:08] tAn: has joined #ruby
[20:59:11] enterprisey: has joined #ruby
[21:00:07] cibs: has joined #ruby
[21:00:28] patarr: has joined #ruby
[21:01:01] gusrub: has joined #ruby
[21:01:06] Emmanuel_Chanel: has joined #ruby
[21:06:52] jenrzzz: has joined #ruby
[21:07:21] chouhoul_: has joined #ruby
[21:09:15] jackjackdripper: has joined #ruby
[21:09:47] JoshS: has joined #ruby
[21:10:54] gloscombe_: has joined #ruby
[21:12:38] bocaneri: has joined #ruby
[21:13:17] bocaneri: has joined #ruby
[21:15:33] jgnagy: has joined #ruby
[21:16:22] raul782: has joined #ruby
[21:17:09] workmad3: has joined #ruby
[21:21:46] mula: has joined #ruby
[21:22:26] bocaneri: has joined #ruby
[21:23:22] zapata: has joined #ruby
[21:23:38] nofxx: has joined #ruby
[21:28:15] raul782: has joined #ruby
[21:33:29] raul782: has joined #ruby
[21:35:55] enterprisey: has joined #ruby
[21:39:11] bryanthompson: has joined #ruby
[21:39:54] burgestrand: has joined #ruby
[21:42:27] bryanthompson: has joined #ruby
[21:43:53] hotpanca_: has joined #ruby
[21:47:14] shadowshell: has joined #ruby
[21:50:16] raul782: has joined #ruby
[21:51:26] cout: ACTION shakes his fist at zenspider
[21:52:15] djbkd: has joined #ruby
[21:52:29] Lord_of_Life: has joined #ruby
[21:55:11] raul782: has joined #ruby
[21:59:17] patientj: has left #ruby: ()
[21:59:25] hotpancakes: has joined #ruby
[21:59:55] gusrub: has joined #ruby
[22:00:16] JoshS: has joined #ruby
[22:02:50] _whitelogger: has joined #ruby
[22:04:10] rikkipitt: has joined #ruby
[22:05:13] cdg: has joined #ruby
[22:05:23] SeepingN: has joined #ruby
[22:06:22] mula: has joined #ruby
[22:07:07] hotpancakes: has joined #ruby
[22:07:32] olivier__: has joined #ruby
[22:08:34] cseder: has joined #ruby
[22:09:34] jackjackdripper: has joined #ruby
[22:10:41] mula: has joined #ruby
[22:11:59] Silthias: has joined #ruby
[22:18:39] djbkd: has joined #ruby
[22:18:53] burgestrand: has joined #ruby
[22:19:04] milardovich: has joined #ruby
[22:20:20] Derperperd: has joined #ruby
[22:21:00] maattdd: has joined #ruby
[22:22:30] ajsharma: has joined #ruby
[22:24:41] pawnbox: has joined #ruby
[22:24:48] rizonz: has joined #ruby
[22:25:05] djbkd: has joined #ruby
[22:26:28] edliss: has joined #ruby
[22:27:01] rizonz: is there a way to change this so pxe_kernel_options is usable itself and if blacklist is set that the modeprob.blacklist= past is used ? http://pastebin.com/8HXV76zi
[22:27:01] ruby[bot]: rizonz: as I told you already, please use https://gist.github.com
[22:27:15] djbkd: has joined #ruby
[22:27:46] rizonz: ruby[bot]: no you didn't you uninformed bot :P
[22:29:39] allisio: rizonz: You smoked out a bug!
[22:30:41] mzo: i hope u guys are doing well today [:
[22:30:49] mzo: u folks i mean
[22:31:07] BabyMario: has joined #ruby
[22:31:27] allisio: rizonz: It looks like it's doing what you want it to?
[22:31:36] nOwz: has joined #ruby
[22:33:17] kitikonti: has joined #ruby
[22:33:22] mzo: allisio: how r u
[22:33:24] edliss: has joined #ruby
[22:33:34] rizonz: allisio: it only works on blacklist not on pxe_kernel_options itself
[22:34:04] rizonz: allisio: can I so some else ?
[22:34:14] rizonz: or so, like accept or whatever
[22:35:35] allisio: rizonz: You don't have anything called `blacklist` in that snippet.
[22:36:35] rizonz: allisio: sure! params['blacklist]
[22:37:38] allisio: >> "params['blacklist']" == "blacklist"
[22:37:39] ruby[bot]: allisio: # => false (https://eval.in/755396)
[22:38:03] mzo: hi hxegon :)
[22:38:46] JeanCarloMachado: has joined #ruby
[22:38:53] edliss: has joined #ruby
[22:39:07] mzo: hxegon how's your day been
[22:39:52] rizonz: allisio: yes and I want something like accept withyout the modprobe. part
[22:40:07] hxegon: pretty good mzo, had a productive meeting with some clients, found a new lunch place I like. you?
[22:40:30] mzo: that's fantastic :D
[22:41:11] mzo: i am doing pretty well. i had a pretty ordinary day but it was nice
[22:41:48] pifon: has joined #ruby
[22:43:59] br0d1n: has joined #ruby
[22:44:21] rizonz: allisio: get the idea ?
[22:44:57] psychicist__: has joined #ruby
[22:45:03] mzo: allisio: looks like lotry ditched C for ruby
[22:45:08] allisio: rizonz: 'Fraid not. Your code is in line with your problem statement.
[22:45:23] allisio: mzo: Smart.
[22:45:48] rizonz: allisio: erm, I don't get you
[22:46:10] blandflakes: has joined #ruby
[22:46:14] allisio: rizonz: Yeah, there seems to be a language barrier here.
[22:46:27] rizonz: allisio: yes but we can overcome that one
[22:46:32] CloCkWeRX: has joined #ruby
[22:46:35] allisio: I think you're probably being bitten by the fact that #<< modifies in-place.
[22:47:00] rizonz: allisio: what does that do ?
[22:47:23] rizonz: I was wondering, can't I just add the same line under it and remove the modprobe part and rename blacklist to accept ?
[22:49:32] olivier__: has joined #ruby
[22:50:12] xen0fon: has joined #ruby
[22:54:01] hxegon: mzo: no nice day is "Ordinary". Gotta cherish every sip of tea as new, unique, and special
[22:54:26] pawnbox: has joined #ruby
[22:56:18] bungoman_: has joined #ruby
[22:56:36] hahuang65: has joined #ruby
[22:59:43] jhack: has joined #ruby
[23:08:04] rkazak_: has joined #ruby
[23:08:52] agent_white: has joined #ruby
[23:11:36] cseder: I'm working on an application to make America great again. I believe it should be written in Ruby. Any thoughts?
[23:11:38] grant: has joined #ruby
[23:11:58] allisio: Ruby is Japanese, silly.
[23:13:02] cschneid_: has joined #ruby
[23:13:38] cseder: I thought Ruby was the Japanese version of the Chinese language called Nooby in Mandarin
[23:14:02] cseder: but I might be wrong
[23:14:15] zeroDi: has joined #ruby
[23:14:53] havenwood: cseder: Troll not lest ye be !troll'ed.
[23:15:23] olivier__: has joined #ruby
[23:15:25] cseder: sorry, I was just bored
[23:16:35] SeepingN: make #ruby great again. /kick cseder :O
[23:17:24] JoshS: has joined #ruby
[23:20:29] cseder: I'm just in the process of learning Ruby. Goal is for using it with Rails. Been programming in C++, Java, Python and C# in the past. Last work I had was C#/.Net development. Hoping to get some freelance work with Rails or RubyMotion
[23:24:08] ramfjord: has joined #ruby
[23:24:09] pawnbox: has joined #ruby
[23:24:09] cfec0b8d: has joined #ruby
[23:27:59] quazimodo: has joined #ruby
[23:29:21] cseder: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[23:31:28] hotpancakes: has joined #ruby
[23:44:16] grant: has joined #ruby
[23:44:18] enterprisey: has joined #ruby
[23:46:26] AndBobsYourUncle: has joined #ruby
[23:47:41] rfoust: has joined #ruby
[23:49:38] beatdown: has joined #ruby
[23:50:24] gusrub: has joined #ruby
[23:51:04] olivier__: has joined #ruby
[23:53:27] olivier__: has joined #ruby
[23:58:02] olivier__: has joined #ruby