« Back to channel list

#ruby - 17 May 2018

« Back 1 day Forward 1 day »
[00:03:48] n0m4d1c: has joined #ruby
[00:04:16] sammi`: has joined #ruby
[00:07:29] schneider: has joined #ruby
[00:08:17] chouhoulis: has joined #ruby
[00:09:17] sammi`: has joined #ruby
[00:09:52] moei: has joined #ruby
[00:10:08] caleBOT_: has joined #ruby
[00:10:08] caleBOT: has joined #ruby
[00:10:47] ellcs1: has joined #ruby
[00:12:08] chouhoulis: has joined #ruby
[00:12:20] thinkpad: has joined #ruby
[00:12:27] andrevan: has joined #ruby
[00:13:28] alfiemax: has joined #ruby
[00:14:07] jottr: has joined #ruby
[00:14:17] sammi`: has joined #ruby
[00:16:50] schneider: has joined #ruby
[00:19:17] sammi`: has joined #ruby
[00:19:47] xtsee: has joined #ruby
[00:24:18] sammi`: has joined #ruby
[00:25:32] cagomez: has joined #ruby
[00:26:09] schneider: has joined #ruby
[00:29:18] zapata: has joined #ruby
[00:29:18] sammi`: has joined #ruby
[00:29:43] cagomez: has joined #ruby
[00:34:18] sammi`: has joined #ruby
[00:35:27] schneider: has joined #ruby
[00:37:36] c0ncealed1: has joined #ruby
[00:39:19] sammi`: has joined #ruby
[00:42:25] p0p0pr37: has joined #ruby
[00:42:25] p0p0pr37: has joined #ruby
[00:44:18] sammi`: has joined #ruby
[00:44:33] Jameser: has joined #ruby
[00:44:43] schneider: has joined #ruby
[00:46:00] heftig: has joined #ruby
[00:46:32] Jameser: has joined #ruby
[00:49:19] sammi`: has joined #ruby
[00:50:31] arooni_team_b: has joined #ruby
[00:54:08] schneider: has joined #ruby
[00:54:20] sammi`: has joined #ruby
[00:58:16] sammi`: has joined #ruby
[00:58:20] garyserj: baweaver, havenwood: thanks
[01:02:13] white_lilies: has joined #ruby
[01:03:17] sammi`: has joined #ruby
[01:03:24] schneider: has joined #ruby
[01:04:09] elchingadou: has joined #ruby
[01:08:16] _antares_: has joined #ruby
[01:12:44] schneider: has joined #ruby
[01:14:43] zapata: has joined #ruby
[01:22:03] schneider: has joined #ruby
[01:26:19] caleBOT: has joined #ruby
[01:26:21] caleBOT_: has joined #ruby
[01:28:41] cagomez: has joined #ruby
[01:29:40] orbyt_: has joined #ruby
[01:29:55] sammi`: has joined #ruby
[01:31:19] schneider: has joined #ruby
[01:31:25] dinfuehr: has joined #ruby
[01:35:32] kmurphy4: has joined #ruby
[01:36:30] alfiemax: has joined #ruby
[01:36:42] cagomez: has joined #ruby
[01:37:32] cagomez: I have a CommandFactory class that passes a `command` to a "base command". However, I'm not sure how/where to test the command it passes to the base command. Example here: https://gist.github.com/cagmz/f71fbb54f27e2fb3494f35a9a614a4a3
[01:37:50] cagomez: Specifically, my tests currently don't test https://gist.github.com/cagmz/f71fbb54f27e2fb3494f35a9a614a4a3#file-command_factory-rb-L17-L18
[01:38:07] mroutis: has joined #ruby
[01:38:51] cagomez: Should I just move those lines into the BaseCommand instance itself? the proc seems kind of gratuitous and I have no real reason to pass a proc into the base command. by doing so, I can test the behavior
[01:40:40] schneider: has joined #ruby
[01:42:09] kmurphy4: has joined #ruby
[01:43:18] baweaver: cagomez: Why are you using a command pattern?
[01:44:21] baweaver: This seems like you could just use items.map(fn)
[01:44:57] baweaver: Command patterns make very little sense in languages with functions.
[01:47:15] baweaver: https://www.voxxed.com/2016/04/gang-four-patterns-functional-light-part-1/
[01:47:39] baweaver: Most of the Gang of Four patterns were invented in terms of Java without consideration for anonymous functions
[01:48:00] baweaver: because at that point they didn't exist in Java.
[01:48:14] baweaver: https://github.com/mariofusco/from-gof-to-lambda/tree/master/src/main/java/org/mfusco/fromgoftolambda/examples
[01:49:15] baweaver: A command is a verb in the context of a noun. Functions are in essence verbs. Coercing them to nouns (Objects) doesn't always make sense, and this is especially true in languages like Ruby and Javascript.
[01:50:01] schneider: has joined #ruby
[01:50:12] baweaver: So short version cagomez, you don't really need the Command pattern in Ruby.
[01:52:03] cagomez: I guess it's not strictly a "command". We have a convention of `DoXCommand` because it enforces the SRP
[01:54:18] baweaver: GoF patterns don't make sense in languages with functional features.
[01:55:44] caleBOT: has joined #ruby
[01:56:07] baweaver: I'd have to see the actual code used but I have a feeling you're making it more complicated than it needs to be.
[01:57:00] caleBOT_: has joined #ruby
[01:57:40] chouhoulis: has joined #ruby
[01:57:49] cagomez: baweaver, I probably am. I have a knack for that :\
[01:58:30] alfiemax: has joined #ruby
[01:59:18] schneider: has joined #ruby
[02:08:34] schneider: has joined #ruby
[02:09:18] alfiemax_: has joined #ruby
[02:10:52] jottr: has joined #ruby
[02:11:25] bmurt: has joined #ruby
[02:11:28] ciscam: has joined #ruby
[02:14:09] karapetyan: has joined #ruby
[02:17:56] schneider: has joined #ruby
[02:26:44] alfiemax: has joined #ruby
[02:27:10] memo1: has joined #ruby
[02:27:15] schneider: has joined #ruby
[02:33:14] arescorpio: has joined #ruby
[02:33:18] tomaw: has joined #ruby
[02:34:16] jenrzzz: has joined #ruby
[02:34:17] jenrzzz: has joined #ruby
[02:36:35] schneider: has joined #ruby
[02:37:26] _antares_: has joined #ruby
[02:45:53] schneider: has joined #ruby
[02:47:00] ciscam: has joined #ruby
[02:47:08] tuskkk___: how do I seed some data for rspec feature spec?
[02:49:03] guacamole: has joined #ruby
[02:49:04] guacamole: has joined #ruby
[02:55:13] schneider: has joined #ruby
[03:00:10] cadillac_: has joined #ruby
[03:02:53] darkhanb: has joined #ruby
[03:04:34] schneider: has joined #ruby
[03:09:35] karapetyan: has joined #ruby
[03:11:45] _zach: has joined #ruby
[03:13:50] schneider: has joined #ruby
[03:17:17] memo1: has joined #ruby
[03:19:39] howdoi: has joined #ruby
[03:22:45] memo1: has joined #ruby
[03:22:57] memo1: hi, is worthy learn ruby this days?, lookinig the omnipresence of js
[03:23:10] schneider: has joined #ruby
[03:24:08] cagomez: has joined #ruby
[03:24:26] baweaver: memo1: what research have you done on the subject?
[03:31:45] kapil___: has joined #ruby
[03:32:31] schneider: has joined #ruby
[03:33:47] caleBOT: has joined #ruby
[03:33:49] caleBOT_: has joined #ruby
[03:35:04] n0m4d1c: has joined #ruby
[03:36:06] govg: has joined #ruby
[03:36:11] roamingdog: has joined #ruby
[03:38:20] jrich523: has joined #ruby
[03:40:22] roamingd_: has joined #ruby
[03:41:47] schneider: has joined #ruby
[03:44:30] ciscam: has joined #ruby
[03:50:51] orbyt_: has joined #ruby
[03:51:05] schneider: has joined #ruby
[03:52:54] roamingdog: has joined #ruby
[03:56:10] gix-: has joined #ruby
[04:00:30] schneider: has joined #ruby
[04:09:53] schneider: has joined #ruby
[04:11:42] jottr: has joined #ruby
[04:12:24] jenrzzz: has joined #ruby
[04:19:04] schneider: has joined #ruby
[04:20:16] _antares_: has joined #ruby
[04:22:59] n0m4d1c: has joined #ruby
[04:23:53] hotpancakes: has joined #ruby
[04:28:25] schneider: has joined #ruby
[04:28:26] n0m4d1c: has joined #ruby
[04:28:30] memo1: baweaver: just looking the polls. Js and all the frameworks
[04:28:49] ramfjord: has joined #ruby
[04:29:01] baweaver: Polls are relatively worthless.
[04:37:39] schneider: has joined #ruby
[04:38:24] RougeR: has joined #ruby
[04:47:03] schneider: has joined #ruby
[04:47:15] n0m4d1c: has joined #ruby
[04:48:11] memo1: baweaver: my friend, you use ruby for webdevelopment?
[04:48:31] clemens3: has joined #ruby
[04:49:26] _antares_: has joined #ruby
[04:49:32] Radar: memo1: do you have any questions of substance?
[04:50:25] baweaver: We can help you learn Ruby, sure, but many people have already written about whether or not it's the right thing for you.
[04:50:33] baweaver: I'd encourage you to keep searching online for those articles.
[04:50:48] baweaver: But asking which language to use in a Ruby channel is very silly.
[04:50:50] _antares_: has joined #ruby
[04:51:56] CuriousMind: has joined #ruby
[04:52:09] CuriousMind: Hi, where can I learn about gem install's configuration options?
[04:52:34] CuriousMind: I want to learn about them in detail so I understand how the options work and stuff
[04:52:45] baweaver: gem help install
[04:53:10] baweaver: Either that or look it up on Google for an online version or tutorials around it.
[04:53:32] Radar: Also here: https://guides.rubygems.org/command-reference/#gem-install
[04:55:47] _antares_: has joined #ruby
[04:56:19] schneider: has joined #ruby
[04:59:47] dminuoso: Im trying to install a package but gem says error. What do?
[05:00:08] dminuoso: Radar can you help?
[05:00:35] dminuoso: ACTION sharpens his sword
[05:02:25] n0m4d1c: has joined #ruby
[05:02:41] c0ncealed1: has joined #ruby
[05:02:55] tonini: has joined #ruby
[05:02:59] baweaver: pointed question?
[05:04:03] dminuoso: baweaver: Yes it is. Radar is basically forced to provide a meaningful answer now.
[05:04:37] anisha: has joined #ruby
[05:05:40] schneider: has joined #ruby
[05:05:52] CuriousMind: I did 'gem install pg' and I was unable to install it. I did 'brew install postgresql' which apparently installed the app but when I do gem list I don't see it. How come?
[05:10:30] za1b1tsu: has joined #ruby
[05:12:19] guacamole: has joined #ruby
[05:12:20] guacamole: has joined #ruby
[05:13:39] _antares_: has joined #ruby
[05:15:01] schneider: has joined #ruby
[05:18:48] _antares_: has joined #ruby
[05:19:35] n0m4d1c: has joined #ruby
[05:23:21] n0m4d1c_: has joined #ruby
[05:23:26] sauvin: has joined #ruby
[05:24:18] schneider: has joined #ruby
[05:25:13] apeiros: has joined #ruby
[05:25:36] domhnall: has joined #ruby
[05:26:27] domhnall: hi, im looking to use ruby 2.5 while I have 2.4 install. How would I make the switch? Im on FreeBSD...checking documentation also.
[05:27:09] anisha_: has joined #ruby
[05:29:10] domhnall: hm, something about rvm seems useful. though I installed it but command not available.
[05:33:37] schneider: has joined #ruby
[05:35:05] Asher1: has joined #ruby
[05:35:12] n0m4d1c: has joined #ruby
[05:37:44] caleBOT: has joined #ruby
[05:37:46] caleBOT_: has joined #ruby
[05:40:17] tvw: has joined #ruby
[05:42:47] schleppel: has joined #ruby
[05:42:54] schneider: has joined #ruby
[05:43:30] Asher: has joined #ruby
[05:47:55] aufi: has joined #ruby
[05:50:25] jenrzzz: has joined #ruby
[05:51:07] Dykam: has joined #ruby
[05:51:53] domhnall: has joined #ruby
[05:52:19] schneider: has joined #ruby
[05:52:55] mtkd: has joined #ruby
[05:55:36] chris349: has joined #ruby
[05:58:49] dc1: has joined #ruby
[05:59:05] _antares_: has joined #ruby
[05:59:24] 7GHAAT31H: has joined #ruby
[05:59:24] reber: has joined #ruby
[06:01:34] reber: has joined #ruby
[06:01:35] schneider: has joined #ruby
[06:04:16] burgestrand: has joined #ruby
[06:07:03] shiroeni: has joined #ruby
[06:07:28] _antares_: has joined #ruby
[06:10:50] Ryzokuken: has joined #ruby
[06:10:54] schneider: has joined #ruby
[06:12:34] jottr: has joined #ruby
[06:13:23] Dykam: has joined #ruby
[06:13:58] sanscoeur: has joined #ruby
[06:17:04] burgestrand: has joined #ruby
[06:19:04] domhnall: has left #ruby: ()
[06:20:32] schneider: has joined #ruby
[06:31:08] sidx64: has joined #ruby
[06:31:48] _antares_: has joined #ruby
[06:39:31] sidx64_: has joined #ruby
[06:41:58] caleBOT: has joined #ruby
[06:42:36] sidx64: has joined #ruby
[06:43:38] apeiros: has joined #ruby
[06:44:13] drale2k_: has joined #ruby
[06:45:42] karapetyan: has joined #ruby
[06:46:16] schneider: has joined #ruby
[06:46:23] biberu: has joined #ruby
[06:52:12] ciscam: has joined #ruby
[06:54:50] n13z: has joined #ruby
[06:57:11] ramfjord: has joined #ruby
[07:01:45] TinkerT: has joined #ruby
[07:01:48] Tempesta: has joined #ruby
[07:02:09] mlkkk: has joined #ruby
[07:03:03] mlkkk: has joined #ruby
[07:03:28] suukim: has joined #ruby
[07:04:23] andikr: has joined #ruby
[07:05:07] burgestrand: has joined #ruby
[07:07:09] schneider: has joined #ruby
[07:07:50] sysvalve: has joined #ruby
[07:13:36] anisha: has joined #ruby
[07:15:26] blackmesa1: has joined #ruby
[07:19:06] shiroeni: / buffer 13
[07:19:21] claudiuinberlin: has joined #ruby
[07:19:59] sphenxes: has joined #ruby
[07:20:22] n0m4d1c: has joined #ruby
[07:21:35] TomyWork: has joined #ruby
[07:21:36] ellcs1: has left #ruby: ()
[07:26:52] blackmesa1: has joined #ruby
[07:30:42] amar: has joined #ruby
[07:32:13] schneider: has joined #ruby
[07:33:50] mikecmpbll: has joined #ruby
[07:39:42] schneider: has joined #ruby
[07:39:44] burgestrand: has joined #ruby
[07:45:24] sysvalve: has joined #ruby
[07:51:41] hahuang65: has joined #ruby
[07:52:42] Dykam: has joined #ruby
[07:57:29] mtkd: has joined #ruby
[07:58:55] hahuang65: has joined #ruby
[08:03:10] XB23: has joined #ruby
[08:04:39] mikecmpbll: has joined #ruby
[08:11:35] _antares_: has joined #ruby
[08:13:25] jottr: has joined #ruby
[08:13:26] guille-moe: has joined #ruby
[08:17:35] amar: has joined #ruby
[08:22:22] amar: has joined #ruby
[08:25:02] amar: has joined #ruby
[08:30:53] dionysus69: has joined #ruby
[08:32:26] dionysus69: has joined #ruby
[08:36:54] guille-moe: has joined #ruby
[08:38:29] KeyJoo: has joined #ruby
[08:39:25] KeyJoo: has joined #ruby
[08:42:04] caleBOT: has joined #ruby
[08:42:07] caleBOT_: has joined #ruby
[08:42:30] NL3limin4t0r: has joined #ruby
[08:43:58] jenrzzz: has joined #ruby
[08:43:58] jenrzzz: has joined #ruby
[08:45:02] conta: has joined #ruby
[08:46:24] NL3limin4t0r: Do you guys know where the best place is to ask a simple xpath question? I checked the #xpath channel, but that seems to be empty.
[08:49:18] NL3limin4t0r: I was wondering if in Nokigiri I could write the following:
[08:49:31] NL3limin4t0r: doc.xpath('//ol[not(ancestor::ol | ancestor::ul)] | //ul[not(ancestor::ol | ancestor::ul)]')
[08:49:42] NL3limin4t0r: as something like:
[08:50:03] NL3limin4t0r: doc.xpath('//(ol | ul)[not(ancestor::ol | ancestor::ul)]')
[08:50:29] NL3limin4t0r: but the above is not valid xpath
[08:51:11] ur5us: has joined #ruby
[08:53:14] dminuoso: NL3limin4t0r: You can do something like that uh give me a moment
[08:53:30] NL3limin4t0r: or even: `doc.xpath('//(ol | ul)[not(ancestor::(ol | ul))]')`
[08:53:37] NL3limin4t0r: dminuoso: sure, I have time =P
[08:53:53] alfiemax: has joined #ruby
[08:54:20] NL3limin4t0r: I don't have much experience in xpath.
[08:54:30] dminuoso: NL3limin4t0r: https://www.w3.org/TR/xpath20/#doc-xpath-QuantifiedExpr
[08:55:35] dminuoso: Curious whether you can use this =)
[08:56:19] NL3limin4t0r: I'll have a look
[08:56:34] venmx: has joined #ruby
[08:57:22] dminuoso: some $x in //(ol | ul) satisfies $x[not(ancestor::(ol | ul))]
[08:57:27] dminuoso: Something along these lines perhaps
[08:57:58] ellcs: has joined #ruby
[08:58:39] Dykam: has joined #ruby
[08:59:10] alex``: has joined #ruby
[08:59:17] d_kam_: has joined #ruby
[09:01:37] dminuoso: ¯\_(ツ)_/¯
[09:01:42] dminuoso: XPath is weird
[09:04:19] Beams: has joined #ruby
[09:05:15] alfiemax: has joined #ruby
[09:07:11] DTZUZO: has joined #ruby
[09:07:51] nayena: has joined #ruby
[09:12:22] NL3limin4t0r: Hmm, it seems like nokogiri doesn't like the "some satisfies" syntax.
[09:14:12] jrich523_: has joined #ruby
[09:14:23] Mortomes|Work: has joined #ruby
[09:16:25] NL3limin4t0r: This seemed pretty valid xpath: `doc.xpath('some $list in (//ol, //ul) satisfies $list[not(ancestor::ol | ancestor::ul)]')`
[09:16:42] NL3limin4t0r: I'll puzzle on later, for now I'll go with my original solution.
[09:17:24] NL3limin4t0r: dminuoso: ty for the link though, I'll need to have a look at that whole page.
[09:17:55] sidx64: has joined #ruby
[09:20:32] jrich523_: has joined #ruby
[09:20:47] d_kam__: has joined #ruby
[09:27:13] contradictioned: has joined #ruby
[09:29:51] pama: has joined #ruby
[09:31:18] dminuoso: NL3limin4t0r: Ah nokogiri has only support for XPath 1.0
[09:32:41] anikras: has joined #ruby
[09:32:51] CaptainAmari: has joined #ruby
[09:33:14] dminuoso: NL3limin4t0r: From a quick glance there doesn't appear anything you could use.
[09:33:19] anikras: Hi, anyone knows how can I create a similar htaccess in ruby on rails without apache ?
[09:33:21] CaptainAmari: hi guys, i'm trying to understand a function in ruby, can you help me understand what it does? I did try to google it
[09:33:23] plexigras: has joined #ruby
[09:33:29] CaptainAmari: specifically what does "#{name}=" do in:
[09:33:36] CaptainAmari: def []=(name, value)
[09:33:39] CaptainAmari: __send__("#{name}=", value)
[09:33:50] dminuoso: CaptainAmari: "#{e}" interpolates a string
[09:34:00] dminuoso: asm>> "#{e}"
[09:34:01] ruby[bot]: dminuoso: I have disassembled your code, the result is at https://eval.in/1005807
[09:34:14] CaptainAmari: dminuoso, ok but then why the =?
[09:34:21] dminuoso: CaptainAmari: Its basically equivalent to `name.to_s + "="`
[09:34:32] CaptainAmari: oh it is a literal =
[09:34:52] CaptainAmari: ALlright. that makes sense. dminuoso thank you!
[09:37:39] DoubleMalt: has joined #ruby
[09:39:30] alex``: has joined #ruby
[09:41:01] guille-moe: has joined #ruby
[09:46:08] marr: has joined #ruby
[09:46:14] amar: has joined #ruby
[09:47:04] alfiemax: has joined #ruby
[09:53:22] NL3limin4t0r: CaptainAmari: It forwards every call you make on `your_object[attribute] = value` to `yourobject.attribute = value`.
[09:53:55] NL3limin4t0r: I forgot the underscore in the last part, but you get the picture.
[09:54:13] contradictioned: has joined #ruby
[09:56:49] schneider: has joined #ruby
[09:57:25] NL3limin4t0r: anikras: I see you found your way to #RubyOnRails for your question.
[09:57:45] arekushi: has joined #ruby
[09:57:53] joro_: has joined #ruby
[09:58:44] Beams: has joined #ruby
[10:00:24] anikras: NL3limin4t0r, yes, thank you
[10:00:42] jamesaxl: has joined #ruby
[10:02:05] mtkd: has joined #ruby
[10:03:30] contradictioned: has joined #ruby
[10:12:41] contradictioned: has joined #ruby
[10:14:17] jottr: has joined #ruby
[10:22:10] karapetyan: has joined #ruby
[10:35:56] amar: has joined #ruby
[10:41:36] cadillac_: has joined #ruby
[10:51:02] elphe: has joined #ruby
[10:52:14] guille-moe: has joined #ruby
[10:56:29] elphe: has joined #ruby
[10:57:06] ramfjord: has joined #ruby
[11:00:00] drale2k_: has joined #ruby
[11:00:14] Beams: has joined #ruby
[11:00:15] alfiemax: has joined #ruby
[11:00:17] Exagone313: has joined #ruby
[11:07:29] contradictioned: has joined #ruby
[11:10:50] apparition: has joined #ruby
[11:15:51] drale2k_: has joined #ruby
[11:19:18] mtkd: has joined #ruby
[11:19:28] GodFather: has joined #ruby
[11:21:01] banisterfiend: has joined #ruby
[11:22:50] aufi: has joined #ruby
[11:25:26] guille-moe: has joined #ruby
[11:27:01] banisterfiend: has joined #ruby
[11:32:25] ldnunes: has joined #ruby
[11:37:52] guille-moe: has joined #ruby
[11:40:39] _aeris_: has joined #ruby
[11:41:05] redlegion: has joined #ruby
[11:41:07] GodFather: has joined #ruby
[11:42:09] banisterfiend: has joined #ruby
[11:42:13] RougeR: has joined #ruby
[11:42:13] RougeR: has joined #ruby
[11:44:14] karapetyan: has joined #ruby
[11:44:25] AJA4350: has joined #ruby
[11:45:16] conta1: has joined #ruby
[11:48:12] sidx64: has joined #ruby
[11:49:45] mostlybadfly: has joined #ruby
[11:50:06] yeticry: has joined #ruby
[11:50:51] shinnya: has joined #ruby
[11:52:38] Cavallari: has joined #ruby
[11:52:44] Beams: has joined #ruby
[11:55:40] karapetyan: has joined #ruby
[11:55:56] jnollette: has joined #ruby
[11:57:07] test1337: has joined #ruby
[11:57:19] test1337: i wanna learn ruby, in order to touch some boobie
[11:58:04] test1337: has left #ruby: ("Leaving")
[12:00:31] banisterfiend: has joined #ruby
[12:01:57] alfiemax: has joined #ruby
[12:02:52] drale2k_: has joined #ruby
[12:04:13] Jameser: has joined #ruby
[12:05:58] donofrio: has joined #ruby
[12:06:32] synthroid: has joined #ruby
[12:09:49] guille-moe: has joined #ruby
[12:14:11] kmurphy4: has joined #ruby
[12:15:12] jottr: has joined #ruby
[12:16:40] banisterfiend: has joined #ruby
[12:18:31] MedubzZ: has joined #ruby
[12:20:52] alfiemax: has joined #ruby
[12:23:56] MedubzZ: has joined #ruby
[12:25:16] MedubzZ: has joined #ruby
[12:25:19] banisterfiend: has joined #ruby
[12:28:03] dANO: has joined #ruby
[12:29:29] guille-moe: has joined #ruby
[12:33:41] karapetyan: has joined #ruby
[12:38:25] mroutis: has joined #ruby
[12:38:50] CrazyEddy: has joined #ruby
[12:39:04] nowhere_man: has joined #ruby
[12:40:46] guille-moe: has joined #ruby
[12:41:02] caleBOT: has joined #ruby
[12:41:04] caleBOT_: has joined #ruby
[12:44:13] sysvalve: has joined #ruby
[12:52:35] redlegion: has joined #ruby
[12:53:56] caleBOT: has joined #ruby
[12:56:55] moei: has joined #ruby
[12:57:07] ramfjord: has joined #ruby
[12:58:09] Beams: has joined #ruby
[12:58:25] Jameser: has joined #ruby
[13:00:23] Asher: has joined #ruby
[13:00:26] n0m4d1c: has joined #ruby
[13:00:43] karapetyan: has joined #ruby
[13:02:06] white_lilies: has joined #ruby
[13:02:21] Zaab1t: has joined #ruby
[13:08:57] guille-moe: has joined #ruby
[13:13:48] nowhere_man: has joined #ruby
[13:18:33] ghoti: has joined #ruby
[13:20:54] karapetyan: has joined #ruby
[13:21:29] karapetyan: has joined #ruby
[13:23:52] mtkd: has joined #ruby
[13:27:37] dc1: has joined #ruby
[13:29:30] _antares_: has joined #ruby
[13:32:17] reber: has joined #ruby
[13:37:24] Rapture: has joined #ruby
[13:40:58] karapetyan: has joined #ruby
[13:46:13] elphe: has joined #ruby
[13:47:13] amar: has joined #ruby
[13:48:59] k0mpa: has joined #ruby
[13:49:10] white_lilies: has joined #ruby
[13:51:04] memo1: has joined #ruby
[13:53:26] nicesignal: has joined #ruby
[13:56:50] markand: has joined #ruby
[13:57:31] markand: is there something wrong with the documentation? when you go to the stdlib home you have a different page than modules
[13:57:48] ramfjord: has joined #ruby
[13:57:56] markand: http://ruby-doc.org/stdlib-2.5.1/ -> then selecting a topic like fnctl brings a very different page
[13:58:25] oleo: has joined #ruby
[14:00:20] Asher: has joined #ruby
[14:01:17] synthroid: has joined #ruby
[14:01:33] karapetyan: has joined #ruby
[14:16:02] jottr: has joined #ruby
[14:19:23] burgestrand: has joined #ruby
[14:19:25] _antares_: has joined #ruby
[14:20:04] sidx64: has joined #ruby
[14:23:32] sidx64: has joined #ruby
[14:24:09] nowhere_man: has joined #ruby
[14:27:33] blackmesa1: has joined #ruby
[14:29:39] n0m4d1c: has joined #ruby
[14:30:30] coderphive: has joined #ruby
[14:34:47] venmx: has joined #ruby
[14:38:04] grilix_: has joined #ruby
[14:39:04] chouhoulis: has joined #ruby
[14:41:19] coderphive: has joined #ruby
[14:46:03] karapety_: has joined #ruby
[14:46:49] venmx: has joined #ruby
[14:47:06] Beams: has joined #ruby
[14:51:52] rippa: has joined #ruby
[14:52:01] mtkd: has joined #ruby
[14:53:32] cyberg: has joined #ruby
[14:57:03] banisterfiend: has joined #ruby
[15:02:32] excel_girl: has joined #ruby
[15:03:46] excel_girl: Good morning. Is there a beginner friendly resource for someone who has some python experience? I am looking for a list that names a certain library in Python and names a corresponding library in python.
[15:04:47] havenwood: excel_girl: This doesn't have library info, but it has a quick summary of some differences between Python and Ruby: https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-python/
[15:07:19] havenwood: excel_girl: I don't know of a Python/Ruby stdlib comparison but we'd be happy to help here. For gems there are a few resources like:
[15:07:20] havenwood: https://www.ruby-toolbox.com/
[15:07:29] havenwood: http://awesome-ruby.com/
[15:08:35] excel_girl: havenwood: Thank you so much! This is awesome
[15:08:55] darix: excel_girl: just using the search on rubygems.org might be a good start too
[15:09:18] darix: depending on the libraries you need
[15:11:15] excel_girl: I was looking for simple libraries like -- os, subprocess, requests, json, datetime, shutil(for moving files), email(for sending email) and what not
[15:11:37] excel_girl: darix: ^^^^^^^^^^^^^^^
[15:12:24] cagomez: has joined #ruby
[15:13:28] mnemon: excel_girl: have you looked at the stdlib contents? https://ruby-doc.org/stdlib-2.4.1/
[15:13:29] darix: excel_girl: os/subprocess => popen* and friends. I guess. requests ... depending on what exact use case ... I liked "httpclient", faraday also seems popular, mechanize
[15:13:31] cagomez: has joined #ruby
[15:13:47] darix: datetime might require at most a require 'date'
[15:13:53] darix: shtuils = fileutils
[15:14:05] darix: email = I can really recommend the "mail" gem
[15:14:40] excel_girl: mnemon: No I haven't. I will now. Thank you :)
[15:15:40] darix: oh and yes stdlib docs
[15:17:25] n0m4d1c: has joined #ruby
[15:18:26] schneider: has joined #ruby
[15:18:50] _antares_: has joined #ruby
[15:25:11] RougeT430: has joined #ruby
[15:25:27] schneider: has joined #ruby
[15:25:33] Beams: has joined #ruby
[15:27:46] chocoelho: has joined #ruby
[15:29:08] DTZUZO: has joined #ruby
[15:29:12] caleBOT: has joined #ruby
[15:29:13] caleBOT_: has joined #ruby
[15:30:11] chouhoulis: has joined #ruby
[15:30:43] biberu\: has joined #ruby
[15:31:10] chouhoul_: has joined #ruby
[15:31:33] chocoelho: has joined #ruby
[15:32:12] chouhoul_: has joined #ruby
[15:32:41] chouhoul_: has joined #ruby
[15:39:05] guille-moe: has joined #ruby
[15:39:33] mtkd: has joined #ruby
[15:41:11] rouget430__: has joined #ruby
[15:42:42] synthroid: has joined #ruby
[15:43:50] jcarl43: has joined #ruby
[15:45:46] amar_: has joined #ruby
[15:48:39] TomyLobo: has joined #ruby
[15:49:42] chocoelho: has joined #ruby
[15:52:12] Azure: has joined #ruby
[15:54:24] blackmesa1: has joined #ruby
[15:54:27] Asher: has joined #ruby
[15:54:27] alfiemax: has joined #ruby
[15:56:43] Dbugger: has joined #ruby
[15:59:55] anisha: has joined #ruby
[16:02:54] _antares_: has joined #ruby
[16:03:40] regedit: has joined #ruby
[16:04:06] mohsen_1: has joined #ruby
[16:06:40] Asher: has joined #ruby
[16:09:40] karapetyan: has joined #ruby
[16:14:19] anisha: has joined #ruby
[16:15:34] darkhanb: has joined #ruby
[16:20:22] nitric: has joined #ruby
[16:22:13] kevinburke: has joined #ruby
[16:23:44] MedubzZ: has joined #ruby
[16:26:06] Ryzokuken: has joined #ruby
[16:26:45] ixti: has joined #ruby
[16:30:06] guacamole: has joined #ruby
[16:30:06] guacamole: has joined #ruby
[16:30:28] guille-moe: has joined #ruby
[16:35:09] leslie: has joined #ruby
[16:36:01] howdoi: has joined #ruby
[16:36:17] chouhoulis: has joined #ruby
[16:37:14] chocoelho: has joined #ruby
[16:37:20] chouhoul_: has joined #ruby
[16:37:52] havenwood: baweaver: +1 .:
[16:38:25] chouhoul_: has joined #ruby
[16:39:31] chouhoul_: has joined #ruby
[16:40:33] chouhoul_: has joined #ruby
[16:41:15] ixti: has joined #ruby
[16:41:40] chouhoulis: has joined #ruby
[16:42:17] cschneid_: has joined #ruby
[16:42:44] chouhoul_: has joined #ruby
[16:42:59] chocoelho: has joined #ruby
[16:43:53] chouhoul_: has joined #ruby
[16:45:00] chouhoul_: has joined #ruby
[16:45:02] amar: has joined #ruby
[16:46:03] chouhoul_: has joined #ruby
[16:47:12] chouhoulis: has joined #ruby
[16:48:16] chouhoul_: has joined #ruby
[16:48:59] Ericx2x: has joined #ruby
[16:49:16] Ericx2x: Can someone take a look at this error? I can't seem to install this rubyracer gem https://imgur.com/a/q8UpdtH
[16:49:22] chouhoul_: has joined #ruby
[16:50:28] chouhoul_: has joined #ruby
[16:50:35] Ericx2x: The error log it wants me to look into is gibberish: https://imgur.com/a/3mQahZP
[16:51:00] orbyt_: has joined #ruby
[16:51:35] havenwood: ericx2x: Can you just install Node.js rather than using the Ruby Racer?
[16:51:38] chouhoul_: has joined #ruby
[16:52:07] havenwood: ericx2x: It's saying: "You have to install development tools first."
[16:52:34] chouhoulis: has joined #ruby
[16:52:38] havenwood: ericx2x: sudo apt-get update && sudo apt-get install build-essential
[16:53:00] nowhere_man: has joined #ruby
[16:53:33] havenwood: ericx2x: If you're using the ruby apt package, make sure the ruby-dev package is installed: sudo apt-get install ruby-dev
[16:53:40] chouhoul_: has joined #ruby
[16:54:07] nadir: has joined #ruby
[16:54:49] chouhoul_: has joined #ruby
[16:55:52] chouhoul_: has joined #ruby
[16:57:03] chouhoul_: has joined #ruby
[16:57:17] biberu: has joined #ruby
[16:57:48] n0m4d1c: has joined #ruby
[16:57:49] sidx64: has joined #ruby
[16:58:00] chouhoulis: has joined #ruby
[16:59:55] Ericx2x: havenwood, thanks havenwood. I didn't realize rails could rely on node.js with that build essentials command.. still new to rails
[17:00:33] ldepandis: has joined #ruby
[17:01:10] graft: has joined #ruby
[17:02:50] jamiejackson: has joined #ruby
[17:03:37] grilix_: has joined #ruby
[17:04:01] havenwood: ericx2x: build-essential is the apt general build tools package
[17:04:54] havenwood: ericx2x: Rails asset pipeline can use Node though. It *just works*.
[17:05:01] havenwood: ericx2x: sudo apt-get install nodejs
[17:05:32] havenwood: ericx2x: Also, modern Rails has Yarn and Webpack support.
[17:05:35] MedubzZ: has joined #ruby
[17:05:42] ruby[bot]: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[17:06:14] havenwood: ericx2x: Here's a setup guide: https://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you
[17:06:37] havenwood: ericx2x: IMHO, nodejs is your best bet for a Javascript runtime.
[17:06:49] raynold: has joined #ruby
[17:07:35] dviola: has joined #ruby
[17:07:48] raynold: has joined #ruby
[17:08:45] banisterfiend: has joined #ruby
[17:09:57] amar: has joined #ruby
[17:10:23] Eiam: has joined #ruby
[17:11:05] karapetyan: has joined #ruby
[17:12:03] Beams: has joined #ruby
[17:14:35] sanscoeur: has joined #ruby
[17:18:39] sidx64_: has joined #ruby
[17:19:01] _antares_: has joined #ruby
[17:19:39] ldepandis: has joined #ruby
[17:21:10] chocoelho: has joined #ruby
[17:22:10] MedubzZ: has joined #ruby
[17:24:57] graft: has joined #ruby
[17:28:45] Ericx2x: Thanks for the info havenwood
[17:30:01] Ericx2x: Not exactly sure what a JSRuntime is though? Does rails have a JS runtime? I'll have to look it up later
[17:30:43] Ericx2x: Right now I'm just focusing on getting my rails app over to another server and figuring out all the random errors along the way... like this? https://imgur.com/a/lVbj47y
[17:31:41] havenwood: ericx2x: That just means a JavaScript runtime. The JavaScript language.
[17:32:12] Ericx2x: Oh, so JS Runtime is what lets you use JS code and that has to be downloaded onto the machine. Got it
[17:32:12] havenwood: ericx2x: https://developer.mozilla.org/en-US/docs/Web/JavaScript
[17:32:16] alfiemax: has joined #ruby
[17:32:29] caleBOT: has joined #ruby
[17:32:30] caleBOT_: has joined #ruby
[17:37:19] Ericx2x: Sorry to ask another question so soon but what would you do if you got this error? https://imgur.com/a/lVbj47y
[17:38:10] SeepingN: has joined #ruby
[17:40:44] Eiam: ericx2x: I'd learn how to read backtraces!
[17:41:40] Eiam: ericx2x: its telling you that it cannot find one of your requirements
[17:41:46] GodFather: has joined #ruby
[17:42:29] Eiam: you may need to be more specific in your require path, or modify your env variables
[17:44:14] Mike11: has joined #ruby
[17:47:13] Ericx2x: Thanks for the response Eiam but I don't know what you mean. Where can I be more specific in my require path or modify my env variables? I'll look into this. Sorry if my newbness is annoying :x
[17:47:49] Eiam: so when your code in /home/name/vendor/bundle etc etc is executing, it hits "require kgio_ext"
[17:48:01] Eiam: then it goes to FIND kgio_ext and it cannot, hence the error
[17:48:29] Eiam: so you can be more specific about where it is, "require_relative "../blah/kgio_exit" "
[17:48:47] Eiam: or you can ensure that Ruby has more search paths to look in when it tries on its own
[17:48:51] Ericx2x: Do I need to be more specific in my Gemfile ?
[17:49:05] Eiam: no thats not what the gemfile does
[17:49:23] Eiam: ericx2x: have you run bundle install?
[17:49:35] Eiam: do you know that kgio_ext has been installed?
[17:50:09] Ericx2x: Sec on that. I've done multiple bundle installs because I'm trying to deploy.. let me see if there is any differences with the types of bundle installs I do
[17:54:53] Ericx2x: so in "vim vendor/bundle/ruby/2.3.0/gems/kgio-2.9.3/lib/kgio.rb" there is on line 21 "require 'kgio_ext'"
[17:54:55] amelliaa: has joined #ruby
[17:55:29] mikecmpbll: has joined #ruby
[17:55:39] caleBOT: has joined #ruby
[17:55:40] caleBOT_: has joined #ruby
[17:55:55] Ericx2x: I need to be more specific on this line Eiam? I don't even know what kgio_ext is or how to ensure it gets required
[17:56:56] orbyt_: has joined #ruby
[17:57:17] Eiam: ericx2x: and what are your load paths? ruby -e 'puts $:'
[17:57:56] Ericx2x: https://imgur.com/a/OmvIjOk\
[17:59:05] RougeT430: has joined #ruby
[17:59:15] Eiam: and `gem which kgio_ext` ?
[17:59:25] cliluw: has joined #ruby
[17:59:41] chocoelho: has joined #ruby
[17:59:42] flips: has joined #ruby
[17:59:47] Ericx2x: "/var/lib/gems/2.3.0/gems/kgio-2.11.2/lib/kgio_ext.so"
[18:01:47] sameerynho: has joined #ruby
[18:01:59] mlkkk: has joined #ruby
[18:02:12] caleBOT: has joined #ruby
[18:02:13] caleBOT_: has joined #ruby
[18:02:40] pskosinski: has joined #ruby
[18:04:30] anjen: has joined #ruby
[18:06:16] _antares_: has joined #ruby
[18:06:57] dionysus69: has joined #ruby
[18:07:18] rgb-one: has joined #ruby
[18:07:51] erlend: has joined #ruby
[18:07:57] leslie: has joined #ruby
[18:08:05] rgb-one: I'm running `sass --watch sass/style.sass:css/style.css --compass` and I get `ERROR: Cannot load compass.`, why is this?
[18:08:55] Ericx2x: I think you need to install compass
[18:09:17] Ericx2x: 'gem install compass' ?
[18:10:04] apeiros__: has joined #ruby
[18:13:09] caleBOT: has joined #ruby
[18:13:10] caleBOT_: has joined #ruby
[18:15:57] Ericx2x: Eiam, it's complaining about almost all the requires im my project..
[18:15:59] Eiam: ericx2x: `gem env` shows the same as puts $: right?
[18:16:51] Ericx2x: https://imgur.com/a/GSakP2e
[18:17:05] pilne: has joined #ruby
[18:17:06] Ericx2x: I have made several require lines specific
[18:17:19] Ericx2x: but they keep coming.. I think I need to change something else
[18:17:24] Eiam: oh, hm its in the path
[18:18:27] Eiam: yeah if you are doing a bunch of path modifications there is a better solution higher up in the stack
[18:18:33] Eiam: like setting the search paths etc
[18:19:14] Ericx2x: I don't really get what that means.. but If you can point me in the direction I'd be willing to figure it out
[18:19:21] Ericx2x: just want to get this stupid app to run..
[18:19:27] Eiam: ericx2x: https://rubyplus.com/articles/4661-The-require-and-load-path-in-Ruby ?
[18:19:39] caleBOT_: has joined #ruby
[18:19:40] caleBOT: has joined #ruby
[18:20:07] Eiam: pretty sure the issue is the bundle
[18:20:19] ramfjord: has joined #ruby
[18:20:27] Ericx2x: uhhh, what do you mean the bundle?
[18:20:43] Ericx2x: I need to do a different 'bundle install'?
[18:20:54] caleBOT: has joined #ruby
[18:20:55] caleBOT_: has joined #ruby
[18:21:09] Eiam: its been awhile since I've used bundler so im trying to think
[18:21:45] Ericx2x: is it a bad thing to make all my requires specific?
[18:21:54] Ericx2x: I can just keep going.. I'm just afraid there might be a hundred+
[18:22:11] Eiam: ericx2x: whats `bundle env` ?
[18:22:34] Eiam: ericx2x: yeah its a bad thing in general, it makes it less portable. you want environments to control relativeness and search paths usually
[18:22:40] Ericx2x: https://gist.github.com/ericx2x/aa73151244a394565979367ee63df11a
[18:23:21] caleBOT: has joined #ruby
[18:23:21] caleBOT_: has joined #ruby
[18:23:31] Eiam: humor me, add kgio to your gemfile
[18:23:35] Eiam: do another bundle install
[18:23:41] caleBOT: has joined #ruby
[18:23:42] caleBOT_: has joined #ruby
[18:23:52] Eiam: then try again, see if that works. it shouldn't matter cause unicorn looks like it requires it already
[18:24:11] Eiam: also, https://rubygems.org/gems/kgio says its legacy and not to use it on ruby 2.3
[18:24:20] Eiam: and you are ON ruby 2.3, so I'm curious whats forcing the requirement
[18:24:37] orbyt_: has joined #ruby
[18:24:52] Ericx2x: wow, uhh hold on
[18:25:13] Ericx2x: i just did bundle install --nodeployment and i dont see them anymore
[18:26:35] caleBOT: has joined #ruby
[18:26:36] caleBOT_: has joined #ruby
[18:29:03] rouget430__: has joined #ruby
[18:31:02] RougeT430: has joined #ruby
[18:31:26] chocoelho: has joined #ruby
[18:32:53] cajone: has joined #ruby
[18:35:01] rouget430__: has joined #ruby
[18:35:04] nowhere_man: has joined #ruby
[18:35:29] sjames1: has joined #ruby
[18:36:18] mtkd: has joined #ruby
[18:39:41] banisterfiend: has joined #ruby
[18:42:40] AgentVenom: has joined #ruby
[18:44:40] Sembei: has joined #ruby
[18:47:16] MedubzZ: has joined #ruby
[18:49:23] nima_m: has joined #ruby
[18:51:01] RougeT430: has joined #ruby
[18:51:16] nima_m: has joined #ruby
[18:53:46] raul782: has joined #ruby
[18:55:46] chocoelho: has joined #ruby
[18:56:32] MedubzZ: has joined #ruby
[18:57:16] raul7821: has joined #ruby
[18:57:50] karapetyan: has joined #ruby
[19:01:06] MedubzZ: has joined #ruby
[19:01:44] nima_m: has joined #ruby
[19:04:04] MedubzZ: has left #ruby: ()
[19:04:41] Cavallari: has joined #ruby
[19:05:41] elphe: has joined #ruby
[19:09:04] nima_m_: has joined #ruby
[19:10:16] apeiros: has joined #ruby
[19:15:23] caleBOT: has joined #ruby
[19:15:24] caleBOT_: has joined #ruby
[19:16:14] nima_m: has joined #ruby
[19:16:17] nitric_: has joined #ruby
[19:19:07] alex``: has joined #ruby
[19:21:43] nima_m: has joined #ruby
[19:28:24] kmurphy4: has joined #ruby
[19:28:31] hinbody: has joined #ruby
[19:28:42] hinbody: has left #ruby: ()
[19:30:31] GodFather: has joined #ruby
[19:40:26] RougeT430: has joined #ruby
[19:41:03] noodle: has joined #ruby
[19:46:08] vondruch: has joined #ruby
[19:51:01] alex``: has joined #ruby
[19:52:01] venmx: has joined #ruby
[19:55:03] mtkd: has joined #ruby
[19:56:05] schneider: has joined #ruby
[19:57:13] kapil___: has joined #ruby
[19:57:45] apeiros: has joined #ruby
[19:57:52] minimalism: has joined #ruby
[20:02:53] keggsmurph21: has joined #ruby
[20:04:58] amar: has joined #ruby
[20:11:18] dionysus70: has joined #ruby
[20:13:13] jenrzzz: has joined #ruby
[20:15:14] chocoelho: has joined #ruby
[20:16:19] kirun: has joined #ruby
[20:28:26] tolerablyjake: has joined #ruby
[20:28:42] tolerablyjake: has joined #ruby
[20:29:33] Ericx2x: Eiam, ... I just had to delete my bundle folder.. I'm an idiot hah
[20:30:45] jamiejackson: has joined #ruby
[20:35:54] caleBOT: has joined #ruby
[20:35:58] caleBOT_: has joined #ruby
[20:44:14] chocoelho1: has joined #ruby
[20:46:54] chocoelho: has joined #ruby
[20:48:12] Dbugger: has joined #ruby
[20:52:18] tolerablyjake: has joined #ruby
[20:57:49] memo1: has joined #ruby
[21:01:47] jenrzzz_: has joined #ruby
[21:02:04] sidx64: has joined #ruby
[21:03:17] karapetyan: has joined #ruby
[21:05:50] caleBOT__: has joined #ruby
[21:05:51] caleBOT__: has joined #ruby
[21:09:22] _antares_: has joined #ruby
[21:10:49] chocoelho1: has joined #ruby
[21:12:05] tolerablyjake: ACTION waves
[21:13:00] tolerablyjake: I'm trying to write a regex that captures is a string starts with "the" and ends in "app"
[21:13:10] tolerablyjake: I have this working: %r{^(?<the>the)?.*(?<app>(?<=app))?$}i
[21:13:35] tolerablyjake: Does anyone here know a better way to do that? I'm not super great at this sort of thing
[21:14:56] apeiros: tolerablyjake: why do you capture a look-ahead? it'll always be empty
[21:15:14] apeiros: or actually a look-behind
[21:15:54] apeiros: and your "the" and "app" parts are optional - why?
[21:16:11] tolerablyjake: apeiros cause I have no idea what i'm doing : ) . I'm trying to tell by the match data if either or matched, if the look behind matches I get an empty string, and I get nil if it doesn't
[21:16:34] tolerablyjake: ACTION getting more code to share
[21:16:39] apeiros: you said "starts with 'the' ***AND*** ends in 'app'"
[21:16:49] apeiros: what is it now? "and" or "or"?
[21:17:00] dc1: has joined #ruby
[21:17:57] dinfuehr: has joined #ruby
[21:18:10] ramfjord: has joined #ruby
[21:20:35] tolerablyjake: https://gist.github.com/eviljake/c41c140a10968a4ca2e1c8dfccd89bb2
[21:21:41] tolerablyjake: apeiros sorry, my first question wasn't very clear. I want to know both. The gist has more code that hopefully gives a better idea what I'm shooting for
[21:22:19] apeiros: title.sub(/\A(The )?/, 'The ').sub(/( app)?\z/, ' app')
[21:23:57] apeiros: throw in some //i flags if necessary
[21:25:19] tolerablyjake: nice, I like that, a lot clearer. I had just learned about the ? after parens a minute ago
[21:26:58] apeiros: ? are quantifiers which can be applied to anything. it's the same as {0,1}
[21:27:16] apeiros: also notice that ^ is not begin of string, but begin of (any) line. \A is begin of string.
[21:27:25] apeiros: same for $, it's end of line. \z is end of string.
[21:31:37] ramfjord: has joined #ruby
[21:32:50] claw: has joined #ruby
[21:33:53] tdy: has joined #ruby
[21:34:00] tolerablyjake: nice, good to know
[21:35:23] chocoelho: has joined #ruby
[21:37:32] ramfjord: has joined #ruby
[21:42:31] ur5us: has joined #ruby
[21:43:01] ur5us: has joined #ruby
[21:43:30] ramfjord: has joined #ruby
[21:45:13] ca7un: has joined #ruby
[21:46:00] chocoelho1: has joined #ruby
[21:56:15] alex``: has joined #ruby
[21:56:19] chouhoul_: has joined #ruby
[22:02:48] Ericx2x: I have nginx pointing to my rails folder in myapp/public but it won't display anything unless I place an index.html file in there... Is there supposed to be one in there?
[22:03:19] mlkkk: has joined #ruby
[22:07:01] nickjj: ericx2x, try adjusting your try_files to load your upstream before an index.html
[22:07:39] nickjj: it follows the order you place them, so if your upstream doesn't match it will fallback to index.html -- which means if you don't supply your upstream, it won't even know to look for it
[22:08:30] Ericx2x: nicj thanks but i'm a little lost there.. I created index.html myself.
[22:09:15] Ericx2x: upstream meaning what? 'myapp/public'?
[22:17:39] Ericx2x: ahh finally got it to work
[22:22:00] ur5us: has joined #ruby
[22:22:16] elphe: has joined #ruby
[22:32:17] mikecmpbll: has joined #ruby
[22:35:58] laska: has joined #ruby
[22:39:41] laska: can someone recommend an extensive resource on functional programming in ruby for a novice?
[22:40:43] laska: has joined #ruby
[22:40:50] ramfjord: has joined #ruby
[22:44:56] chocoelho1: has joined #ruby
[22:45:49] guacamole: has joined #ruby
[22:45:49] guacamole: has joined #ruby
[22:50:04] coderphive: has joined #ruby
[23:04:31] elphe: has joined #ruby
[23:10:50] icarus: has joined #ruby
[23:12:02] n0m4d1c: has joined #ruby
[23:12:04] samosaphile: has joined #ruby
[23:18:40] cschneid_: has joined #ruby
[23:21:19] hays: has joined #ruby
[23:22:17] hays: are there release schedules for ruby
[23:23:41] hays: e.g. are there notional dates for 2.5.2 and 2.6?
[23:24:31] hays: looks like maybe every 3 months for bugfix releases
[23:25:18] hays: and maybe yearly for minor version bumps
[23:25:54] hays: although interestingly the mid-year sems to get skipped a fair bit
[23:26:11] ramfjord: has joined #ruby
[23:26:29] kapil___: has joined #ruby
[23:26:30] elomatreb: A new ruby version gets released every Christmas, with bugfix releases as necessary
[23:26:31] hays: just judging by the pattern, looks like minor releases happen in december typically, then there's a release in march and september (mostly)
[23:27:40] hays: how long is support typically
[23:28:14] guacamole: has joined #ruby
[23:28:36] hays: 3 years and change maybe
[23:29:14] elomatreb: It says 2.3.7 will be EOL'd "soon"
[23:29:29] hays: 2019-03-31
[23:29:50] hays: looks like 2.2 was just EOL'd
[23:29:55] minimalism: has joined #ruby
[23:31:36] hays: im looking here https://www.ruby-lang.org/en/downloads/branches/
[23:33:57] hays: is there any way to make something immutable, such as an array
[23:35:13] robertothais: has joined #ruby
[23:36:05] hays: i guess if i am trying to protect whats inside the object, i could make a copy
[23:37:24] caleBOT: has joined #ruby
[23:37:25] caleBOT_: has joined #ruby
[23:37:39] caleBOT_: has joined #ruby
[23:37:39] caleBOT: has joined #ruby
[23:38:22] n0m4d1c: has joined #ruby
[23:38:25] caleBOT_: has joined #ruby
[23:38:25] caleBOT: has joined #ruby
[23:39:11] caleBOT_: has joined #ruby
[23:39:12] caleBOT: has joined #ruby
[23:39:57] caleBOT_: has joined #ruby
[23:39:58] caleBOT: has joined #ruby
[23:40:43] caleBOT_: has joined #ruby
[23:40:43] caleBOT: has joined #ruby
[23:41:34] caleBOT_: has joined #ruby
[23:41:35] caleBOT: has joined #ruby
[23:43:04] caleBOT__: has joined #ruby
[23:43:05] caleBOT__: has joined #ruby
[23:43:12] hays: hmm. strings are mutable. that's different from python
[23:43:33] caleBOT__: has joined #ruby
[23:43:34] caleBOT__: has joined #ruby
[23:43:43] caleBOT__: has joined #ruby
[23:43:44] caleBOT__: has joined #ruby
[23:44:29] caleBOT__: has joined #ruby
[23:44:30] caleBOT__: has joined #ruby
[23:45:16] caleBOT__: has joined #ruby
[23:45:16] caleBOT__: has joined #ruby
[23:46:02] caleBOT__: has joined #ruby
[23:46:03] caleBOT__: has joined #ruby
[23:46:48] caleBOT: has joined #ruby
[23:46:59] caleBOT_: has joined #ruby
[23:48:02] caleBOT: has joined #ruby
[23:48:03] caleBOT_: has joined #ruby
[23:50:44] havenwood: >> [].freeze #hays
[23:50:45] ruby[bot]: havenwood: # => [] (https://eval.in/1006183)
[23:51:40] havenwood: hays: Use the `# frozen_string_literal: true` magic comment and Stings aren't mutable.
[23:51:47] havenwood: hays: https://wyeworks.com/blog/2015/12/1/immutable-strings-in-ruby-2-dot-3
[23:53:54] hays: whoa that's weird
[23:54:53] hays: i don't understand [].freeze
[23:55:50] guille-moe: has joined #ruby
[23:57:13] hays: oh. yeah you are just saying I can freeze the array
[23:57:33] hays: yeah, i was hoping to retain mutability via accessors
[23:57:43] hays: from the parent object
[23:58:04] hays: or I should more clearly say the object containing the array