« Back to channel list

#ruby - 02 September 2018

« Back 1 day Forward 1 day »
[00:02:10] vonfry: has joined #ruby
[00:18:13] tristanp: has joined #ruby
[00:20:03] jottr: has joined #ruby
[00:22:56] cagomez: has joined #ruby
[00:32:24] psmolen: has joined #ruby
[00:52:14] dbz: has joined #ruby
[00:56:23] cagomez: has joined #ruby
[00:57:45] jottr: has joined #ruby
[01:00:55] orbyt_: has joined #ruby
[01:12:58] ivanskie: has joined #ruby
[01:29:28] psmolen: has joined #ruby
[01:33:14] jottr: has joined #ruby
[01:52:20] cagomez: has joined #ruby
[01:53:05] cagomez: has joined #ruby
[01:53:25] savolla: has joined #ruby
[01:53:54] cagomez: has joined #ruby
[01:54:35] cagomez: has joined #ruby
[01:59:40] cagomez: has joined #ruby
[02:05:33] arescorpio: has joined #ruby
[02:09:05] cagomez: has joined #ruby
[02:09:51] cagomez: has joined #ruby
[02:10:37] cagomez: has joined #ruby
[02:11:21] cagomez: has joined #ruby
[02:12:32] cagomez: has joined #ruby
[02:19:02] tristanp: has joined #ruby
[02:22:24] cagomez: has joined #ruby
[02:25:01] clorisu: has joined #ruby
[02:37:25] bmurt: has joined #ruby
[02:57:35] raul782: has joined #ruby
[03:00:31] cadillac_: has joined #ruby
[03:03:23] raul7821: has joined #ruby
[03:09:37] psmolen: has joined #ruby
[03:10:42] braincrash: has joined #ruby
[03:33:50] jottr: has joined #ruby
[03:38:03] cadillac_: has joined #ruby
[03:41:55] dionysus69: has joined #ruby
[03:55:34] Paraxial: has joined #ruby
[04:06:59] dbz: has joined #ruby
[04:15:11] _whitelogger: has joined #ruby
[04:19:43] tristanp: has joined #ruby
[04:59:46] psmolen: has joined #ruby
[05:01:40] jp: has joined #ruby
[05:27:06] idiocrash: has joined #ruby
[05:34:41] jottr: has joined #ruby
[05:36:03] SuperLag: has joined #ruby
[05:42:49] psmolen: has joined #ruby
[05:53:28] reber: has joined #ruby
[06:13:49] lytol_: has joined #ruby
[06:45:17] JJonah: what is the reason's for the "you can only bind to a superclass" restriction on UnboundMethods. typically ruby gives you the freedom to shoot yourself in the foot, so if i know an unbound method makes sense in another class from which it does not inherit, why can't i bind to it? is there a technical reason?
[06:51:22] CrazyEddy: has joined #ruby
[06:59:06] Freshnuts: has joined #ruby
[07:08:52] doubledup: has joined #ruby
[07:09:32] doubledup: has joined #ruby
[07:10:57] kapil___: has joined #ruby
[07:14:04] apeiros: JJonah: yeah, that's one that baffled me too. I still don't know why. it might have to do with native methods. at least iirc there was no technical issue with rebinding pure ruby methods to whatever.
[07:15:05] amelliaa: has joined #ruby
[07:19:57] baweaver: ACTION is curious why someone would want or need to do so though
[07:20:26] lomex: has joined #ruby
[07:21:57] apeiros: ACTION putting on mad scientist goggles
[07:22:06] apeiros: "because I can!", muaaahahahahahaha
[07:22:27] apeiros: frankly, I only remember that I wanted to, but I don't remember why.
[07:23:21] apeiros: to do funky stuff like: `my_include SomeModule, methods: %i[foo bar baz]`
[07:23:40] apeiros: that's one reason I remember
[07:27:10] dbz: has joined #ruby
[07:35:36] jottr: has joined #ruby
[07:39:00] Dbugger: has joined #ruby
[07:44:30] conta1: has joined #ruby
[07:44:30] DTZUZO: has joined #ruby
[07:50:02] psmolen: has joined #ruby
[08:02:27] dellavg_: has joined #ruby
[08:19:39] DTZUZO: has joined #ruby
[08:28:21] galeido: has joined #ruby
[08:34:17] roshanavand: has joined #ruby
[08:44:46] Mike11: has joined #ruby
[08:54:21] Nicmavr: has joined #ruby
[09:01:42] Zaab1t: has joined #ruby
[09:07:46] PasNox: has joined #ruby
[09:09:22] PasNox: Hi, can anyone point me to the C documentation so that i can embed ruby in my c++ application and be able to use installed gems ? I have a minimal example that works, but when I try to require redcarpet it throw an exception telling it can't load the specified file
[09:09:33] PasNox: the test code works fine from terminal and ruby file
[09:10:53] PasNox: This is what i have for now: https://pastebin.com/wzvd51ji
[09:10:54] ruby[bot]: PasNox: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
[09:12:07] PasNox: ok, here is it https://gist.github.com/pasnox/abe02cd3f744e28f94650d6aea4b5be3
[09:12:12] akem: has joined #ruby
[09:17:34] jottr: has joined #ruby
[09:20:28] Dark_Arc: has joined #ruby
[09:40:40] jp: has joined #ruby
[09:43:35] arup_r: has joined #ruby
[09:44:30] savolla: has joined #ruby
[09:53:18] PasNox: so, it looks like that gems path are not added to the interpreter, ruby_incpush("/usr/lib/ruby/gems/2.5.0/gems/redcarpet-3.4.0/lib"); fix my issues, but i would like to avoid such hard coding. any idea ?
[09:58:25] minimal_life: has joined #ruby
[10:00:50] dbz: has joined #ruby
[10:10:54] zapata: has joined #ruby
[10:30:40] arup_r: has joined #ruby
[10:33:16] moei: has joined #ruby
[10:59:38] RougeR: has joined #ruby
[11:00:43] AJA4350: has joined #ruby
[11:18:12] _whitelogger: has joined #ruby
[11:18:24] jottr: has joined #ruby
[11:30:19] yokel: has joined #ruby
[11:34:03] c355E3B: has joined #ruby
[11:34:31] c355E3B: Is anyone aware of an example of passing a `char **` to a library via FFI?
[11:34:59] c355E3B: I can get `char *` to work with a memory pointer, segfaults when i try to pass an array of pointers`
[11:37:07] tristanp: has joined #ruby
[11:40:31] conta1: has joined #ruby
[12:08:55] KeyJoo: has joined #ruby
[12:11:55] jottr: has joined #ruby
[12:13:51] snuz: has joined #ruby
[12:23:08] DTZUZO: has joined #ruby
[12:24:29] Caeso: has joined #ruby
[12:26:20] Caeso: has left #ruby: ()
[12:27:59] reber: has joined #ruby
[12:28:40] lomex: has joined #ruby
[12:31:30] AlHafoudh: has joined #ruby
[12:38:12] tristanp: has joined #ruby
[12:56:34] wildermind: has joined #ruby
[12:57:15] dionysus69: has joined #ruby
[12:58:18] akem: has joined #ruby
[12:59:05] MoritaShinobu: has joined #ruby
[13:09:53] snuz: has joined #ruby
[13:25:21] Alina-malina: has joined #ruby
[13:44:55] desperek: has joined #ruby
[13:45:50] desperek: has joined #ruby
[13:47:07] psmolen: has joined #ruby
[14:00:44] conta1: has joined #ruby
[14:05:09] arup_r: has joined #ruby
[14:27:10] dbz: has joined #ruby
[14:32:24] rippa: has joined #ruby
[14:38:59] arup_r: has joined #ruby
[14:39:02] tristanp: has joined #ruby
[14:45:37] elomatreb: has joined #ruby
[14:46:01] S007: has joined #ruby
[14:46:15] volix: has joined #ruby
[15:14:06] shenghi: has joined #ruby
[15:14:07] TheBrayn: has joined #ruby
[15:26:26] LiftLeft: has joined #ruby
[15:35:25] lomex: has joined #ruby
[15:41:10] roshanavand: has joined #ruby
[15:41:41] cadillac_: has joined #ruby
[15:44:49] orbyt_: has joined #ruby
[15:52:11] blandflakes: has joined #ruby
[15:57:35] dionysus69: has joined #ruby
[16:01:21] roshanavand: has joined #ruby
[16:10:53] conta1: has joined #ruby
[16:16:13] Mike11: has joined #ruby
[16:18:47] Azure: has joined #ruby
[16:20:51] lomex: has joined #ruby
[16:39:45] tristanp: has joined #ruby
[16:46:09] idiocrash: has joined #ruby
[17:00:33] dionysus70: has joined #ruby
[17:04:03] RougeR: has joined #ruby
[17:05:38] Alina-malina: has joined #ruby
[17:07:42] roshanavand: has joined #ruby
[17:18:17] samort7: has joined #ruby
[17:21:11] roshanavand: has joined #ruby
[17:26:52] roshanavand: has joined #ruby
[17:27:30] snickers: has joined #ruby
[17:30:41] DarthGandalf: has joined #ruby
[17:36:27] dbz: has joined #ruby
[17:41:36] DarthGandalf: has joined #ruby
[17:45:55] code_zombie: has joined #ruby
[17:46:36] dionysus69: has joined #ruby
[17:49:40] jenenliu: has joined #ruby
[17:54:07] nielsk: has joined #ruby
[17:59:01] DarthGandalf: has joined #ruby
[18:20:04] RougeR: has joined #ruby
[18:48:34] dbz: has joined #ruby
[18:55:22] dviola: has joined #ruby
[19:03:00] kapil___: has joined #ruby
[19:10:40] knight33: has joined #ruby
[19:11:33] Dbugger: has joined #ruby
[19:23:25] Xiti`: has joined #ruby
[19:23:31] Freshnuts: has joined #ruby
[19:33:00] Puffball: has joined #ruby
[19:34:31] Nicmavr: has joined #ruby
[19:36:12] dbz: has joined #ruby
[19:40:12] ShekharReddy: has joined #ruby
[19:48:44] Xiti: has joined #ruby
[19:50:24] knight33: has joined #ruby
[19:53:52] Xiti: has joined #ruby
[20:03:53] orbyt_: has joined #ruby
[20:04:24] lomex: has joined #ruby
[20:20:08] ellcs: has joined #ruby
[20:31:13] Dbugger: has joined #ruby
[20:33:07] RiPuk: has joined #ruby
[21:40:50] code_zombie: has joined #ruby
[21:46:10] Caeso: has joined #ruby
[21:47:06] ace91: has joined #ruby
[21:50:11] ace91: Hey guys, I'm trying to build the project Geocoder from Github (https://github.com/alexreisner/geocoder) but I can't get rake to run without errors. Here's my output from rake --trace: https://dpaste.de/87b9
[21:50:21] ace91: would greatly appreciate any help, I'm really new at Ruby
[21:54:10] Caeso: What command did you run to get the errors, and what errors did you get?
[21:55:30] ace91: i just ran "rake" with no arguments or options and I get the following:
[21:55:57] ace91: Command failed with status (1)
[21:55:57] ace91: Tasks: TOP => default => test
[21:55:57] ace91: (See full trace by running task with --trace)
[21:56:18] ace91: for full trace see: https://dpaste.de/87b9
[21:57:31] cadillac_: has joined #ruby
[22:03:26] ace91: oh nevermind, I found the issue. I forgot to install "webmock"
[22:03:39] ace91: sorry bout that! thanks for your response @Caeso
[22:05:11] Caeso: Oh. It's not an issue.
[22:05:58] Caeso: I'm not actually all familiar with rake, but I'm glad you figured it out.
[22:06:30] ace91: has joined #ruby
[22:07:11] DTZUZO: has joined #ruby
[22:11:37] Caeso: I'm having trouble writing a prime number method. My current code (https://gist.github.com/Caeso-Lucilius/31af53610ef86c4085ec3bf876b1a1b3) returns true for both even and odd numbers (at least, both 5 and 6). I don't know why, but would appreciate any insight anyone might have.
[22:12:03] Caeso: By even and odd, I mean prime and composite. Silly me.
[22:18:50] ace91: @caeso seems to work for me
[22:19:33] ace91: first line of output is true, and second line i false
[22:20:28] Caeso: I feel like an idiot. I looked back at my text editor... and I hadn't saved the document. I saved it and it's working fine.
[22:21:15] Caeso: Thanks, though.
[22:22:00] ace91: has joined #ruby
[22:29:04] mikecmpbll: has joined #ruby
[22:30:55] orbyt_: has joined #ruby
[22:32:43] rootsudo: has joined #ruby
[22:41:15] sauvin: has joined #ruby
[22:52:38] tty: has joined #ruby
[23:02:29] Caeso: has left #ruby: ()
[23:03:58] clorisu: has joined #ruby
[23:12:57] psmolen: has joined #ruby
[23:25:32] dbz: has joined #ruby
[23:49:31] DarthGandalf: has joined #ruby
[23:52:55] x0F: has joined #ruby
[23:55:01] ruskie: has joined #ruby
[23:56:10] bmurt: has joined #ruby
[23:57:20] bmurt: has joined #ruby