« Back to channel list

#ruby - 29 April 2018

« Back 1 day Forward 1 day »
[00:00:43] Yzguy: has joined #ruby
[00:02:22] arescorpio: has joined #ruby
[00:04:38] jnollette: has joined #ruby
[00:05:13] schneider: has joined #ruby
[00:07:05] jready: has joined #ruby
[00:07:58] DTZUZO: has joined #ruby
[00:08:32] coderphive: has joined #ruby
[00:10:26] rfoust: has joined #ruby
[00:11:19] jyaworski: has joined #ruby
[00:14:31] schneider: has joined #ruby
[00:15:19] alfiemax: has joined #ruby
[00:20:28] bmurt: has joined #ruby
[00:22:36] OptimisticPig2: has joined #ruby
[00:23:48] schneider: has joined #ruby
[00:27:40] Azure: has joined #ruby
[00:28:23] alfiemax: has joined #ruby
[00:29:34] nowhere_man: has joined #ruby
[00:32:28] kapil___: How to catch ruby errors?
[00:33:07] schneider: has joined #ruby
[00:33:50] Yzguy: has joined #ruby
[00:37:59] baweaver: kapil___: how to google?
[00:38:02] baweaver: What have you tried
[00:38:17] cliluw: has joined #ruby
[00:38:22] kapil___: nothing I forgot it
[00:39:18] kapil___: Ok o got it
[00:39:36] erlend: has joined #ruby
[00:40:47] Azure: has joined #ruby
[00:42:26] schneider: has joined #ruby
[00:42:32] darkhanb_: has joined #ruby
[00:48:51] orbyt_: has joined #ruby
[00:50:05] Azure|dc: has joined #ruby
[00:51:43] schneider: has joined #ruby
[00:52:03] cliluw: has joined #ruby
[01:00:17] Azure: has joined #ruby
[01:00:58] schneider: has joined #ruby
[01:02:13] mroutis: has joined #ruby
[01:02:15] sandroqz: has joined #ruby
[01:10:18] schneider: has joined #ruby
[01:11:38] ciscam: has joined #ruby
[01:17:49] yxhuvud: has joined #ruby
[01:19:25] Azure: has joined #ruby
[01:19:35] schneider: has joined #ruby
[01:25:18] stairmast0r: has joined #ruby
[01:28:44] Azure: has joined #ruby
[01:29:00] schneider: has joined #ruby
[01:30:53] alfiemax: has joined #ruby
[01:31:29] yxhuvud: has joined #ruby
[01:33:36] ResidentBiscuit: has joined #ruby
[01:38:13] schneider: has joined #ruby
[01:38:47] jyaworski: has joined #ruby
[01:43:31] dinfuehr: has joined #ruby
[01:47:32] schneider: has joined #ruby
[01:47:44] yxhuvud: has joined #ruby
[01:53:50] white_lilies: has joined #ruby
[01:54:16] n3b: has joined #ruby
[01:55:08] dr3wo: has joined #ruby
[01:56:49] schneider: has joined #ruby
[01:58:19] yxhuvud: has joined #ruby
[01:58:23] nowhere_man: has joined #ruby
[02:01:24] jyaworski: has joined #ruby
[02:02:20] chocoelho1: has joined #ruby
[02:05:14] schneider: has joined #ruby
[02:10:34] schneider: has joined #ruby
[02:11:18] tdy: has joined #ruby
[02:11:44] _antares_: has joined #ruby
[02:12:35] Azure: has joined #ruby
[02:14:03] Azure|dc: has joined #ruby
[02:19:57] schneider: has joined #ruby
[02:22:24] n3b: has joined #ruby
[02:26:29] yxhuvud: has joined #ruby
[02:27:29] cadillac_: has joined #ruby
[02:27:45] x77686d: has joined #ruby
[02:29:12] schneider: has joined #ruby
[02:29:31] ptx0: has joined #ruby
[02:32:09] nicesignal: has joined #ruby
[02:32:39] yxhuvud: has joined #ruby
[02:38:32] schneider: has joined #ruby
[02:40:36] ptx0: has joined #ruby
[02:46:09] ciscam: has joined #ruby
[02:47:43] yxhuvud: has joined #ruby
[02:47:49] schneider: has joined #ruby
[02:48:21] erlend: has joined #ruby
[02:57:11] schneider: has joined #ruby
[02:59:32] yxhuvud: has joined #ruby
[03:05:06] gix: has joined #ruby
[03:06:24] schneider: has joined #ruby
[03:09:10] dstrunk: has joined #ruby
[03:15:45] schneider: has joined #ruby
[03:16:07] Azure: has joined #ruby
[03:20:04] nadir: has joined #ruby
[03:23:06] jyaworski: has joined #ruby
[03:25:05] schneider: has joined #ruby
[03:27:38] houhoulis: has joined #ruby
[03:34:26] schneider: has joined #ruby
[03:36:23] alfiemax: has joined #ruby
[03:43:41] schneider: has joined #ruby
[03:51:44] reaVer: has joined #ruby
[03:52:56] schneider: has joined #ruby
[03:58:16] beilabs_: has joined #ruby
[03:58:19] Asher1: has joined #ruby
[04:00:31] n3b: has joined #ruby
[04:00:33] cschneid_: has joined #ruby
[04:02:05] jyaworski: has joined #ruby
[04:02:19] schneider: has joined #ruby
[04:11:34] schneider: has joined #ruby
[04:20:52] schneider: has joined #ruby
[04:22:18] jyaworski: has joined #ruby
[04:23:43] cschneid_: has joined #ruby
[04:29:43] detectiveaoi: has joined #ruby
[04:30:12] schneider: has joined #ruby
[04:30:25] Ryzokuken: has joined #ruby
[04:39:26] schneider: has joined #ruby
[04:42:08] gregoryja: has joined #ruby
[04:45:21] alfiemax: has joined #ruby
[04:47:01] alfiemax: has joined #ruby
[04:48:46] schneider: has joined #ruby
[04:49:27] govg: has joined #ruby
[04:50:52] jyaworski: has joined #ruby
[04:58:04] schneider: has joined #ruby
[05:07:23] schneider: has joined #ruby
[05:16:43] schneider: has joined #ruby
[05:17:40] konsolebox: has joined #ruby
[05:19:00] KeyJoo: has joined #ruby
[05:19:56] KeyJoo: has joined #ruby
[05:21:43] rippa: has joined #ruby
[05:25:58] schneider: has joined #ruby
[05:30:10] jyaworski: has joined #ruby
[05:30:54] sauvin: has joined #ruby
[05:34:28] cschneid_: has joined #ruby
[05:35:15] schneider: has joined #ruby
[05:41:22] ciscam: has joined #ruby
[05:44:32] schneider: has joined #ruby
[05:48:22] josealobato: has joined #ruby
[05:50:07] vovs03: has joined #ruby
[05:53:57] schneider: has joined #ruby
[06:03:11] schneider: has joined #ruby
[06:04:55] nadir: has joined #ruby
[06:12:29] schneider: has joined #ruby
[06:20:29] jyaworski: has joined #ruby
[06:21:50] schneider: has joined #ruby
[06:26:47] pwnd_nsfw`: has joined #ruby
[06:28:34] reber: has joined #ruby
[06:29:17] amar: has joined #ruby
[06:31:05] schneider: has joined #ruby
[06:40:22] schneider: has joined #ruby
[06:44:24] govg: has joined #ruby
[06:49:43] schneider: has joined #ruby
[06:52:55] suukim: has joined #ruby
[06:58:56] schneider: has joined #ruby
[07:04:37] mlkkk: has joined #ruby
[07:08:15] schneider: has joined #ruby
[07:15:22] c0ncealed1: has joined #ruby
[07:17:34] schneider: has joined #ruby
[07:26:02] yokel: has joined #ruby
[07:26:23] c0ncealed1: has joined #ruby
[07:26:23] clemens3_: has joined #ruby
[07:26:56] schneider: has joined #ruby
[07:26:58] jyaworski: has joined #ruby
[07:29:32] r3m: has joined #ruby
[07:30:21] nowhere_man: has joined #ruby
[07:30:51] conta: has joined #ruby
[07:36:10] biberu: has joined #ruby
[07:36:13] schneider: has joined #ruby
[07:42:11] Ropeney: has joined #ruby
[07:45:27] schneider: has joined #ruby
[07:48:14] herbmillerjr: has joined #ruby
[07:49:15] phaul: has joined #ruby
[07:55:05] schneider: has joined #ruby
[07:59:32] n008f4g_: has joined #ruby
[08:00:05] marr: has joined #ruby
[08:04:12] VladGh_: has joined #ruby
[08:04:12] schneider: has joined #ruby
[08:04:16] Ropeney: has joined #ruby
[08:04:20] mrBen2k2k2k: has joined #ruby
[08:04:44] jyaworski: has joined #ruby
[08:05:32] karapetyan: has joined #ruby
[08:06:43] Mike11: has joined #ruby
[08:06:49] hurricanehrndz: has joined #ruby
[08:11:41] tomphp: has joined #ruby
[08:13:46] schneider: has joined #ruby
[08:23:02] schneider: has joined #ruby
[08:24:47] jyaworski: has joined #ruby
[08:25:52] tomphp: has joined #ruby
[08:32:24] schneider: has joined #ruby
[08:41:38] schneider: has joined #ruby
[08:45:06] govg: has joined #ruby
[08:45:52] InfinityFye: has joined #ruby
[08:47:39] InfinityFye: has left #ruby: ()
[08:51:01] schneider: has joined #ruby
[08:52:41] beilabs: has joined #ruby
[08:58:30] ur5us: has joined #ruby
[09:00:18] schneider: has joined #ruby
[09:00:30] erlend: has joined #ruby
[09:01:49] jyaworski: has joined #ruby
[09:09:37] schneider: has joined #ruby
[09:11:09] plexigras: has joined #ruby
[09:18:54] schneider: has joined #ruby
[09:20:12] thinkpad: has joined #ruby
[09:25:53] Hien: has joined #ruby
[09:27:19] sameerynho: has joined #ruby
[09:27:25] kapil___: has joined #ruby
[09:28:12] schneider: has joined #ruby
[09:31:12] phaul: has joined #ruby
[09:40:37] sammi`: has joined #ruby
[09:49:29] DTZUZO: has joined #ruby
[09:51:09] beilabs: has joined #ruby
[09:56:55] jyaworski: has joined #ruby
[09:57:12] roshanavand: has joined #ruby
[10:07:09] amar: has joined #ruby
[10:18:27] ciscam: has joined #ruby
[10:18:39] tvw: has joined #ruby
[10:20:06] lolmaus_: has joined #ruby
[10:22:12] roshanavand: has joined #ruby
[10:25:02] gr33n7007h: has joined #ruby
[10:25:10] jyaworski: has joined #ruby
[10:27:02] physicist__: has joined #ruby
[10:30:19] tomphp: has joined #ruby
[10:30:40] Strepsils: has joined #ruby
[10:32:37] ferr: has left #ruby: ("WeeChat 2.1")
[10:38:08] tomphp_: has joined #ruby
[10:39:40] jnollette: has joined #ruby
[10:52:23] Azure: has joined #ruby
[10:55:29] tomphp: has joined #ruby
[10:55:47] RougeR: has joined #ruby
[10:55:58] ciscam: has joined #ruby
[10:59:55] roshanavand: has joined #ruby
[11:00:21] jyaworski: has joined #ruby
[11:02:32] ferr: has joined #ruby
[11:04:54] ferr: has left #ruby: ()
[11:07:56] ur5us: has joined #ruby
[11:16:15] AJA4350: has joined #ruby
[11:19:30] cschneid_: has joined #ruby
[11:28:57] jyaworski: has joined #ruby
[11:35:44] Emmanuel_Chanel: has joined #ruby
[11:36:16] Emmanuel_Chanel: has joined #ruby
[11:37:26] karapetyan: has joined #ruby
[11:46:13] beilabs_: has joined #ruby
[11:47:01] beilabs__: has joined #ruby
[11:48:02] karapetyan: has joined #ruby
[11:52:41] karapetyan: has joined #ruby
[11:53:40] d^sh: has joined #ruby
[11:57:29] roshanavand: has joined #ruby
[12:00:41] John_Ivan: has joined #ruby
[12:04:57] tomphp: has joined #ruby
[12:10:14] vinothvkr: has joined #ruby
[12:28:20] plexigras: has joined #ruby
[12:44:08] redlegion: has joined #ruby
[12:52:39] GodFather_: has joined #ruby
[13:00:58] yokel: has joined #ruby
[13:04:47] John_Ivan: has joined #ruby
[13:06:56] alex``: has joined #ruby
[13:26:53] vovs03: has joined #ruby
[13:29:57] suukim: has joined #ruby
[13:35:26] ferr: has joined #ruby
[13:44:59] jyaworski: has joined #ruby
[13:46:01] tomphp: has joined #ruby
[13:52:32] p0s1x: has joined #ruby
[14:07:17] cschneid_: has joined #ruby
[14:08:46] JohanP: has joined #ruby
[14:19:27] sepp2k: has joined #ruby
[14:26:25] jyaworski: has joined #ruby
[14:28:45] Dimik: has joined #ruby
[14:32:08] kurko_: has joined #ruby
[14:39:44] dr3wo: has joined #ruby
[14:42:40] jyaworski: has joined #ruby
[14:43:57] karapetyan: has joined #ruby
[14:50:34] ciscam: has joined #ruby
[15:12:27] dr3wo: has joined #ruby
[15:16:59] Hien: has joined #ruby
[15:25:02] ellcs: has joined #ruby
[15:30:55] konsolebox: has joined #ruby
[15:32:31] Hien: has joined #ruby
[15:35:21] Puffball: has joined #ruby
[15:35:25] moplo: has joined #ruby
[15:42:40] roshanavand: has joined #ruby
[15:44:01] cyberg: has joined #ruby
[15:44:38] dr3wo: has joined #ruby
[15:47:33] Ryzokuken: has joined #ruby
[15:50:40] beefjoe: has joined #ruby
[15:50:54] beefjoe: how can I execute a custom defined function on irb ?
[15:51:01] beefjoe: without creating a new file
[15:51:29] beefjoe: can I simply write it line by line ?
[15:52:15] stormpack: has joined #ruby
[15:53:16] beefjoe: this is what I get on irb after calling the function
[15:53:17] beefjoe: NameError: undefined local variable or method
[15:53:49] apeiros: beefjoe: can you gist your irb session?
[15:53:57] ruby[bot]: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[15:54:00] apeiros: and yes, just typing it line by line should work just fine
[15:54:18] moplo: has joined #ruby
[15:54:58] beefjoe: well it's nothing specially havenwood
[15:55:02] beefjoe: simple as that https://hastebin.com/daramaleji.rb
[15:55:10] dstrunk: has joined #ruby
[15:55:28] apeiros: beefjoe: smart quotes will not work in the code
[15:55:34] apeiros: also please include the full error you get
[15:55:46] havenwood: >> def say_hello(name); "Hello, #{name}" end; say_hello("aa")
[15:55:47] ruby[bot]: havenwood: # => "Hello, aa" (https://eval.in/996871)
[15:55:55] beefjoe: I hate mac
[15:56:23] apeiros: what did you do to enable smart quotes in your shell?
[15:56:42] apeiros: ACTION doubts that's the default
[15:57:04] beefjoe: they're not enabled, I just copied the code --
[15:57:11] beefjoe: Thanks, works now..
[15:57:24] apeiros: so the source from where you copied already used smart quotes?
[15:57:35] havenwood: textedit or the web?
[15:57:38] apeiros: I don't see how that's the mac's fault :D
[15:57:47] beefjoe: well it's usually on mac
[15:57:51] havenwood: that's just the web example's fault
[15:58:06] beefjoe: true, but first time it happened to me was on mac so I'll always associate it with mac
[15:58:09] apeiros: eh, if the code you copied is broken, then macs won't magically fix it
[15:58:14] apeiros: neither will linux nor windows
[15:58:23] beefjoe: I'm actually on linux :)
[15:58:29] beefjoe: I'm not even using mac
[15:58:35] havenwood: the plot thickens...
[15:58:36] apeiros: ACTION blinks
[15:58:45] apeiros: and people claim mac users were dogmatic…
[15:58:51] beefjoe: <b> first time it happened to me was on mac so I'll always associate it with mac </b>
[15:59:07] apeiros: yeah, sounds zealotish :-p
[16:01:56] dr3wo: has joined #ruby
[16:03:02] x77686d: has joined #ruby
[16:04:30] John_Ivan: has joined #ruby
[16:05:59] beefjoe: does anyone know if there's an eval.in api ?
[16:06:06] beefjoe: I guess there is since we have ruby bot
[16:10:35] Janky: has joined #ruby
[16:11:06] jready: has joined #ruby
[16:13:43] cschneid_: has joined #ruby
[16:27:17] apeiros: beefjoe: yes, there is. but I don't know whether it's public :-/
[16:28:50] beefjoe: I emailed the owner, hopefully I get an answer
[16:42:48] apeiros: if he says yes, I can gist you ruboto's code
[16:45:43] kurko_: has joined #ruby
[16:57:17] woodruffw: has joined #ruby
[16:57:17] woodruffw: has joined #ruby
[17:01:59] minimalism: has joined #ruby
[17:04:42] alfiemax: has joined #ruby
[17:16:25] karapetyan: has joined #ruby
[17:16:33] orbyt_: has joined #ruby
[17:17:19] apeiros: in case anybody else has a use for it: https://gist.github.com/apeiros/07198c3ba76e19d06e96bff386f4792a
[17:17:45] apeiros: (email validation in JS, according to spec, disallows use of comments & some cases of whitespace, though)
[17:18:18] apeiros: also only "foo@example.com" style addresses, no "mr. foo bar <foo@example.com>" style addresses
[17:20:38] jyaworski: has joined #ruby
[17:21:48] x0F: has joined #ruby
[17:26:42] jready: has joined #ruby
[17:37:02] jyaworski: has joined #ruby
[17:38:53] TinkerT: has joined #ruby
[17:40:01] John_Ivan: has joined #ruby
[17:43:43] josealobato: has joined #ruby
[17:48:08] eckhardt: has joined #ruby
[17:48:11] sagax: has joined #ruby
[17:49:28] alfiemax: has joined #ruby
[17:52:26] dionysus69: has joined #ruby
[17:59:30] BTRE: has joined #ruby
[18:01:14] Vashy: is there a way for ruby to capture the stdout of a streaming cli tool?
[18:01:18] Vashy: idk if that's the right words
[18:01:36] jyaworski: has joined #ruby
[18:01:36] Vashy: but e.g. I know I can do something like this:
[18:01:49] Vashy: current_dir_files = `ls`.split
[18:01:59] Vashy: but what about something like:
[18:02:13] Vashy: logfile_tail = `tail -F dev.log`
[18:02:23] apeiros: IO.popen, Process.spawn
[18:02:37] Vashy: I'll look those up, thanks apeiros
[18:02:43] ellcs: has joined #ruby
[18:03:06] apeiros: popen will combine stderr & stdout, if you need them separate, use either spawn or open3/open4 (iirc gems, maybe stdlib, not sure)
[18:03:30] tAn: has joined #ruby
[18:03:36] Vashy: ah ok, well then popen sounds ideal forme
[18:11:32] mroutis: has joined #ruby
[18:16:18] x77686d: has joined #ruby
[18:18:48] kurko_: has joined #ruby
[18:22:53] beilabs: has joined #ruby
[18:23:53] beilabs: has joined #ruby
[18:27:07] josealobato: has joined #ruby
[18:34:10] karapetyan: has joined #ruby
[18:36:00] karapetyan: has joined #ruby
[18:39:55] gregoryja: has joined #ruby
[18:43:47] amatas: has joined #ruby
[18:45:07] amatas: has joined #ruby
[18:46:49] orbyt_: has joined #ruby
[18:49:00] coderphive: has joined #ruby
[18:51:20] tomphp: has joined #ruby
[19:02:11] reber: has joined #ruby
[19:19:37] roshanavand: has joined #ruby
[19:21:53] gregoryja: has joined #ruby
[19:24:14] chmurifree: has joined #ruby
[19:24:36] jnollette: has joined #ruby
[19:24:45] redlegion: has joined #ruby
[19:25:03] _aeris_: has joined #ruby
[19:25:39] tomphp: has joined #ruby
[19:28:45] Tharbakim: has joined #ruby
[19:28:45] Tharbakim: has joined #ruby
[19:33:12] josealobato: has joined #ruby
[19:33:46] mlkkk: has joined #ruby
[19:38:45] ciscam: has joined #ruby
[19:39:11] Phage: has joined #ruby
[19:40:30] tomphp: has joined #ruby
[19:43:37] reber__: has joined #ruby
[19:43:49] _antares_: has joined #ruby
[19:44:13] jready: has joined #ruby
[19:45:48] reber: has joined #ruby
[19:55:11] dinfuehr: has joined #ruby
[20:07:11] weaksauce: has joined #ruby
[20:08:40] jready: has joined #ruby
[20:12:55] kurko__: has joined #ruby
[20:14:26] alfiemax: has joined #ruby
[20:15:06] dr3wo: has joined #ruby
[20:16:04] aruns: has joined #ruby
[20:17:20] jready: has joined #ruby
[20:19:52] josealobato: has joined #ruby
[20:49:04] white_lilies: has joined #ruby
[20:50:55] rfoust: has joined #ruby
[20:53:24] aruns: Hey guys, I've asked in the Bundler forums for help, no luck so far, but does anyone know how I can run a local gem through Bundler so I can test it in a project?
[20:54:01] apeiros: aruns: use the path or git option
[20:54:28] ur5us: has joined #ruby
[20:54:48] aruns: apeiros: Yeah, I tried :path => but it doesn't seem to work.
[20:54:56] aruns: For now, I've used done gem install /path/to/gem.gem
[20:57:01] apeiros: well, people will have difficulty to help if the problem description is "does not seem to work"
[20:57:08] bmurt: has joined #ruby
[21:00:30] beilabs: has joined #ruby
[21:11:17] roshanavand: has joined #ruby
[21:26:04] jyaworski: has joined #ruby
[21:31:19] jordanm: has joined #ruby
[21:35:26] cschneid_: has joined #ruby
[21:38:54] houhoulis: has joined #ruby
[21:39:54] jyaworski: has joined #ruby
[21:42:08] barnett: has joined #ruby
[21:57:23] cyberg: has joined #ruby
[21:57:55] tomphp: has joined #ruby
[22:03:16] jyaworski: has joined #ruby
[22:07:27] govg: has joined #ruby
[22:12:12] karapetyan: has joined #ruby
[22:12:51] govg: has joined #ruby
[22:17:30] cschneid_: has joined #ruby
[22:21:39] nowhere_man: has joined #ruby
[22:21:56] mroutis: has joined #ruby
[22:23:53] jeffreylevesque: has joined #ruby
[22:26:05] amar: has joined #ruby
[22:31:35] JohanP: has joined #ruby
[22:38:35] jeen: has joined #ruby
[22:41:28] cschneid_: has joined #ruby
[22:42:59] JohanP: has joined #ruby
[22:43:25] n3b: has joined #ruby
[22:48:31] jeen: has joined #ruby
[22:50:51] JohanP: has joined #ruby
[22:51:57] venmx: has joined #ruby
[22:52:07] emph: has joined #ruby
[22:58:27] cschneid_: has joined #ruby
[23:02:29] jyaworski: has joined #ruby
[23:02:40] houhoulis: has joined #ruby
[23:03:14] JohanP: has joined #ruby
[23:04:23] jready: has joined #ruby
[23:05:43] alfiemax: has joined #ruby
[23:08:24] mlkkk: has joined #ruby
[23:12:14] goepsilongo: has joined #ruby
[23:12:31] jready: has joined #ruby
[23:12:52] bmurt: has joined #ruby
[23:17:24] mroutis: has joined #ruby
[23:18:40] lopex: has joined #ruby
[23:18:50] lopex: has left #ruby: ()
[23:23:05] MoskitoHero: has joined #ruby
[23:23:37] lopex: has joined #ruby
[23:24:44] t0adst00l: has joined #ruby
[23:25:15] lopex: has left #ruby: ()
[23:30:42] emph: has joined #ruby
[23:36:03] dviola: has joined #ruby
[23:38:06] barnett: has joined #ruby
[23:40:49] JohanP: has joined #ruby
[23:43:52] JohanP: has joined #ruby
[23:44:06] fullstack_: has joined #ruby
[23:46:03] cschneid_: has joined #ruby
[23:46:45] jyaworski: has joined #ruby
[23:49:13] orbyt_: has joined #ruby
[23:51:58] t0adst00l: has joined #ruby