« Back to channel list

#ruby - 22 March 2018

« Back 1 day Forward 1 day »
[00:04:32] cdg: has joined #ruby
[00:04:49] n0m4d1c: has joined #ruby
[00:08:13] alfiemax: has joined #ruby
[00:08:58] yokel: has joined #ruby
[00:12:51] drale2k_: has joined #ruby
[00:14:40] infernix: has joined #ruby
[00:15:28] duckpuppy: has joined #ruby
[00:15:30] crankharder: has joined #ruby
[00:18:56] Creatornator: has joined #ruby
[00:20:04] cdg: has joined #ruby
[00:20:47] roshanavand1: has joined #ruby
[00:21:21] yokel: has joined #ruby
[00:23:11] venmx: has joined #ruby
[00:23:41] mtkd: has joined #ruby
[00:23:51] John_Ivan: has joined #ruby
[00:24:17] Puffball: has joined #ruby
[00:25:01] crankharder: has joined #ruby
[00:25:10] alfiemax: has joined #ruby
[00:27:48] yokel: has joined #ruby
[00:32:40] dr3wo: has joined #ruby
[00:33:02] tolerablyjake: has joined #ruby
[00:33:21] guacamole: has joined #ruby
[00:33:21] guacamole: has joined #ruby
[00:38:07] alfiemax: has joined #ruby
[00:40:29] crankharder: has joined #ruby
[00:43:00] ghormoon: has joined #ruby
[00:46:34] robscomputer: has joined #ruby
[00:54:40] alfiemax: has joined #ruby
[00:58:25] yokel: has joined #ruby
[01:06:02] cagomez: has joined #ruby
[01:07:40] alfiemax: has joined #ruby
[01:08:18] yokel: has joined #ruby
[01:08:43] drale2k_: has joined #ruby
[01:10:26] noobineer: has joined #ruby
[01:16:32] noobineer: has joined #ruby
[01:20:18] alfiemax: has joined #ruby
[01:21:48] workmad3: has joined #ruby
[01:22:11] yokel: has joined #ruby
[01:28:01] jottr: has joined #ruby
[01:30:27] Hanmac: has joined #ruby
[01:33:30] alfiemax: has joined #ruby
[01:35:40] cdg: has joined #ruby
[01:40:23] cschneid: has joined #ruby
[01:41:05] orbyt_: has joined #ruby
[01:41:56] jottr: has joined #ruby
[01:44:08] mkroman: has joined #ruby
[01:52:29] dstrunk: has joined #ruby
[01:52:32] alfiemax: has joined #ruby
[01:58:30] alfiemax: has joined #ruby
[01:58:43] tolerablyjake: has joined #ruby
[01:59:15] alfiemax_: has joined #ruby
[02:01:23] erlend: has joined #ruby
[02:04:33] kapil___: has joined #ruby
[02:05:46] duderonomy: has joined #ruby
[02:06:01] robscomputer: has joined #ruby
[02:11:38] mikhael_k33hl: has joined #ruby
[02:12:48] mikhael_k33hl: Anybody using concurrent-ruby gem? Are you guys having problems with @pool.kill too? I have this code: https://gist.github.com/marzdgzmn/8e15d57e58bc7c8b278fcc477b5e8d3d and killing the pool doesn't seem to work.
[02:16:43] crankharder: has joined #ruby
[02:17:46] Azure: has joined #ruby
[02:24:00] crankhar1er: has joined #ruby
[02:26:05] crankhar1er: has joined #ruby
[02:26:10] cdg: has joined #ruby
[02:26:57] alfiemax: has joined #ruby
[02:31:20] guacamole: has joined #ruby
[02:31:20] guacamole: has joined #ruby
[02:32:47] alfiemax: has joined #ruby
[02:34:52] darkhanb: has joined #ruby
[02:38:21] gizmore|2: has joined #ruby
[02:38:25] jottr: has joined #ruby
[02:42:07] Xiti: has joined #ruby
[02:44:52] jottr: has joined #ruby
[02:47:26] dinfuehr: has joined #ruby
[02:48:59] fiachetti: has joined #ruby
[02:52:02] syndikate: has joined #ruby
[02:55:04] Azure: has joined #ruby
[02:55:19] tolerablyjake: has joined #ruby
[02:57:17] jottr: has joined #ruby
[03:03:31] sspreitz: has joined #ruby
[03:04:37] robscomputer: has joined #ruby
[03:10:59] tjbp: has joined #ruby
[03:11:16] anisha_: has joined #ruby
[03:11:53] jottr: has joined #ruby
[03:14:17] alfiemax: has joined #ruby
[03:14:20] kies: has joined #ruby
[03:17:17] bsamorim: has joined #ruby
[03:19:01] Azure: has joined #ruby
[03:19:05] erlend: has joined #ruby
[03:21:57] cschneid: has joined #ruby
[03:22:04] workmad3: has joined #ruby
[03:26:19] jottr: has joined #ruby
[03:26:54] govg: has joined #ruby
[03:27:59] Psybur_: has joined #ruby
[03:33:43] crankhar1er: has joined #ruby
[03:34:24] jottr: has joined #ruby
[03:40:52] alfiemax: has joined #ruby
[03:41:44] cschneid: has joined #ruby
[03:45:07] jottr: has joined #ruby
[03:46:19] ptx0: has joined #ruby
[03:55:07] ryan_ford: has joined #ruby
[03:58:35] jottr: has joined #ruby
[04:08:10] jottr: has joined #ruby
[04:21:22] eckhardt: has joined #ruby
[04:21:24] jottr: has joined #ruby
[04:25:00] SanguineAnomaly: has joined #ruby
[04:25:15] trautwein: has joined #ruby
[04:27:13] govg: has joined #ruby
[04:29:05] jottr: has joined #ruby
[04:29:35] tolerablyjake: has joined #ruby
[04:34:47] alfiemax: has joined #ruby
[04:40:58] jenrzzz: has joined #ruby
[04:43:31] jottr: has joined #ruby
[04:50:44] nowhere_man: has joined #ruby
[04:57:41] jottr: has joined #ruby
[05:02:16] cdg: has joined #ruby
[05:04:17] robscomputer: has joined #ruby
[05:05:12] jottr: has joined #ruby
[05:06:22] claw: has joined #ruby
[05:06:26] alfiemax: has joined #ruby
[05:11:53] jcarl43: has joined #ruby
[05:13:53] jottr: has joined #ruby
[05:16:56] tolerablyjake: has joined #ruby
[05:18:43] ramfjord: has joined #ruby
[05:19:09] Ryzokuken: has joined #ruby
[05:22:16] workmad3: has joined #ruby
[05:23:59] jottr: has joined #ruby
[05:31:02] jottr: has joined #ruby
[05:35:33] bsamorim: has joined #ruby
[05:39:08] idiocrash: has joined #ruby
[05:42:23] jottr: has joined #ruby
[05:43:19] nopolitica: has joined #ruby
[05:44:45] conta: has joined #ruby
[05:45:21] sauvin_: has joined #ruby
[05:49:35] armyriad: has joined #ruby
[05:51:07] rrichardsr3: has joined #ruby
[05:51:27] jottr: has joined #ruby
[05:52:32] jamesaxl: has joined #ruby
[05:53:18] rrichardsr3: has joined #ruby
[05:58:01] jottr: has joined #ruby
[05:58:21] rrichardsr3: has joined #ruby
[06:09:32] jottr: has joined #ruby
[06:16:16] robscomputer: has joined #ruby
[06:17:14] jenrzzz: has joined #ruby
[06:17:15] jenrzzz: has joined #ruby
[06:17:32] jottr: has joined #ruby
[06:26:40] ur5us: has joined #ruby
[06:30:39] ur5us_: has joined #ruby
[06:31:25] twe4ked: has joined #ruby
[06:31:53] venmx: has joined #ruby
[06:32:34] jottr: has joined #ruby
[06:34:06] zipace: has joined #ruby
[06:34:59] sidx64: has joined #ruby
[06:40:13] rhizome: has joined #ruby
[06:44:38] jottr: has joined #ruby
[06:46:01] ur5us: has joined #ruby
[06:52:49] n008f4g_: has joined #ruby
[06:55:25] shuforov: has joined #ruby
[06:55:43] jottr: has joined #ruby
[06:58:56] rrichardsr3: has joined #ruby
[06:59:21] alfiemax_: has joined #ruby
[07:01:37] jottr: has joined #ruby
[07:12:14] za1b1tsu: has joined #ruby
[07:16:36] sidx64: has joined #ruby
[07:17:05] jottr: has joined #ruby
[07:18:49] ramfjord: has joined #ruby
[07:19:45] dionysus69: has joined #ruby
[07:22:28] workmad3: has joined #ruby
[07:26:20] TvL: has joined #ruby
[07:26:20] Yxhvd: has joined #ruby
[07:26:29] izaac: has joined #ruby
[07:26:34] reaVer_: has joined #ruby
[07:26:34] jimmylu2333-fedo: has joined #ruby
[07:26:35] Asher: has joined #ruby
[07:26:47] ljarvis: has joined #ruby
[07:26:47] psychicist__: has joined #ruby
[07:26:50] mkroman: has joined #ruby
[07:26:50] crankharder: has joined #ruby
[07:26:50] Mattias: has joined #ruby
[07:26:51] ciscam: has joined #ruby
[07:26:51] nrk: has joined #ruby
[07:26:51] adambeynon: has joined #ruby
[07:26:51] petems: has joined #ruby
[07:26:51] Fenhl: has joined #ruby
[07:26:58] EXCHGR: has joined #ruby
[07:27:01] tcopeland: has joined #ruby
[07:27:01] ChaosBringer: has joined #ruby
[07:27:01] r3m: has joined #ruby
[07:27:07] rabajaj: has joined #ruby
[07:27:10] deimos: has joined #ruby
[07:27:10] mitsuhiko: has joined #ruby
[07:27:12] cats: has joined #ruby
[07:27:25] KnownSyntax: has joined #ruby
[07:27:49] raynold: has joined #ruby
[07:27:52] andikr: has joined #ruby
[07:27:58] tjbp: has joined #ruby
[07:28:26] jottr: has joined #ruby
[07:28:36] genta: has joined #ruby
[07:28:41] S007: has joined #ruby
[07:30:31] twe4ked: has joined #ruby
[07:30:48] kiltzman: has joined #ruby
[07:30:54] Antiarc: has joined #ruby
[07:31:43] sspreitz: has joined #ruby
[07:33:42] alex``: has joined #ruby
[07:34:18] eroux: has joined #ruby
[07:36:22] jottr: has joined #ruby
[07:42:47] mtkd: has joined #ruby
[07:44:39] jottr: has joined #ruby
[07:47:15] aupadhye: has joined #ruby
[07:52:14] burgestrand: has joined #ruby
[07:56:05] pwnd_nsfw`: has joined #ruby
[07:56:51] venmx: has joined #ruby
[07:58:28] leah2: has joined #ruby
[07:58:33] BTRE: has joined #ruby
[08:01:36] mjacob: has joined #ruby
[08:02:02] nyuszika7h_: has joined #ruby
[08:02:31] LBRapid: has joined #ruby
[08:03:07] trautwein: has joined #ruby
[08:04:59] gremax: has joined #ruby
[08:05:07] Danielss89: has joined #ruby
[08:06:31] Elysia: has joined #ruby
[08:07:54] clemens3: has joined #ruby
[08:08:46] mojtaba: has joined #ruby
[08:09:26] haylon_: has joined #ruby
[08:10:07] jottr: has joined #ruby
[08:13:55] alfiemax: has joined #ruby
[08:14:16] mlehrer: has joined #ruby
[08:20:48] mniip: has joined #ruby
[08:21:14] schneider: has joined #ruby
[08:24:31] jottr: has joined #ruby
[08:25:28] claudiuinberlin: has joined #ruby
[08:28:28] aufi: has joined #ruby
[08:30:04] sidx64: has joined #ruby
[08:32:32] jottr: has joined #ruby
[08:33:53] einarj: has joined #ruby
[08:44:31] crankhar1er: has joined #ruby
[08:45:54] jottr: has joined #ruby
[08:48:06] reber: has joined #ruby
[08:54:26] suukim: has joined #ruby
[08:54:47] aufi: has joined #ruby
[08:58:15] jottr: has joined #ruby
[08:58:56] mlkkk: has joined #ruby
[09:00:29] mikecmpbll: has joined #ruby
[09:02:37] cdg: has joined #ruby
[09:08:26] kapil___: has joined #ruby
[09:10:16] jottr: has joined #ruby
[09:10:55] marr: has joined #ruby
[09:12:29] jimmylu2333-rpi3: has joined #ruby
[09:12:34] sina: has joined #ruby
[09:13:18] tomphp: has joined #ruby
[09:19:12] jimmylu2333-fedo: has joined #ruby
[09:20:11] remix2000: has joined #ruby
[09:20:24] jottr: has joined #ruby
[09:20:47] mikecmpb_: has joined #ruby
[09:22:38] workmad3: has joined #ruby
[09:25:03] tomphp: has joined #ruby
[09:25:40] schneider: has joined #ruby
[09:27:14] riotjones: has joined #ruby
[09:27:16] asio: has joined #ruby
[09:28:50] Inoperable: has joined #ruby
[09:31:44] jottr: has joined #ruby
[09:33:09] Mosselman: has joined #ruby
[09:35:39] Axy: has joined #ruby
[09:37:12] venmx: has joined #ruby
[09:39:22] schneider: has joined #ruby
[09:39:38] dionysus69: does it matter for method to be private in modules?
[09:39:44] jottr: has joined #ruby
[09:40:31] dionysus69: since, if you include module in other places, private methods are available, for now I can't think of a way one would use private methods in a module
[09:40:59] Mosselman: has joined #ruby
[09:41:10] drale2k_: has joined #ruby
[09:44:37] shenghi: has joined #ruby
[09:48:10] RougeR: has joined #ruby
[09:48:37] crankhar1er: has joined #ruby
[09:49:08] martinw1: has joined #ruby
[09:49:17] martinw1: has joined #ruby
[09:49:47] martinw1: has joined #ruby
[09:49:50] Nobun: has joined #ruby
[09:49:55] martinw1: has left #ruby: ()
[09:50:27] Nobun: well... I'd like to give a try to mruby instead of ruby in order to embed ruby in my application.
[09:51:11] jottr: has joined #ruby
[09:51:54] Nobun: but, since I'm developing a rather complex application I need to understand how mruby works in a lot of different aspects.
[09:52:06] tomphp: has joined #ruby
[09:52:58] mikecmpbll: has joined #ruby
[09:53:14] schneider: has joined #ruby
[09:53:29] Nobun: first of all. Mruby uses rake in order to compile c sources, as far as I understand. But in my situatuation is not suggested to use rake (I am developing a qt application using cmake)
[09:53:57] Nobun: I could simply let compile mruby in my source code and use static libs but...
[09:54:33] Nobun: it seems that mruby wants to use gems in order to extend/embed ruby. This thing is totally unclear to me.
[09:55:05] Nobun: I need a way in order to let ruby talk with my application and vice-versa
[09:55:16] Nobun: and it is a c++ application.
[09:56:02] Nobun: Is there anyone that can help me understand how mruby should correctly used? And that can points me what additional documentation I should read?
[09:56:22] Papierkorb: has joined #ruby
[09:59:27] schneider: has joined #ruby
[09:59:54] qyliss: I’m livetweeting a Ruby conference if anyone wants to follow along! https://twitter.com/qyliss/status/976744478198419457
[10:01:50] jottr: has joined #ruby
[10:04:48] tomphp: has joined #ruby
[10:06:38] dionysus69: has joined #ruby
[10:07:45] sidx64: has joined #ruby
[10:08:17] jottr: has joined #ruby
[10:09:38] Papierkorb: has left #ruby: ("Konversation terminated!")
[10:10:07] lxsameer: has joined #ruby
[10:14:16] tvw: has joined #ruby
[10:14:21] sanscoeur: has joined #ruby
[10:14:28] workmad3: has joined #ruby
[10:17:45] drale2k_: has joined #ruby
[10:19:48] tribut: has joined #ruby
[10:20:27] tribut: Is there a way to tell ruby to prefer user gem to system gems?
[10:21:02] qyliss: tribut: the GEM_HOME/GEM_PATH env bars
[10:21:11] tribut: I know about GEM_PATH, but that seems to contain the ruby version so I cannot just add it to .bashrc because it will break on different machines that have other versions of ruby installed.
[10:21:44] qyliss: In that case, you probably want a Ruby version manager
[10:21:47] qyliss: Check out Christ
[10:21:56] qyliss: ACTION sighs at autocorrect
[10:22:28] tribut: qyliss: Thanks. But I don't have root on all machines.
[10:22:46] qyliss: You shouldn’t need it
[10:22:51] tomphp: has joined #ruby
[10:22:54] qyliss: I’m pretty sure you can install it anywhere
[10:23:24] tribut: Hmkay, but I will need to install it on all machines where I'm using ruby? Or at least all the ones where I want my "gem install --user" gems to be actually used?
[10:25:11] tribut: Thanks, I'll go read the docs now :)
[10:28:06] tomphp: has joined #ruby
[10:32:14] shuforov: has joined #ruby
[10:35:14] tomphp: has joined #ruby
[10:45:13] schneider: has joined #ruby
[10:45:24] drale2k_: has joined #ruby
[10:54:09] WhereIsMySpoon: has joined #ruby
[10:54:10] WhereIsMySpoon: has joined #ruby
[10:56:52] shuforov: has joined #ruby
[11:00:11] jamesyu: has joined #ruby
[11:00:55] AJA4350: has joined #ruby
[11:01:43] tribut: It seems chruby does not set GEM_PATH or GEM_HOME for the system ruby. So I would have to install a local version of ruby everywhere for that to work. This is definitely not what I think is acceptable :/
[11:02:44] tribut: How is using the user-installed ruby before using the system-wide not the default? I'm really baffled by how hard this is.
[11:03:37] dstrunk: has joined #ruby
[11:04:46] schneider: has joined #ruby
[11:06:14] reusedSalt: has joined #ruby
[11:12:33] sidx64: has joined #ruby
[11:12:49] drale2k_: has joined #ruby
[11:13:32] tribut: Also, chruby seems to build the GEM_PATH using "$HOME/.gem/$RUBY_ENGINE/$RUBY_VERSION" where $RUBY_VERSION is {#RUBY_VERSION}. Which is apparently not correct here. {#RUBY_VERSION} is 2.3.3 and Gem.user_dir is $HOME/.gem/ruby/2.3.0
[11:17:27] schneider: has joined #ruby
[11:18:41] sanscoeur: has joined #ruby
[11:19:03] ramfjord: has joined #ruby
[11:20:33] RougeT430: has joined #ruby
[11:21:43] nicesignal: has joined #ruby
[11:24:23] tribut: This is what I'll be using, I guess: https://dump.tribut.de/v/X18iTuRBgd/bash
[11:26:40] amatas: has joined #ruby
[11:29:57] amatas: has joined #ruby
[11:30:21] amatas: has left #ruby: ()
[11:30:32] drale2k_: has joined #ruby
[11:31:23] phaul: has joined #ruby
[11:33:24] amatas: has joined #ruby
[11:34:55] Cavallari: has joined #ruby
[11:37:03] vyorkin: has joined #ruby
[11:38:31] tomphp: has joined #ruby
[11:39:01] Mosselman: has joined #ruby
[11:42:26] sidx64: has joined #ruby
[11:44:09] burgestrand: has joined #ruby
[11:45:01] sidx64: has joined #ruby
[11:45:23] tomphp: has joined #ruby
[11:46:51] dviola: has joined #ruby
[11:48:45] mkroman: has joined #ruby
[11:49:09] S007: has joined #ruby
[11:52:35] dr3wo: has joined #ruby
[11:53:16] tomphp: has joined #ruby
[11:55:36] Mike11: has joined #ruby
[11:56:05] Mosselman: has joined #ruby
[11:59:22] physicist__: has joined #ruby
[12:03:57] drale2k_: has joined #ruby
[12:05:41] tribut: ... and I'm still confused:
[12:05:48] anisha_: has joined #ruby
[12:05:49] tribut: $ gem which -a tmuxinator
[12:06:02] tribut: /usr/lib/ruby/vendor_ruby/tmuxinator.rb
[12:06:04] tribut: /home/felix/.gem/ruby/2.3.0/gems/tmuxinator-0.10.1/lib/tmuxinator.rb
[12:06:29] tribut: What environment variable determines the load order here? GEM_PATH and GEM_HOME both list $HOME/.gem/... first.
[12:06:44] amatas: has joined #ruby
[12:08:53] Mosselman: has joined #ruby
[12:12:02] physicist__: has joined #ruby
[12:17:45] Papierkorb: has joined #ruby
[12:17:52] Papierkorb: has left #ruby: ("Konversation terminated!")
[12:20:24] Mosselman: has joined #ruby
[12:22:51] burgestrand: tribut What does it say in `gem env`?
[12:24:09] tribut: Burgestrand: https://dump.tribut.de/v/bmRaammDRS/text
[12:25:47] pilne: has joined #ruby
[12:35:34] chouhoulis: has joined #ruby
[12:43:18] dminuoso: ACTION pokes havenwood
[12:43:27] cyberg: has joined #ruby
[12:44:25] burgestrand: tribut where does `/usr/lib/ruby/vendor_ruby` come from? I can't see it in your `gem env`
[12:49:24] sanscoeur: has joined #ruby
[12:53:53] tribut: Debian distribution packages. How ruby knows about it however I wasn't able to find out.
[12:55:28] cdg: has joined #ruby
[12:56:32] karapetyan: has joined #ruby
[12:57:08] chouhoulis: has joined #ruby
[13:00:02] cdg: has joined #ruby
[13:00:39] tomphp: has joined #ruby
[13:01:50] tomphp: has joined #ruby
[13:03:40] Psybur: has joined #ruby
[13:03:47] cschneid_: has joined #ruby
[13:04:26] karapetyan: has joined #ruby
[13:06:04] Cthulu201: has joined #ruby
[13:06:33] jcalla: has joined #ruby
[13:08:03] cschneid_: has joined #ruby
[13:09:00] conta: has joined #ruby
[13:10:19] aufi: has joined #ruby
[13:10:23] synthroid: has joined #ruby
[13:12:38] rsh: has joined #ruby
[13:12:52] crankhar1er: has joined #ruby
[13:13:11] mojtaba: Hello, I am trying to use ruby for the first time. ruby -v gives me ruby 2.5.0p0, but when I type ruby in the command line, it just goes to the next line and nothing happens. Do you know what should I do?
[13:13:23] mojtaba: I am using ubuntu 16.04 LTS
[13:14:47] John_Ivan: has joined #ruby
[13:16:17] cschneid_: has joined #ruby
[13:19:09] ramfjord: has joined #ruby
[13:21:43] canton7: mojtaba, what are you trying to do?
[13:22:00] canton7: mojtaba, if you want to run an interactive ruby console, run 'irb'
[13:22:10] mojtaba: canton7: my bad, I was trying to have the interactive session, which is irb.
[13:22:22] mojtaba: canton7: Thanks
[13:22:49] karapetyan: has joined #ruby
[13:25:58] karapetyan: has joined #ruby
[13:31:26] pavelz: has joined #ruby
[13:31:54] pavelz: has joined #ruby
[13:33:57] dr3wo: has joined #ruby
[13:37:04] rippa: has joined #ruby
[13:40:03] ldnunes: has joined #ruby
[13:44:03] Mike111: has joined #ruby
[13:45:25] karapetyan: has joined #ruby
[13:47:23] cschneid_: has joined #ruby
[13:47:34] jinie: has joined #ruby
[13:47:55] kn-928: has joined #ruby
[13:48:15] lele: has joined #ruby
[13:49:46] duckpuppy: has joined #ruby
[13:50:43] sanscoeur: has joined #ruby
[13:54:06] jecht: has joined #ruby
[13:55:42] nowhere_man: has joined #ruby
[13:57:28] TomyWork: has joined #ruby
[13:57:52] Rapture: has joined #ruby
[14:00:09] cschneid: has joined #ruby
[14:00:12] Guest33581: has joined #ruby
[14:04:02] tomphp: has joined #ruby
[14:04:25] gnufied: has joined #ruby
[14:04:53] nfsnobody: has joined #ruby
[14:05:57] Fenhl: has joined #ruby
[14:09:04] drale2k_: has joined #ruby
[14:09:12] stevenhong: has joined #ruby
[14:10:13] uplime: has joined #ruby
[14:11:32] karapetyan: has joined #ruby
[14:14:19] yuanyua: has joined #ruby
[14:15:27] stevenhong: has joined #ruby
[14:16:00] sammi`: has joined #ruby
[14:16:17] Mosselman: has joined #ruby
[14:18:27] cschneid: has joined #ruby
[14:20:15] stevenhong: has joined #ruby
[14:20:56] karapetyan: has joined #ruby
[14:22:20] alfiemax: has joined #ruby
[14:22:21] stevenhong_: has joined #ruby
[14:22:44] mkroman: has joined #ruby
[14:23:04] karapetyan: has joined #ruby
[14:26:00] jamesaxl: has joined #ruby
[14:26:00] Mosselman: has joined #ruby
[14:30:22] DTZUZO: has joined #ruby
[14:30:22] netherwolfe: has joined #ruby
[14:36:20] ramfjord: has joined #ruby
[14:38:40] coderphive: has joined #ruby
[14:39:20] jeffreylevesque: has joined #ruby
[14:40:07] karapetyan: has joined #ruby
[14:41:41] stevenhong_: has joined #ruby
[14:41:55] cpruitt: has joined #ruby
[14:41:59] stevenhong_: has joined #ruby
[14:42:22] roshanavand: has joined #ruby
[14:43:37] arne: what do i do if i want to search fast in a array of strings?
[14:44:28] arne: i mean i could do a hash, which all =>nil
[14:44:33] arne: but, that's not the point, set maybe?
[14:45:31] dr3wo: has joined #ruby
[14:46:18] Esa_: has joined #ruby
[14:46:49] tomphp: has joined #ruby
[14:47:13] stevenhong: has joined #ruby
[14:48:45] mojtaba: has joined #ruby
[14:48:48] cschneid: has joined #ruby
[14:51:06] oleo: has joined #ruby
[14:52:09] sanscoeur: has joined #ruby
[14:52:51] jinie: has joined #ruby
[14:53:36] shpoont: has joined #ruby
[14:55:37] karapetyan: has joined #ruby
[14:57:55] p4tch3s: arne: find() maybe?
[15:00:21] karapetyan: has joined #ruby
[15:00:26] pastorinni: has joined #ruby
[15:04:21] roshanavand: has joined #ruby
[15:07:16] c0ncealed: has joined #ruby
[15:07:27] mojtaba: has joined #ruby
[15:12:57] karapety_: has joined #ruby
[15:13:02] mongag: has joined #ruby
[15:16:29] sidx64: has joined #ruby
[15:17:48] Dimik: has joined #ruby
[15:18:47] z64: has joined #ruby
[15:20:34] sidx64: has joined #ruby
[15:23:45] nowhereman_: has joined #ruby
[15:27:15] robscomputer: has joined #ruby
[15:31:20] _whitelogger: has joined #ruby
[15:32:16] stevenhong: has joined #ruby
[15:33:42] mikecmpbll: has joined #ruby
[15:33:51] conta1: has joined #ruby
[15:34:26] orbyt_: has joined #ruby
[15:38:01] anisha_: has joined #ruby
[15:38:19] dr3wo: has joined #ruby
[15:39:50] arne: p4tch3s: >fast
[15:42:57] cagomez: has joined #ruby
[15:44:14] troys: has joined #ruby
[15:45:21] n008f4g_: has joined #ruby
[15:47:54] dr3wo: has joined #ruby
[15:48:31] jcarl43: has joined #ruby
[15:52:07] synthroid: has joined #ruby
[15:52:50] tolerablyjake: has joined #ruby
[15:53:59] synthroid: has joined #ruby
[15:54:28] schneider: has joined #ruby
[15:55:00] pavelz: has joined #ruby
[15:55:05] pavelz: has joined #ruby
[15:56:52] jinie: has joined #ruby
[16:01:52] schneider: has joined #ruby
[16:03:06] breakfast1: has joined #ruby
[16:03:37] ramfjord: has joined #ruby
[16:04:07] harrycs: has joined #ruby
[16:04:22] [Butch]: has joined #ruby
[16:04:30] ldnunes: has joined #ruby
[16:07:12] breakfast1: is there a way to define dependencies on a per ruby version basis ?
[16:07:41] breakfast1: for example say i want to be able to support versions 2.2 to 2.5 excluded using some backport
[16:08:17] breakfast1: then i need to differentiate between 2.5 and below
[16:08:30] breakfast1: is that possible inside a gemspec ?
[16:08:38] breakfast1: *i searched*
[16:08:49] Silthias: has joined #ruby
[16:09:38] Mosselman: has joined #ruby
[16:10:57] alfiemax: has joined #ruby
[16:11:17] alfiemax: has joined #ruby
[16:14:27] eckhardt: has joined #ruby
[16:21:53] Zaab1t: has joined #ruby
[16:22:32] karapetyan: has joined #ruby
[16:23:40] yeticry: has joined #ruby
[16:25:25] _aeris_: has joined #ruby
[16:26:26] tcopeland: has joined #ruby
[16:28:49] [Butch]: has joined #ruby
[16:30:33] war_pigs: has joined #ruby
[16:31:54] robscomputer: has joined #ruby
[16:36:02] jeffreylevesque: has joined #ruby
[16:36:06] SeepingN: has joined #ruby
[16:38:17] dr3wo: has joined #ruby
[16:39:58] John_Ivan: has joined #ruby
[16:42:08] jimmylu2333-fedo: has joined #ruby
[16:43:18] darkhanb: has joined #ruby
[16:44:21] shuforov: has joined #ruby
[16:45:42] jamesaxl: has joined #ruby
[16:46:24] Azure: has joined #ruby
[16:49:42] jimmylu2333-fedo: has joined #ruby
[16:51:23] sanscoeur: has joined #ruby
[16:58:46] milardovich: has joined #ruby
[16:59:31] Papierkorb: has joined #ruby
[17:00:07] dionysus69: has joined #ruby
[17:00:09] jenrzzz: has joined #ruby
[17:02:08] Exagone313: has joined #ruby
[17:02:53] rgiscard: has joined #ruby
[17:04:23] war_pigs: has joined #ruby
[17:05:57] dr3wo: has joined #ruby
[17:07:02] tribut: has joined #ruby
[17:08:45] Exagone313: has joined #ruby
[17:11:33] Ryzokuken: has joined #ruby
[17:13:59] jenrzzz: has joined #ruby
[17:15:09] mojtaba: has joined #ruby
[17:15:37] Exagone313: has joined #ruby
[17:16:59] Azure|dc: has joined #ruby
[17:17:18] bodgix: has joined #ruby
[17:18:12] DoubleMalt: has joined #ruby
[17:19:52] jjaii9: has joined #ruby
[17:20:15] BTRE: has joined #ruby
[17:23:23] einarj: has joined #ruby
[17:24:45] tcopeland: has joined #ruby
[17:25:58] jeecht: has joined #ruby
[17:26:27] pavelz: has joined #ruby
[17:26:47] drale2k_: has joined #ruby
[17:28:06] nowhere_man: has joined #ruby
[17:28:29] ramfjord: has joined #ruby
[17:30:26] hph^: has joined #ruby
[17:30:54] Papierkorb: has left #ruby: ("Konversation terminated!")
[17:34:08] riotjoe: has joined #ruby
[17:34:29] banisterfiend: has joined #ruby
[17:37:32] war_pigs: has joined #ruby
[17:38:43] cdg_: has joined #ruby
[17:42:54] riotjones: has joined #ruby
[17:44:25] cdg: has joined #ruby
[17:45:40] GodFather: has joined #ruby
[17:46:44] jeeecht: has joined #ruby
[17:47:56] jecht: has joined #ruby
[17:48:11] chouhoulis: has joined #ruby
[17:52:32] ldepandis: has joined #ruby
[17:54:00] milardovich: has joined #ruby
[17:54:10] mistym: has joined #ruby
[17:56:17] cagomez: has joined #ruby
[17:56:24] war_pigs: has joined #ruby
[18:00:04] claudiuinberlin: has joined #ruby
[18:00:26] desperek: has joined #ruby
[18:01:12] cagomez_: has joined #ruby
[18:06:08] ecuanaso: has joined #ruby
[18:14:02] mojtaba: has joined #ruby
[18:16:30] banisterfiend: has joined #ruby
[18:18:37] mojtaba: has joined #ruby
[18:18:42] chouhoulis: has joined #ruby
[18:21:43] ramfjord: has joined #ruby
[18:28:19] pavelz: has joined #ruby
[18:28:33] banisterfiend: has joined #ruby
[18:29:29] isaacNM: has joined #ruby
[18:35:09] Cavallari: has joined #ruby
[18:37:26] byte512: has joined #ruby
[18:39:28] milardovich: has joined #ruby
[18:39:45] banisterfiend: has joined #ruby
[18:46:30] rabajaj: has joined #ruby
[18:47:23] cdg: has joined #ruby
[18:48:30] cdg_: has joined #ruby
[18:49:16] byte512: has joined #ruby
[18:50:37] leitz: has joined #ruby
[19:06:41] zacts: has joined #ruby
[19:09:38] agent_white: has joined #ruby
[19:09:40] agent_white: has joined #ruby
[19:10:00] harrycs: has joined #ruby
[19:11:12] clemens3: has joined #ruby
[19:13:50] lolhit|erlol: has joined #ruby
[19:13:55] ShekharReddy: has joined #ruby
[19:14:05] lolhit|erlol: when is ruby 3 coming out?
[19:16:53] leitz: No idea; it seems still in concept phase.
[19:18:31] leitz: Well, concept with code, but not sure they are actually expecing all the code to work. :P
[19:20:22] milardovich: has joined #ruby
[19:20:51] cagomez: has joined #ruby
[19:21:01] isaacNM__: has joined #ruby
[19:22:54] cagomez: has joined #ruby
[19:25:22] jenrzzz: has joined #ruby
[19:25:53] war_pigs: has joined #ruby
[19:30:08] havenwood: !badnick lolhit|erlol
[19:30:08] ruby[bot]: +bb lolhit|erlol!*@*$#ruby-banned *!*@gateway/web/freenode/ip.47.198.226.212$#ruby-banned
[19:30:08] ruby[bot]: ruby[bot] kicked lolhit|erlol: is not suitable for this channel, see http://ruby-community.com/pages/user_rules
[19:30:36] apeiros: oh. wow. didn't spot that. well done.
[19:30:51] cagomez: has joined #ruby
[19:35:01] leitz: Still missing it...
[19:36:08] byte512: has joined #ruby
[19:49:33] pastorinni: has joined #ruby
[19:49:35] John_Ivan: has joined #ruby
[19:50:37] venmx: has joined #ruby
[19:51:43] sidx64: has joined #ruby
[19:54:22] banisterfiend: has joined #ruby
[19:55:58] eckhardt: has joined #ruby
[19:57:07] rgiscard: has joined #ruby
[19:57:29] tolerablyjake: has joined #ruby
[20:04:58] shpoont: has joined #ruby
[20:06:53] leitz: Math question: If the formula is F = GMm/r2, with the 2 being a superscript of the r, is it best coded as "(GMm) / r2" or "GM(m/r2)"? It would seem to change the results, wouldn't it?
[20:12:21] sidx64: has joined #ruby
[20:12:30] shpoont: has joined #ruby
[20:23:49] tomphp: has joined #ruby
[20:24:16] cagomez: has joined #ruby
[20:24:42] tolerablyjake: has joined #ruby
[20:26:00] apeiros: leitz: doesn't matter.
[20:26:27] apeiros: leitz: just be aware that int/int = int, i.e. 7/2 == 3
[20:26:41] sidx64_: has joined #ruby
[20:27:28] n008f4g_: has joined #ruby
[20:28:05] rabajaj: has joined #ruby
[20:28:45] fiachetti: has joined #ruby
[20:32:36] rabajaj: has joined #ruby
[20:33:39] rgiscard: has joined #ruby
[20:36:22] havenwood: >> 7.fdiv 2
[20:36:23] ruby[bot]: havenwood: # => 3.5 (https://eval.in/977127)
[20:36:34] ruby[bot]: havenwood: # => (7/2) (https://eval.in/977128)
[20:39:36] dr3wo: has joined #ruby
[20:39:59] jottr: has joined #ruby
[20:43:46] naquad: has joined #ruby
[20:46:17] leitz: Hrmph, shows why I'm not a mathematician...
[20:47:15] venmx: has joined #ruby
[20:47:29] orbyt_: has joined #ruby
[20:48:41] ur5us: has joined #ruby
[20:50:17] minimalism: has joined #ruby
[20:53:18] mojtaba: has joined #ruby
[20:55:17] pastorinni: has joined #ruby
[20:57:40] tekk: has joined #ruby
[20:58:08] quiller: has joined #ruby
[20:59:31] mikecmpbll: has joined #ruby
[21:00:11] marxarel_: has joined #ruby
[21:00:29] Antiarc: has joined #ruby
[21:02:26] jenrzzz_: has joined #ruby
[21:04:32] cdg: has joined #ruby
[21:06:33] leitz: Link to good example on using scientific notation with Ruby? I need to do something like 6.667.e-11 but that didn't seem to work.
[21:07:51] apeiros: you have a dot too many
[21:07:59] apeiros: >> 6.667e-11
[21:08:00] ruby[bot]: apeiros: # => 6.667e-11 (https://eval.in/977129)
[21:09:33] leitz: apeiros, thanks!
[21:11:22] govg: has joined #ruby
[21:12:14] Antiarc: has joined #ruby
[21:13:01] cdg_: has joined #ruby
[21:13:43] harrycs: I think I'm spacing on something obvious. Do I need to manually sanitize all user input in Rails 5? I have a user-inputted `note` column - I can just pass a param from the controller directly to the model, right?
[21:14:22] tomphp: has joined #ruby
[21:16:47] govg: has joined #ruby
[21:17:40] jamesaxl: has joined #ruby
[21:19:13] leitz: harrycs, sanitizing is always good. As is asking Rails questions on #RubyOnRails. :)
[21:19:44] harrycs: leitz: thanks, didn't know about that channel :)
[21:20:20] nowhereman_: has joined #ruby
[21:21:04] venmx: has joined #ruby
[21:21:20] dr3wo: has joined #ruby
[21:21:27] John_Ivan: has joined #ruby
[21:24:15] tomphp: has joined #ruby
[21:28:15] Mrgoose2: Anyone familiar with Ruby and Rack?
[21:28:57] guanine: has joined #ruby
[21:32:17] havenwood: Mrgoose2: Yes, many folk here are!
[21:33:14] leitz: Heavy math for gravity; I'm off by several decimal places... https://gist.github.com/LeamHall/670d1658654bbb43165f25850304eafd
[21:34:22] Mrgoose2: Im having a problem where, im trying to POST an array in the body of an API request like ["1","2,"3"] and I get an
[21:34:29] Mrgoose2: TypeError - no implicit conversion of Array into Hash:
[21:34:36] Mrgoose2: in /app/vendor/gems/rack-2.0.4/lib/rack/request.rb:358:in `merge'
[21:35:12] jeffreylevesque: has joined #ruby
[21:35:22] phaul: has joined #ruby
[21:35:55] tcopeland: has joined #ruby
[21:36:55] havenwood: Mrgoose2: You're doing a POST request to your Rack app and are getting that error?
[21:37:25] havenwood: Trying it locally with curl or whatev?
[21:38:16] Mrgoose2: {"ids":["1","2"]}
[21:38:19] Mrgoose2: something like that would work
[21:38:24] Mrgoose2: but just an array doesn't work
[21:39:24] kn-928: has joined #ruby
[21:40:08] havenwood: Mrgoose2: It looks like you're passing params, not a body.
[21:40:34] havenwood: Mrgoose2: https://github.com/rack/rack/blob/master/lib/rack/request.rb#L354-L361
[21:41:20] havenwood: Mrgoose2: Switch your payload from the params to the body of the request and it should fix this.
[21:44:33] netherwolfe: has joined #ruby
[21:47:43] pastorinni: has joined #ruby
[21:48:17] Mrgoose2: is that just using "body" instead of "params" method?
[21:49:36] havenwood: Mrgoose2: How are you making the request? Show the code you used? It seems you're passing the array as params and not as body data".
[21:51:47] havenwood: Mrgoose2: Show us your curl request?
[21:52:58] havenwood: Mrgoose2: I'm assuming you're posting params not body data, accidentally. (Since that's what it appears is happening from where it blew up.)
[21:53:13] jenrzzz: has joined #ruby
[21:53:22] havenwood: POST -d '["1","2,"3"]'
[21:54:25] Mrgoose2: Oh , yea. So im using POSTMAN and doing a POST with the array in the body . One sec i'll try directly from curl
[22:08:52] PixeLInc: has joined #ruby
[22:14:57] tolerablyjake: has joined #ruby
[22:17:02] Vapez: has joined #ruby
[22:19:21] dr3wo: has joined #ruby
[22:22:26] venmx: has joined #ruby
[22:28:06] dr3wo: has joined #ruby
[22:29:37] fyrril: has joined #ruby
[22:30:01] fyrril: has joined #ruby
[22:30:30] chouhoulis: has joined #ruby
[22:33:05] leitz: Mathematician friend pointed out the error; the Earth's radius is 6371 kilometers. Had to convert to meters to get the right result.
[22:34:08] havenwood: leitz: But then you lose the elegance of four Poppyseeds in one Barleycorn and three Barleycorns in an Inch!
[22:34:32] havenwood: Oh, it was metric to metric, nevermind. ;-P
[22:39:10] \void: has joined #ruby
[22:40:09] mojtaba: has joined #ruby
[22:49:38] eb0t: has joined #ruby
[22:52:24] phaul: leitz: are you working for NASA? :)
[22:56:46] leitz: phaul, I'm writing sci-fi and trying to be at least on the same decimal point.
[22:56:56] shpoont: has joined #ruby
[22:57:56] mojtaba: has joined #ruby
[23:10:24] iszak: has joined #ruby
[23:10:44] rgiscard: has joined #ruby
[23:13:11] cschneid: has joined #ruby
[23:21:12] chouhoulis: has joined #ruby
[23:21:50] chouhoulis: has joined #ruby
[23:26:48] Mike11: has joined #ruby
[23:27:08] milardovich: has joined #ruby
[23:35:20] \void: has joined #ruby
[23:38:01] white_lilies: has joined #ruby
[23:40:32] karapetyan: has joined #ruby
[23:42:59] cdg: has joined #ruby
[23:43:50] leitz: Enough fun for one night. Later all!
[23:45:05] halbbalda: has joined #ruby
[23:46:58] Ol99SBPK: has joined #ruby
[23:48:39] Ol99SBPK: Is there a Ruby style guide that most people use out there? I'm not sure what habits I should start forming. Sometimes I see people use parenthesis on method calls with no arguments and sometimes I see them leave them off for example. thing.method() vs thing.method.
[23:49:05] stairmast0r: has joined #ruby
[23:53:23] stevenhong: has joined #ruby