« Back to channel list

#ruby - 29 November 2017

« Back 1 day Forward 1 day »
[00:00:57] thinkpad: has joined #ruby
[00:01:09] dminuoso: ∀x∃c.c > x
[00:02:04] RickHull: doesn't ruby respect λ now?
[00:02:16] jrabe: has joined #ruby
[00:02:27] RickHull: for every x there exists a c such that c is greater than x?
[00:02:29] goyox86: has joined #ruby
[00:02:55] havenwood: alias λ lambda
[00:03:13] dminuoso: RickHull: Yup
[00:03:16] RickHull: is λ a valid gem name?
[00:03:52] dminuoso: RickHull: Any utf8 name that is not a reserved keyword or uses characters special to the syntax is allowed as an identifier.
[00:04:19] RickHull: didn't npm recently have some problems with utf character spoofing?
[00:04:28] RickHull: (speaking of rubygems and utf)
[00:04:59] RickHull: or maybe it was hyphens or other similar typos
[00:05:16] dminuoso: >> Kernel.send(:alias_method, :lambda, :λ); f = λ { |x| x * 2 }; puts f.(2)
[00:05:17] ruby[bot]: dminuoso: # => undefined method `λ' for module `Kernel' (NameError) ...check link for more (https://eval.in/909552)
[00:05:26] mfb2: has joined #ruby
[00:05:33] dminuoso: >> Kernel.send(:alias_method, :λ, :lambda); f = λ { |x| x * 2 }; puts f.(2)
[00:05:34] ruby[bot]: dminuoso: # => 4 ...check link for more (https://eval.in/909553)
[00:05:46] mfb2: has joined #ruby
[00:05:47] cschneid_: has joined #ruby
[00:05:57] RickHull: I want to start a campaign for non-significant positional args for aliases
[00:06:22] RickHull: alias(foo, bar) will create whichever doesn't exist
[00:06:36] xcesariox: has joined #ruby
[00:07:11] dminuoso: people who screw this up (like me) should be punished for being bad.
[00:07:31] dminuoso: RickHull: if the programmer makes a mistake, its not the languages job to "guess" and "autofix"
[00:07:32] RickHull: I can never remember. it makes me unhappy as a developer
[00:08:11] RickHull: dminuoso: it is not a problem to just declare the semantics that the position doesn't matter
[00:08:53] dminuoso: RickHull: What if both exist?
[00:09:35] RickHull: i wouldn't be opposed to electrical leads going to the programmer's chair, mouse, or keyboard
[00:09:41] goyox86: has joined #ruby
[00:10:51] mfb2: has joined #ruby
[00:11:41] RickHull: PEBKAC? well duh, you disconnected the shock therapy encouragerator
[00:11:45] yeticry: has joined #ruby
[00:12:00] bmurt: has joined #ruby
[00:13:27] konsolebox: has joined #ruby
[00:18:38] houhoulis: has joined #ruby
[00:19:05] alveric2: has joined #ruby
[00:20:01] Mia: has joined #ruby
[00:20:01] Mia: has joined #ruby
[00:20:08] Tyrese: has left #ruby: ()
[00:21:22] Vircung: has joined #ruby
[00:26:54] orbyt_: has joined #ruby
[00:27:12] silvermine: has joined #ruby
[00:30:28] Swat2: has joined #ruby
[00:34:57] konsolebox: has joined #ruby
[00:35:31] plexigras: has joined #ruby
[00:41:27] konsolebox: has joined #ruby
[00:45:52] mcr1: has joined #ruby
[00:46:28] mfb2: has joined #ruby
[00:46:36] jenrzzz: has joined #ruby
[00:46:36] jenrzzz: has joined #ruby
[00:49:45] mahlon: has joined #ruby
[00:51:43] ged: has joined #ruby
[01:05:55] Vircung: has joined #ruby
[01:06:07] cdg: has joined #ruby
[01:08:25] konsolebox: has joined #ruby
[01:08:37] Algebr`: has joined #ruby
[01:10:50] danielgl-: has joined #ruby
[01:11:24] Algebr``: has joined #ruby
[01:16:30] al2o3-cr: has joined #ruby
[01:20:25] orbyt_: has joined #ruby
[01:20:57] cdg: has joined #ruby
[01:25:48] dviola: has joined #ruby
[01:26:33] Vircung: has joined #ruby
[01:27:26] mim1k: has joined #ruby
[01:38:00] konsolebox: has joined #ruby
[01:39:26] cagomez: has joined #ruby
[01:41:32] Vircung: has joined #ruby
[01:42:22] krawchyk: has joined #ruby
[01:45:50] mostlybadfly: has joined #ruby
[01:45:51] skweek: has joined #ruby
[01:46:35] ski7777: has joined #ruby
[01:46:47] SkeletorWasRight: has joined #ruby
[01:47:12] SkeletorWasRight: has joined #ruby
[01:52:42] bmurt: has joined #ruby
[01:54:16] Azure: has joined #ruby
[01:54:27] cdg: has joined #ruby
[01:56:24] helpa: has joined #ruby
[01:57:02] konsolebox: has joined #ruby
[02:02:53] Vircung: has joined #ruby
[02:16:33] mtkd: has joined #ruby
[02:17:03] bmurt: has joined #ruby
[02:18:12] Vircung: has joined #ruby
[02:18:47] xlegoman: has joined #ruby
[02:19:22] mahlon: has joined #ruby
[02:19:57] darthho0: has joined #ruby
[02:19:59] dviola: has joined #ruby
[02:20:12] darthho0: whats that interactive interpretor for ruby?
[02:21:22] ged: has joined #ruby
[02:22:01] motstgo: has joined #ruby
[02:23:48] cagomez: has joined #ruby
[02:28:43] eightlimbed: has joined #ruby
[02:31:20] cdg: has joined #ruby
[02:32:07] Technodrome: has joined #ruby
[02:35:20] conta: has joined #ruby
[02:37:43] Jameser: has joined #ruby
[02:38:44] Vircung: has joined #ruby
[02:43:26] gizmore|2: has joined #ruby
[02:46:45] bmurt: has joined #ruby
[02:48:07] konsolebox: has joined #ruby
[02:51:34] Vircung: has joined #ruby
[02:53:43] charliesome: has joined #ruby
[02:56:15] skweek: has joined #ruby
[03:00:17] cadillac_: has joined #ruby
[03:00:27] d^sh: has joined #ruby
[03:03:49] jenrzzz: has joined #ruby
[03:03:49] jenrzzz: has joined #ruby
[03:05:36] konsolebox: has joined #ruby
[03:13:28] Vircung: has joined #ruby
[03:13:50] uZiel: has joined #ruby
[03:14:57] jenrzzz: has joined #ruby
[03:19:30] ledestin: has joined #ruby
[03:21:29] enterprisey: has joined #ruby
[03:26:57] eightlimbed: has joined #ruby
[03:27:51] mim1k: has joined #ruby
[03:31:04] Vircung: has joined #ruby
[03:31:08] eckhardt: has joined #ruby
[03:35:53] Yzguy: has joined #ruby
[03:36:47] bmurt: has joined #ruby
[03:40:29] Barrt: has joined #ruby
[03:41:54] wolakkk: has joined #ruby
[03:43:12] konsolebox: has joined #ruby
[03:45:17] cdg: has joined #ruby
[03:45:39] enterprisey: has joined #ruby
[03:49:41] konsolebox: has joined #ruby
[03:52:07] Vircung: has joined #ruby
[03:52:45] bmurt: has joined #ruby
[03:55:42] konsolebox: has joined #ruby
[04:00:07] Jameser: has joined #ruby
[04:00:30] yokel: has joined #ruby
[04:01:21] Vircung: has joined #ruby
[04:01:45] Azure: has joined #ruby
[04:05:45] howdoi: has joined #ruby
[04:05:54] wolakkk: has joined #ruby
[04:06:50] milardovich: has joined #ruby
[04:07:12] konsolebox: has joined #ruby
[04:11:36] mfb2: has joined #ruby
[04:13:02] jxv: has joined #ruby
[04:14:01] bmurt: has joined #ruby
[04:17:08] Barrt: has joined #ruby
[04:18:13] konsolebox: has joined #ruby
[04:22:53] Vircung: has joined #ruby
[04:26:13] nofxx1: has joined #ruby
[04:30:02] priodev: has joined #ruby
[04:32:49] Ropeney: has joined #ruby
[04:33:43] Vircung: has joined #ruby
[04:36:55] conta: has joined #ruby
[04:38:55] dstrunk: has joined #ruby
[04:40:07] Exhiled: has joined #ruby
[04:45:39] gix-: has joined #ruby
[04:48:32] Jameser: has joined #ruby
[04:59:48] konsolebox: has joined #ruby
[05:00:49] Ropeney: has joined #ruby
[05:04:07] jenrzzz: has joined #ruby
[05:04:07] jenrzzz: has joined #ruby
[05:04:51] Vircung: has joined #ruby
[05:05:47] konsolebox: has joined #ruby
[05:12:50] Nightmare: has joined #ruby
[05:13:47] jenrzzz: has joined #ruby
[05:17:18] konsolebox: has joined #ruby
[05:18:03] jamesaxl: has joined #ruby
[05:21:42] safetypin: has joined #ruby
[05:22:45] b100s: has left #ruby: ("Leaving")
[05:26:13] Vircung: has joined #ruby
[05:29:07] astronavt: has joined #ruby
[05:32:09] k3rn31: has joined #ruby
[05:34:16] nadir: has joined #ruby
[05:34:59] iamarun: has joined #ruby
[05:47:06] plexigras: has joined #ruby
[05:47:31] rabajaj: has joined #ruby
[05:48:54] Exhiled: has joined #ruby
[05:56:37] jyaworski: has joined #ruby
[05:59:54] Vircung: has joined #ruby
[06:06:26] alex``: has joined #ruby
[06:06:49] jenrzzz: has joined #ruby
[06:09:22] mjolnird: has joined #ruby
[06:09:51] konsolebox: has joined #ruby
[06:10:55] Vircung: has joined #ruby
[06:12:33] wolakkk: has joined #ruby
[06:19:25] LocaMocha: has joined #ruby
[06:21:49] mson: has joined #ruby
[06:23:11] cschneid_: has joined #ruby
[06:30:54] Jameser: has joined #ruby
[06:32:26] Vircung: has joined #ruby
[06:33:54] konsolebox: has joined #ruby
[06:35:05] Axsuul: has joined #ruby
[06:38:19] cschneid_: has joined #ruby
[06:38:31] conta: has joined #ruby
[06:38:51] boshhead: has joined #ruby
[06:39:11] biberu: has joined #ruby
[06:40:25] konsolebox: has joined #ruby
[06:41:37] Vircung: has joined #ruby
[06:43:35] cdg: has joined #ruby
[06:50:11] jtdoncas: has joined #ruby
[06:53:45] meinside: has joined #ruby
[06:55:51] QCF: has joined #ruby
[06:55:57] konsolebox: has joined #ruby
[07:02:17] Vircung: has joined #ruby
[07:02:56] quobo: has joined #ruby
[07:09:22] eckhardt: has joined #ruby
[07:10:25] jgt: has joined #ruby
[07:14:19] Vircung: has joined #ruby
[07:18:26] reber: has joined #ruby
[07:20:29] cschneid_: has joined #ruby
[07:22:37] DoubleMalt: has joined #ruby
[07:26:06] konsolebox: has joined #ruby
[07:28:48] mim1k: has joined #ruby
[07:31:24] Jameser: has joined #ruby
[07:33:17] conta: has joined #ruby
[07:35:42] Vircung: has joined #ruby
[07:43:02] kies: has joined #ruby
[07:43:45] dionysus70: has joined #ruby
[07:45:13] ctrlaltdev: has joined #ruby
[07:47:42] silvermine: has joined #ruby
[07:49:00] ged: has joined #ruby
[07:49:34] mim1k: has joined #ruby
[07:50:28] mahlon: has joined #ruby
[07:51:12] Dimik: has joined #ruby
[07:52:01] jenrzzz: has joined #ruby
[07:52:01] jenrzzz: has joined #ruby
[07:52:41] jinie: has joined #ruby
[07:55:38] cschneid_: has joined #ruby
[07:56:33] konsolebox: has joined #ruby
[07:58:30] bkxd: has joined #ruby
[07:59:25] jenrzzz: has joined #ruby
[07:59:25] jenrzzz: has joined #ruby
[08:02:34] konsolebox: has joined #ruby
[08:02:54] yeticry: has joined #ruby
[08:04:16] avelldiroll: has joined #ruby
[08:07:58] aufi: has joined #ruby
[08:08:34] konsolebox: has joined #ruby
[08:13:25] TomyWork: has joined #ruby
[08:13:39] tAn: has joined #ruby
[08:17:05] cdg: has joined #ruby
[08:20:31] deepredsky: has joined #ruby
[08:20:33] jenrzzz: has joined #ruby
[08:21:23] dionysus70: has anyone succeeded in running ruby on android?
[08:22:13] baweaver: Ruboto did at some point
[08:22:20] baweaver: haven't looked in forever though
[08:23:04] wolakkk: has joined #ruby
[08:23:32] claudiuinberlin: has joined #ruby
[08:23:37] andikr: has joined #ruby
[08:25:41] guille-moe: has joined #ruby
[08:27:57] bkxd_: has joined #ruby
[08:29:40] InfinityFye: has joined #ruby
[08:31:50] Arahael: It's doable, for sure.
[08:32:05] Arahael: Hell, people have brought entire distros into it.
[08:34:21] cschneid_: has joined #ruby
[08:34:41] pwnd_nsfw`: has joined #ruby
[08:35:03] wolakkk: has joined #ruby
[08:35:05] silvermine: has joined #ruby
[08:40:26] aupadhye: has joined #ruby
[08:40:27] uZiel: has joined #ruby
[08:42:00] cschneid_: has joined #ruby
[08:42:32] wolakkk: has joined #ruby
[08:45:32] RevanOne: has joined #ruby
[08:46:13] claudiuinberlin: has joined #ruby
[08:46:34] guille-moe: has joined #ruby
[08:48:10] claudiuinberlin: has joined #ruby
[08:52:15] konsolebox: has joined #ruby
[08:55:06] DoubleMalt: has joined #ruby
[08:56:22] aupadhye: has joined #ruby
[08:58:25] marr: has joined #ruby
[08:58:56] miskatonic: has joined #ruby
[08:59:37] konsolebox: has joined #ruby
[09:04:34] cdg: has joined #ruby
[09:12:33] wolakkk: has joined #ruby
[09:13:01] bkxd: has joined #ruby
[09:14:45] tomphp: has joined #ruby
[09:16:07] cschneid_: has joined #ruby
[09:18:40] konsolebox: has joined #ruby
[09:28:03] sneep: dionysus70: ruby appears to run on Termux, in case you didn't mean something more stand-alone
[09:28:41] dionysus70: kk thx I ll google around termux :)
[09:30:24] sneep: It's like a user-space (i.e. non-root) command line environment for Android, which allows you to install packages using a standard package manager
[09:38:18] ur5us: has joined #ruby
[09:39:10] zautomata: has joined #ruby
[09:39:13] silvermine: has joined #ruby
[09:41:42] Beams: has joined #ruby
[09:42:08] mim1k: has joined #ruby
[09:45:56] burgestrand: has joined #ruby
[09:48:47] nowhere_man: has joined #ruby
[09:49:10] silvermine: has joined #ruby
[09:53:47] silvermine: has joined #ruby
[09:54:26] jnyw: has joined #ruby
[09:55:16] guardianx: has joined #ruby
[09:55:40] silvermine: has joined #ruby
[09:55:54] dminuoso: baweaver: what is irb?
[09:56:06] dminuoso: Is that some new functional ruby version?
[09:56:11] konsolebox: has joined #ruby
[09:58:49] bkxd_: has joined #ruby
[09:59:09] gregf_: has joined #ruby
[09:59:44] deepredsky: has joined #ruby
[10:00:09] cschneid_: has joined #ruby
[10:01:45] cgfbee: has joined #ruby
[10:03:36] wolakkk: has joined #ruby
[10:03:43] jenrzzz: has joined #ruby
[10:03:43] jenrzzz: has joined #ruby
[10:04:16] blackmesa: has joined #ruby
[10:07:10] konsolebox: has joined #ruby
[10:10:27] miskatonic: irb is interactive ruby
[10:10:46] miskatonic: it is not a functional thing
[10:11:10] miskatonic: it is not that new, either
[10:12:40] deepredsky: has joined #ruby
[10:12:55] wolakkk: has joined #ruby
[10:13:47] dminuoso: Maybe I should try it out then.
[10:19:10] konsolebox: has joined #ruby
[10:19:22] GodFather: has joined #ruby
[10:26:37] deepredsky: has joined #ruby
[10:29:41] Revan007: has joined #ruby
[10:30:12] mfb2: has joined #ruby
[10:30:25] al2o3-cr: has joined #ruby
[10:39:26] ldnunes: has joined #ruby
[10:41:18] deepredsky: has joined #ruby
[10:41:59] cschneid_: has joined #ruby
[10:43:33] bkxd: has joined #ruby
[10:45:01] cschneid_: has joined #ruby
[10:46:11] Serpent7776: has joined #ruby
[10:49:02] guille-moe: has joined #ruby
[10:49:04] Bish: has joined #ruby
[10:49:19] Bish: if a website returns 423 mechanize raises
[10:49:23] Bish: can i still get the body?
[10:50:47] darix: Bish: well check your response object
[10:50:51] Vircung: has joined #ruby
[10:51:11] darix: or the exceptions object if it has a page object attached
[10:52:29] Bish: darix: oh it really has a @page variable
[10:53:36] RevanOne: has joined #ruby
[10:54:37] leitao: has joined #ruby
[10:55:04] darix: Bish: in any of those cases. put a binding.pry in your script and start tinkering
[10:55:14] darix: (e.g. into the rescue clause)
[10:55:51] Bish: darix: yeah that's exactly what i did, i just didn't expect the exception object to include the response
[10:56:12] Bish: errorobject im sorry
[10:57:31] darix: Bish: just calling inspect or errorobject.<tab><tab> would have told you :P
[10:57:44] darix: that's why i love pry so much. interactively developing software^^
[11:00:50] jgt: has joined #ruby
[11:01:57] jenrzzz: has joined #ruby
[11:01:57] jenrzzz: has joined #ruby
[11:04:52] etehtsea: has joined #ruby
[11:07:48] konsolebox: has joined #ruby
[11:11:38] deepredsky: has joined #ruby
[11:12:38] jaruga: has joined #ruby
[11:17:07] cschneid_: has joined #ruby
[11:26:34] deepredsky: has joined #ruby
[11:28:20] Barrt: has joined #ruby
[11:34:45] Natille: has joined #ruby
[11:35:51] Natille: has left #ruby: ()
[11:39:06] Natille: has joined #ruby
[11:39:46] lupine: has joined #ruby
[11:40:32] c0ncealed: has joined #ruby
[11:41:21] Natille: Hi everyone :)
[11:41:21] Natille: Is here a good place to ask for bits of help about ruby ? I'm reading about here in "beginning ruby" book
[11:43:16] konsolebox: has joined #ruby
[11:46:46] gheegh: has joined #ruby
[11:48:12] Barrt: has joined #ruby
[11:50:05] Jameser: has joined #ruby
[11:50:27] apparition: has joined #ruby
[11:51:56] Bish: darix: why inspect ls is much better if u ask me
[11:53:57] minimalism: has joined #ruby
[11:54:17] Jameser: has joined #ruby
[11:56:09] cschneid_: has joined #ruby
[12:01:55] rouge: has joined #ruby
[12:05:20] Psybur: has joined #ruby
[12:05:50] cadillac_: has joined #ruby
[12:06:19] cdg: has joined #ruby
[12:07:46] Vircung: has joined #ruby
[12:10:42] mcr1: has joined #ruby
[12:11:27] jenrzzz: has joined #ruby
[12:16:09] apeiros_: has joined #ruby
[12:18:45] houhoulis: has joined #ruby
[12:20:57] mim1k: has joined #ruby
[12:25:44] cdg: has joined #ruby
[12:33:40] tvw: has joined #ruby
[12:33:51] dstrunk: has joined #ruby
[12:34:57] Technodrome: has joined #ruby
[12:44:03] banisterfiend: has joined #ruby
[12:45:31] Bish: hm, i listed mechanize without further do in my gemfile, and recently updated
[12:45:37] Bish: i had version 1.0 how did that happen?
[12:45:43] Vircung: has joined #ruby
[12:46:43] charliesome: has joined #ruby
[12:51:06] darix: Bish: maybe it was the only version that worked together with other deps specified in your gem file
[12:54:13] workmad3: has joined #ruby
[12:54:52] hays: has joined #ruby
[12:54:52] hays: has joined #ruby
[12:57:32] banisterfiend: has joined #ruby
[13:02:52] silvermine: has joined #ruby
[13:05:28] vondruch: has joined #ruby
[13:05:46] Bish: darix: how do i find out
[13:06:58] lupine: has joined #ruby
[13:09:00] cschneid_: has joined #ruby
[13:09:21] mim1k: has joined #ruby
[13:09:26] Bish: ha, that dude did write pry, didn't he?
[13:13:00] deepredsky: has joined #ruby
[13:14:39] shinnya: has joined #ruby
[13:15:15] darix: Bish: who?
[13:17:31] Bish: he just left
[13:17:38] Bish: i went to this github some minutes ago
[13:17:47] Bish: and was like " i dont know that dude from #ruby"
[13:18:28] skweek: has joined #ruby
[13:18:44] apeiros: would be the main/original author of pry
[13:18:59] truenito: has joined #ruby
[13:19:46] burgestrand: Usually a regular here though but I haven't seen them that often as of recent
[13:20:17] burgestrand: To be fair I could say the same thing about me so that's probably some bias :d
[13:21:49] guille-moe: has joined #ruby
[13:23:50] banisterfiend: has joined #ruby
[13:23:57] ohcibi_: has joined #ruby
[13:24:23] dminuoso: gem authors are just people
[13:25:58] jeffreylevesque: has joined #ruby
[13:26:42] dminuoso: Or monkeys considering the Infinite-Monkey-Theorem.
[13:28:14] jeffreylevesque_: has joined #ruby
[13:28:26] burgestrand: banisterfiend you still live in europe?
[13:28:29] darix: dminuoso: biology suggests we are all monkeys
[13:28:41] apeiros: dminuoso: we humans are the monkeys in a larger scale experiment by some xenos
[13:29:07] apeiros: they want to know how many billion years it takes for us to build our own universe simulator
[13:29:24] apeiros: what the xenos don't know - they themselves are just a simulation too
[13:29:33] dminuoso: So we're just the IMT simulator?
[13:29:51] rfoust: has joined #ruby
[13:29:54] darix: jumping around in the bundler code base is no fun. all i want is a simple method that parses the gemfile and gives me the list of all deps.
[13:29:55] bmurt: has joined #ruby
[13:30:15] mfb2: has joined #ruby
[13:30:21] burgestrand: I did this not too long ago, I'll see if I can find it
[13:30:36] darix: Burgestrand: writing an universe simulator?
[13:30:59] burgestrand: darix you're running it already ;)
[13:31:33] burgestrand: More on the lines of iterating through the list of all gems and their dependencies, I did it to extract all the license information of all gems I was using
[13:32:30] darix: Burgestrand: I want to make it easier to package rails apps as rpm
[13:32:44] darix: so write a script that generates rpm buildrequires from a gemfile
[13:33:04] darix: and next step is than write a generator that does requires from gemfile.lock
[13:33:13] darix: but that part is easier
[13:33:17] banisterfiend: Burgestrand yep i'm in netherlands, why?
[13:33:20] burgestrand: darix I can't find it anyway :)
[13:33:25] darix: Burgestrand: tststs
[13:33:58] Ouchy: has joined #ruby
[13:34:26] burgestrand: banisterfiend mainly curious, I was thinking yesterday that I should go to nz some time and thought of you
[13:34:41] burgestrand: (not the coming year though)
[13:35:34] DaniG2k: has joined #ruby
[13:35:43] burgestrand: darix now that I think of it was probably for cocoapods and not rubygems/bundler, derp :(
[13:37:48] darix: Burgestrand: i will find it
[13:37:50] darix: at some point
[13:41:35] darix: Bundle.setup looks promisising
[13:48:04] konsolebox: has joined #ruby
[13:51:16] darix: Burgestrand: Bundler::Definition.build('Gemfile', 'Gemfile.locker', false)
[13:53:43] cschneid_: has joined #ruby
[13:53:54] Bish: so you're that banister dude?
[13:55:39] cschneid_: has joined #ruby
[13:55:42] burgestrand: banisterfiend
[13:57:00] Bish: well thanks for pry then!
[13:57:08] Bish: saved me many many hours
[13:57:27] burgestrand: You should thank him the next time he moves the laptop mouse and comes back in, disappeared again
[13:57:51] burgestrand: (I'm not banisterfiend)
[13:57:58] mim1k: has joined #ruby
[13:58:01] darix: Burgestrand: but one would expect that bd=Bundler::Definition.build('Gemfile', 'Gemfile.locker', false) ; bd.specs_for([:assets]) wouldnt complain about missing gems from the test groups
[13:59:18] silvermine: has joined #ruby
[14:00:27] burgestrand: darix Yeah there's something funky going on there, it crashed my interpreter :D
[14:00:30] burgestrand: (because of missing gems)
[14:02:53] cdg: has joined #ruby
[14:04:13] cdg: has joined #ruby
[14:06:39] wolakkk: has joined #ruby
[14:09:56] Vircung: has joined #ruby
[14:11:09] Vircung: has joined #ruby
[14:11:59] Bish: Burgestrand: how do you know it's a laptop mouse
[14:12:20] cdg_: has joined #ruby
[14:12:46] burgestrand: Bish because if it's a real mouse then we're back in the territory of an army of monkeys doing coding again
[14:13:05] Bish: i don't follow, why doesn't he have a desktop pc
[14:15:11] burgestrand: Bish sorry, it's a bit late in the day so I'm just playing around, I don't know his setup other than his IRC claims his MacBook went to sleep (i.e. likely to be laptop), personally my workstation is a laptop with attached screen :)
[14:15:25] Bish: uhh sherlock holmes
[14:18:02] fribmendes: has joined #ruby
[14:19:11] SteenJobs: has joined #ruby
[14:25:55] rikkipitt: has joined #ruby
[14:27:31] nicesignal: has joined #ruby
[14:28:45] safetypin: has joined #ruby
[14:28:53] deepredsky: has joined #ruby
[14:29:19] krawchyk: has joined #ruby
[14:30:52] cschneid_: has joined #ruby
[14:32:56] rikkipitt: has joined #ruby
[14:35:19] valkyr2e: has joined #ruby
[14:36:25] DLSteve: has joined #ruby
[14:38:21] Natille: has left #ruby: ()
[14:39:19] gnufied: has joined #ruby
[14:40:30] rikkipitt: has joined #ruby
[14:41:51] oleo: has joined #ruby
[14:42:11] Vircung: has joined #ruby
[14:43:14] jenrzzz: has joined #ruby
[14:43:14] jenrzzz: has joined #ruby
[14:44:39] deepredsky: has joined #ruby
[14:44:39] mcr1: has joined #ruby
[14:46:48] banisterfiend: has joined #ruby
[14:53:34] spastorino: has joined #ruby
[14:58:41] lupine: has joined #ruby
[15:00:30] SteenJobs: has joined #ruby
[15:00:50] Neptu: has joined #ruby
[15:06:04] cschneid_: has joined #ruby
[15:07:13] sepp2k: has joined #ruby
[15:08:39] konsolebox: has joined #ruby
[15:10:13] polishdub: has joined #ruby
[15:11:28] milardovich: has joined #ruby
[15:11:29] dviola: has joined #ruby
[15:14:16] lizard2010: has joined #ruby
[15:14:48] Flabbergazta: where can I find help for capybara related stuff?
[15:15:56] dminuoso: Flabbergazta: here and rails probably. is this rails related?
[15:18:14] Flabbergazta: err wrong channel, I guess its more related to rails
[15:18:53] Flabbergazta: I am using page object models with capybara, how would I go about trying to fill in a text field? page.element.? ?
[15:19:53] dminuoso: Flabbergazta: rspec?
[15:19:59] milardovich: has joined #ruby
[15:20:27] daveomcd: has joined #ruby
[15:20:28] konsolebox: has joined #ruby
[15:21:01] dminuoso: Flabbergazta: just plain fill_in, it's documented https://github.com/teamcapybara/capybara
[15:21:33] Flabbergazta: dminuoso: flll_in 'id' :with works, but I was looking for something more like page.element.fill_in maybe?
[15:21:37] Flabbergazta: that doesn't work though
[15:21:43] daveomcd: given the following object. How can I get the index of the initial array (this example: 3), where the string "OH" occurs? positions = [["QB"],["WR","WO"],["TE"],["RB","OH","TB"],["FB"],["OC"],["OG"],["OT"]]
[15:22:11] tcopeland: has joined #ruby
[15:22:13] Flabbergazta: I dont want string constants in my rspec
[15:22:28] Bish: >> [["QB"],["WR","WO"],["TE"],["RB","OH","TB"],["FB"],["OC"],["OG"],["OT"]].find_index { |arr| arr.find("OH") }
[15:22:29] ruby[bot]: Bish: # => 0 (https://eval.in/910012)
[15:22:35] dminuoso: Flabbergazta: You have them anyway,.
[15:22:36] Rapture: has joined #ruby
[15:22:37] Bish: that's not correct
[15:22:47] Bish: >> [["QB"],["WR","WO"],["TE"],["RB","OH","TB"],["FB"],["OC"],["OG"],["OT"]].find_index { |arr| arr.find{|x| x == "OH"} }
[15:22:48] ruby[bot]: Bish: # => 3 (https://eval.in/910013)
[15:22:55] dminuoso: Flabbergazta: You somehow need to identify that element, and that identification will usually be a string.
[15:22:57] daveomcd: Thanks Bish I'll try that
[15:22:59] Bish: that's correct.
[15:23:15] dminuoso: Flabbergazta: but fill_in(a, b) is basically shorthand for find(a).set(b) I think.
[15:24:20] Bish: >> [["QB"],["WR","WO"],["TE"],["RB","OH","TB"],["FB"],["OC"],["OG"],["OT"]].find_index { |arr| arr.include?("OH") }
[15:24:21] ruby[bot]: Bish: # => 3 (https://eval.in/910014)
[15:24:25] Bish: i think this one is more readable
[15:26:18] dminuoso: findIndex(any(eq("OH")), arr)
[15:26:31] Bish: there goes the lense guy again
[15:26:38] dminuoso: No lenses this time!
[15:27:31] Bish: dminuoso: we're in ruby here tho, what is findIndex what's eq?
[15:27:48] bmurt: has joined #ruby
[15:28:00] dminuoso: findIndex :: (a → Boolean) → [a] → Integer
[15:28:12] dminuoso: eq :: a → b → Boolean
[15:28:17] Bish: are you using neo keyboard layout?
[15:28:32] Bish: how do you make fancy arrows
[15:28:36] dminuoso: Custom compose keys.
[15:28:39] urk187: has joined #ruby
[15:28:45] Bish: try neo, it's awesome
[15:28:54] Bish: for stuff like that
[15:28:58] Bish: ΨΘΨΘ∈Π∪⇒ℕℕ⇔⇒↦↦
[15:29:47] dminuoso: ℂ just costs me: right-alt, |, C
[15:29:58] dminuoso: I very much like US keyboard.
[15:30:16] Bish: there is neo with us keyboard layout, just the "layers" added
[15:30:27] Bish: it doesn't break your fingers when doing {}()<>[]
[15:30:53] Bish: needs some getting used to it, but then it's nice, actually learned 10-finger-typing with that after 15+ years
[15:30:57] dminuoso: What do you do for say ⇒ ?
[15:31:32] Bish: shift+<(or whatever is next to z(to the left)) ⇒
[15:31:42] Bish: shift lock*
[15:31:58] duderonomy: has joined #ruby
[15:32:25] Bish: you have 5 layers on your keyboard which you can reach with modifiers, so you can basicially can type everything + numbers with only the alphabet
[15:32:53] Bish: https://www.neo-layout.org/ see "Die 6 Ebenen" doesn't need a translation when you have the "ebenen"
[15:33:50] Bish: you also don't have to reach for delete or backspace
[15:33:56] Bish: or return, or tab
[15:34:42] Bish: layer 4, has uparrow,downarrow,left,right and next around it are
[15:34:53] kus_ubuntui686a: has joined #ruby
[15:34:59] Bish: page up, page down, full left, full right, backspace, delete, tab return
[15:36:06] Bish: too bad you americans have a letter there
[15:36:38] dminuoso: Im not American.
[15:36:46] SuperLag: has joined #ruby
[15:36:58] Bish: do you have an physical us keyboard? or just the mapping
[15:37:11] miskatonic: just the mapping
[15:37:24] dminuoso: My macbook has a german keyboard, while my desktop has physical us keyboard.
[15:37:38] Bish: so neo would be perfect, there is neo qwertz
[15:37:38] dminuoso: But both have both mappings (I just use US primarily, switching to German only for typing Umlaute at times)
[15:37:50] dminuoso: Why would I use qwertz?
[15:37:58] Bish: because why else would you like us?
[15:38:01] dminuoso: My muscle memory is trained for US layout.
[15:38:23] Bish: well, it took a week for me to get used to {}()><[] on neo
[15:38:28] Bish: worth every second
[15:39:20] miskatonic: i never use the native german mapping
[15:40:08] Bish: yeah it's stupid, especially {} made me sad
[15:40:34] dminuoso: nothing about qwerty makes sense
[15:40:49] dminuoso: at least not in this and the past century
[15:41:00] yokel: has joined #ruby
[15:41:21] Bish: yeah it's one of those things which "always been that way"
[15:43:41] DoubleMalt: has joined #ruby
[15:44:06] sysvalve: has joined #ruby
[15:44:13] miskatonic: how about dvorak?
[15:44:34] Bish: didn't try, didnt care, i wanted a better way to reach the special characters
[15:44:50] Bish: i even kept qwertz because learning neo took me to long
[15:44:55] Bish: so i have neo-qwertz
[15:45:17] Bish: also it really fucks you up, when going to a coworkers pc
[15:45:39] dminuoso: It fucks them up more if they use yours.
[15:45:45] dminuoso: Its better than any encryption or password.
[15:45:50] dminuoso: It guarantees they cant do jack shit with your computer.
[15:46:04] Bish: as i said ^^ normal chars are qwertz
[15:46:17] dminuoso: Oh so you didnt go all-in?
[15:46:27] Bish: yes, that was crazy, i tried
[15:46:38] Bish: that would cost a lot of time
[15:46:42] Bish: multiple weeks
[15:47:01] Bish: im happy i can type with 10 fingers now, without moving my hand
[15:47:17] Bish: never seemed to be able to do that maybe it was because of {}()
[15:48:44] dminuoso: Bish: So what about things like " ?
[15:49:00] dminuoso: Having ' and " on the same key is useful
[15:49:16] dminuoso: Do you not use that key and use layers 2 and 3 instead?
[15:49:28] gheegh: has joined #ruby
[15:50:09] vondruch: has joined #ruby
[15:53:23] enterprisey: has joined #ruby
[15:53:48] Bish: ' is caps lock and ","
[15:54:02] Bish: " is caps lock and "," i mean
[15:54:13] Bish: ' is caps lock + "."
[15:54:48] Bish: i think that is special for neo_qwertz
[15:55:30] veeti: has joined #ruby
[15:55:44] Bish: but it is so much easier writing complicated statements with that
[15:55:52] Bish: well, FEIERABEND, cya
[15:56:01] dminuoso: Look at that. He is German.
[15:56:16] jxv: has joined #ruby
[15:56:24] Bish: wie das duftet kräftig deftig würzig gut
[15:56:50] Bish: i forgot some comma there
[15:56:58] porfavordama: has joined #ruby
[15:57:06] bhaak: sounds like he learned his German from commercials
[15:57:20] Bish: just acting german, so i stay anonymous
[15:57:30] Bish: zeh kommunist are after me
[15:57:31] bhaak: ah, an Austrian
[15:57:58] Bish: yes axactly, from sydney
[15:58:15] synthroid: has joined #ruby
[15:58:26] bhaak: that's south easterish of Germany. that's all the same ;-)
[15:59:04] Bish: https://youtu.be/w58BPcLeGt4?t=309
[15:59:06] Bish: obligatory
[15:59:21] Bish: ostria!!
[15:59:25] dminuoso: 16:57 bhaak | ah, an Austrian
[15:59:29] dminuoso: Bish: My condolences.
[16:00:04] porfavordama: Hello everyone,
[16:00:10] jackjackdripper: has joined #ruby
[16:00:10] Bish: porfavordama: hi, wanna talk about ruby?
[16:00:12] nofxx: has joined #ruby
[16:00:44] Yzguy: has joined #ruby
[16:00:50] hfp_work: has joined #ruby
[16:00:51] jackjackdripper: has joined #ruby
[16:00:57] milardov_: has joined #ruby
[16:01:10] porfavordama: I am kinda beginner. My question is why do I get different results on this code ? https://ideone.com/UUptdZ
[16:01:25] dminuoso: See. This is a good question.
[16:02:20] Bish: porfavordama: well, you print before the operation, am i mistaking?
[16:02:37] dminuoso: porfavordama: Looks the same to me.
[16:02:38] Bish: at line 11 you print at line 12 you multiply by 2
[16:02:40] porfavordama: Bish, that's true
[16:02:54] Bish: first and last line are the same
[16:03:18] Yzguy: has joined #ruby
[16:03:23] Bish: move line 11 after 12, maybe that helps understanding
[16:03:40] silvermine: has joined #ruby
[16:03:42] Bish: switch it back and forth and stare at it REALLY CLOSELY
[16:03:49] Bish: until it tells you it's secret
[16:04:10] dminuoso: I blame imperative programming.
[16:04:17] Bish: dminuoso: so do i
[16:04:17] dminuoso: In a pure world without side effects this would not have happened!
[16:04:34] Bish: i've been mocked lately for saying the same thing
[16:04:38] porfavordama: Bish, okay lemme try ^^
[16:04:43] Bish: "your code has sideeffects your cpu is getting warm"
[16:05:02] dminuoso: Bish: Strictly speaking that's true.
[16:05:14] dminuoso: Bish: CPU temperature is frequently used amongst many other things for entropy.
[16:05:22] apeiros: has joined #ruby
[16:05:25] dminuoso: So your code has sideeffects on PRNGs on the system.
[16:05:40] dminuoso: Or any temperature gauges ;o
[16:05:56] Bish: so you can say the web cryptocoin miners do lessen the security of PRNGs?
[16:06:07] Bish: because they're always maximum
[16:06:18] dminuoso: Bish: I suggest you stop using "side-effects" and talk about referential transparency.
[16:06:24] dminuoso: That leaves them with no escape!
[16:06:49] troys: has joined #ruby
[16:07:11] Bish: don't know that term, whill let it be read to me on the way home
[16:07:17] Bish: the future ~
[16:07:20] porfavordama: Bish: oh that was my fault! Should've thought that it was also multiplying at the first step as well
[16:07:33] porfavordama: Thank you. :)
[16:07:38] Bish: porfavordama: yes ! you got the state BEFORE the calculation, no different result :)
[16:07:51] Bish: you're welcome, KEEP ON RUBYING
[16:07:53] dminuoso: Bish: Referential transparency is when you can replace a function call with the value it returns with no change in behavior.
[16:08:21] Bish: oh that wasa quick definition.
[16:08:26] Bish: isn't that an implication of pureness?
[16:08:40] dminuoso: Basically yes.
[16:08:50] waveprop: has joined #ruby
[16:09:22] dminuoso: Any function that is referentially transparent may be called "a pure function"
[16:10:22] Bish: thanks for that chat, see you around!
[16:11:15] Vircung: has joined #ruby
[16:11:23] uZiel: has joined #ruby
[16:14:07] banisterfiend: has joined #ruby
[16:17:05] gix: has joined #ruby
[16:17:40] rkoller: has joined #ruby
[16:19:31] DanielI: has joined #ruby
[16:19:58] johnny86: has joined #ruby
[16:21:05] DanielI: has joined #ruby
[16:21:48] wolakkk: has joined #ruby
[16:23:41] JaccoP: has joined #ruby
[16:25:41] mfb2: has joined #ruby
[16:26:52] conta: has joined #ruby
[16:27:37] skweek: has joined #ruby
[16:32:13] lxnr: has joined #ruby
[16:32:47] cschneid_: has joined #ruby
[16:33:16] Technodrome: has joined #ruby
[16:43:11] herbmillerjr: has joined #ruby
[16:52:46] Exhiled: has joined #ruby
[16:53:34] drowze: has joined #ruby
[16:53:58] Silthias: has joined #ruby
[16:55:48] mfb2: has joined #ruby
[16:56:03] mfb2: has joined #ruby
[16:56:14] noobineer: has joined #ruby
[17:01:44] mniip: has joined #ruby
[17:04:51] Exhiled: has joined #ruby
[17:05:54] Guest90: has joined #ruby
[17:06:49] guille-moe: has joined #ruby
[17:08:43] mtkd: has joined #ruby
[17:10:42] jenrzzz: has joined #ruby
[17:14:01] vondruch: has joined #ruby
[17:18:01] tomphp: has joined #ruby
[17:18:05] brent__: has joined #ruby
[17:18:19] andygeorge: has joined #ruby
[17:24:15] Exhiled: has joined #ruby
[17:25:42] Technodrome: has joined #ruby
[17:25:48] naquad: has joined #ruby
[17:26:32] KeyJoo: has joined #ruby
[17:28:51] d10n-work: has joined #ruby
[17:30:17] rouge: has joined #ruby
[17:30:44] wolakkk: has joined #ruby
[17:33:59] kies: has joined #ruby
[17:37:31] orbyt_: has joined #ruby
[17:38:19] SeepingN: has joined #ruby
[17:42:11] aufi: has joined #ruby
[17:42:41] aintno_sunshine: has joined #ruby
[17:44:03] SteenJobs: has joined #ruby
[17:48:03] MrBusiness: has joined #ruby
[17:49:03] graft_: has joined #ruby
[17:49:42] ur5us: has joined #ruby
[17:51:54] j0n3: has joined #ruby
[17:52:14] konsolebox: has joined #ruby
[18:00:24] bambanx: has joined #ruby
[18:02:13] ramfjord: has joined #ruby
[18:05:02] RickHull: has joined #ruby
[18:05:02] banisterfiend: has joined #ruby
[18:06:28] DoubleMalt: has joined #ruby
[18:07:20] marxarelli: has joined #ruby
[18:07:31] mfb2: has joined #ruby
[18:09:48] truenito: has joined #ruby
[18:11:33] claudiuinberlin: has joined #ruby
[18:12:40] mcr1: has joined #ruby
[18:21:04] dcluna: has joined #ruby
[18:23:46] [Butch]: has joined #ruby
[18:24:01] yabbes: has joined #ruby
[18:24:16] csk157: has joined #ruby
[18:24:26] banisterfiend: has joined #ruby
[18:25:10] Exhiled: has joined #ruby
[18:25:44] mim1k: has joined #ruby
[18:27:15] Dimik: has joined #ruby
[18:28:22] conta2: has joined #ruby
[18:29:37] Pierreb|home: has joined #ruby
[18:30:20] TomyLobo: has joined #ruby
[18:34:50] ninja247: has joined #ruby
[18:36:01] ninja247: new to ruby
[18:37:05] havenwood: ninja247 welcome
[18:40:59] ninja247: hi is this better than other slack channels?
[18:41:15] dminuoso: Only if baweaver is making puns.
[18:41:26] dminuoso: And he's been slacking...
[18:41:54] rippa: has joined #ruby
[18:42:21] skawa: Getting an "An error occurred while installing dbm (0.5.1), and Bundler cannot continue." when using ruby:2.5.0-preview1-slim-stretch ... Details here: https://gist.github.com/anonymous/6624d1d281ec3cc90a372ac2cf7a9ff0
[18:43:01] skawa: that line in the Gemfile just says gem 'dbm'
[18:43:09] skawa: no version specified
[18:45:18] CrazyEddy: has joined #ruby
[18:46:34] baweaver: dminuoso ninja247: If I be slacking the puns be sorely lacking. What's cracking?
[18:47:11] dminuoso: Now it's rhyming? "|
[18:48:23] ninja247: lulz imma get my own good ones
[18:49:10] baweaver: To not rhyme would be a crime.
[18:49:16] baweaver: dminuoso: wanna lime?
[18:50:11] baweaver: A haiku makes sense; The verse flows more cleanly here; Would you prefer that?
[18:50:15] skawa: oh its probably missing ndbm.h...
[18:50:33] eckhardt: has joined #ruby
[18:51:57] enterprisey: has joined #ruby
[18:52:50] clemens3: has joined #ruby
[18:53:46] ramfjord: has joined #ruby
[19:01:42] Uranio: has joined #ruby
[19:02:04] skawa: but i should be getting that from here... ?? https://github.com/docker-library/ruby/blob/0f6af01cc2f8b8d39ea5f2c7e9fb3c413edb93d6/2.5-rc/stretch/Dockerfile#L23
[19:02:14] noobyNoobyNoo: has joined #ruby
[19:03:06] dminuoso: skawa: You have to install development tools first.
[19:03:41] Uranio: has left #ruby: ()
[19:03:52] skawa: dminuoso: define development tools? kernel headers?
[19:03:55] dminuoso: But I guess buildpack-deps has you covered
[19:04:02] dminuoso: skawa: I'd look into the layer and check the mkmf.log
[19:04:16] skawa: dminuoso: i cat it in that log output...
[19:04:51] skawa: i keep thinking it must be this: https://gist.github.com/anonymous/6624d1d281ec3cc90a372ac2cf7a9ff0#file-gistfile1-txt-L13
[19:04:55] orbyt_: has joined #ruby
[19:04:56] dminuoso: skawa: You are lacking the ruby headers.
[19:04:59] Lytol: has joined #ruby
[19:05:02] dminuoso: https://gist.github.com/anonymous/6624d1d281ec3cc90a372ac2cf7a9ff0#file-gistfile1-txt-L82-L88
[19:05:04] dminuoso: Most likely.
[19:05:47] dminuoso: skawa: can you compile that program using the specified flags from hand?
[19:05:56] skawa: dminuoso: you mean these, when you say headers? https://github.com/docker-library/ruby/blob/0f6af01cc2f8b8d39ea5f2c7e9fb3c413edb93d6/2.5-rc/stretch/Dockerfile#L22-L23
[19:06:11] skawa: dminuoso: im trying to do this via Dockerfile :C
[19:07:37] [Butch]: has joined #ruby
[19:07:41] dminuoso: skawa: You probably might want to split that into multiple RUN, and insert a CMD /bin/sh between or something you can look into that layer.
[19:08:48] dminuoso: skawa: https://gist.github.com/anonymous/6624d1d281ec3cc90a372ac2cf7a9ff0#file-gistfile1-txt-L79-L88 try this from hand inside the docker container. Something is failing, but its not showing what.
[19:09:25] dminuoso: (Either the header cant be found, or there's some other compilation error)
[19:10:01] JaccoP: has joined #ruby
[19:10:09] leitao: has joined #ruby
[19:11:40] Barrt: has joined #ruby
[19:11:59] ninja247: has left #ruby: ()
[19:12:29] ninja247: has joined #ruby
[19:13:12] mson: has joined #ruby
[19:13:56] banisterfiend: has joined #ruby
[19:16:42] rm8: has joined #ruby
[19:17:11] banisterfiend: has joined #ruby
[19:19:05] csk157: has joined #ruby
[19:19:09] Uranio: has joined #ruby
[19:19:37] Uranio: has left #ruby: ()
[19:19:54] skawa: dminuoso: i was pulling ruby release with the slim tag... but looking at the dockerfile for the full release
[19:20:02] skawa: so yeah the issue was that those headers weren't being installed
[19:20:55] dminuoso: skawa: I'd say its a bug in the sense that you dont get a useful error.
[19:21:17] skawa: i did, though. it listed the header that was missing
[19:26:55] yabbes: has joined #ruby
[19:29:01] sspreitz: has joined #ruby
[19:29:48] csk157: has joined #ruby
[19:31:42] dminuoso: skawa: Where?
[19:32:13] dminuoso: skawa: https://gist.github.com/anonymous/6624d1d281ec3cc90a372ac2cf7a9ff0#file-gistfile1-txt-L77-L88 this did not give you the error.
[19:32:15] banisterfiend: has joined #ruby
[19:32:20] Vircung: has joined #ruby
[19:32:42] skawa: dminuoso: i thought it was this https://gist.github.com/anonymous/6624d1d281ec3cc90a372ac2cf7a9ff0#file-gistfile1-txt-L13
[19:33:08] dminuoso: skawa: Huh.
[19:33:53] skawa: dminuoso: ndbm.h would have been provided here, if i had used the right release tag: https://github.com/docker-library/ruby/blob/0f6af01cc2f8b8d39ea5f2c7e9fb3c413edb93d6/2.5-rc/stretch/Dockerfile#L23
[19:34:15] lxnr_: has joined #ruby
[19:35:41] dminuoso: ACTION sighs
[19:37:40] csk157: has joined #ruby
[19:38:53] sspreitz: has joined #ruby
[19:40:56] bkxd: has joined #ruby
[19:41:29] _sfiguser: has joined #ruby
[19:45:13] Vircung: has joined #ruby
[19:48:27] banisterfiend: has joined #ruby
[19:48:29] sspreitz: has joined #ruby
[19:49:56] jamiejackson: has joined #ruby
[19:50:34] goyox86_: has joined #ruby
[19:50:51] ironcamel: has joined #ruby
[19:51:38] Exhiled: has joined #ruby
[19:52:23] mcr1: has joined #ruby
[19:54:22] jackjackdripper: has joined #ruby
[19:55:12] Vircung: has joined #ruby
[19:55:42] milardovich: has joined #ruby
[19:56:22] jackjackdripper: has joined #ruby
[19:58:32] sspreitz: has joined #ruby
[19:59:48] bkxd: has joined #ruby
[20:01:50] kanobt61: has joined #ruby
[20:02:51] bambanx: has joined #ruby
[20:03:46] ohcibi_: has joined #ruby
[20:04:57] kitikonti: has joined #ruby
[20:08:25] Technodrome: has joined #ruby
[20:08:29] agent_white: has joined #ruby
[20:11:20] raynold: has joined #ruby
[20:11:58] ohcibi_: has joined #ruby
[20:13:06] banisterfiend: has joined #ruby
[20:14:27] lxnr_: has joined #ruby
[20:14:27] bkxd: has joined #ruby
[20:16:56] jenrzzz: has joined #ruby
[20:16:56] jenrzzz: has joined #ruby
[20:22:35] ohcibi_: has joined #ruby
[20:22:59] bmurt: has joined #ruby
[20:28:31] darix: normally when you do this: bundle install --local --without="development test heroku no_docker"
[20:28:40] darix: should it really complain about: Could not find gem 'airbrake (~> 4.3.5)' in any of the gem sources listed in your Gemfile.
[20:28:57] darix: which is in a section: group :development, :test do
[20:30:49] darix: even moving it sections without the 2 group entries makes it fail
[20:30:50] orbyt_: has joined #ruby
[20:31:54] marr: has joined #ruby
[20:33:47] ninja247: has left #ruby: ()
[20:34:25] Vircung: has joined #ruby
[20:36:13] mfb2: has joined #ruby
[20:36:20] ur5us: has joined #ruby
[20:37:25] Barrt: has joined #ruby
[20:38:01] milardov_: has joined #ruby
[20:41:27] gigetoo: has joined #ruby
[20:42:11] conta2: has joined #ruby
[20:42:48] faces: has joined #ruby
[20:43:17] houhoulis: has joined #ruby
[20:45:44] mfb2: has joined #ruby
[20:46:01] lxnr_: has joined #ruby
[20:47:28] eckhardt: has joined #ruby
[20:47:57] RickHull: it sounds like the gem source is "global" to the Gemfile, and it's not skipping existence validation for the --without groups
[20:48:09] RickHull: which is kinda sorta reasonable
[20:48:41] RickHull: are there gem source directives that are specific to a group?
[20:48:55] ohcibi_: has joined #ruby
[20:50:43] orbyt_: has joined #ruby
[20:52:37] darix: RickHull: no
[20:53:05] darix: RickHull: https://github.com/errbit/errbit/blob/master/Gemfile
[20:53:15] darix: was the file i was testing with. but it is not specific to that
[20:53:31] darix: right now my solution for rpmified rails apps is commenting out the dev+ test section
[20:54:12] darix: but as i ran into the stupid problem again and had some time today, i thought i would ask
[20:55:11] RickHull: I think there is argument for performing existence validation globally -- it seems that `bundle install` would fail without --without
[20:55:45] darix: RickHull: but should it really? i mean what is this commandline option for if not telling it "eh do bundle install but ignore those sections"
[20:55:49] RickHull: is the complaint a warning or error?
[20:55:52] darix: it writes a proper .bundle/config
[20:56:00] darix: after that error
[20:56:01] bkxd_: has joined #ruby
[20:56:12] darix: i just noticed there is a bundler channel so i will bother them
[20:56:14] RickHull: I think there is a good argument for making global validations warnings, and performing group-based validations
[20:56:25] RickHull: and/or stop doing global existence validation
[20:56:34] goyox86_: has joined #ruby
[20:56:34] darix: RickHull: again. bundle install *fails* at the first gem from the dev or test group
[20:56:50] darix: this is not just a warning. it stops.
[20:57:03] RickHull: yeah -- it's annoying, and I think there is a good argument for not doing that
[20:57:14] RickHull: but also, should that Gemfile even have airbrake in there at all?
[20:57:17] RickHull: given the gem source?
[20:57:25] RickHull: or that airbrake version
[20:57:29] darix: #bundler it is
[20:57:51] darix: RickHull: for dev sure ... but for production ... i dont want it
[20:58:10] darix: less code on the server/container is always good
[20:58:33] RickHull: what I'm getting at is: why is airbrake in there at all?
[20:58:39] chouhoulis: has joined #ruby
[20:58:42] RickHull: if it can't ever be installed using that Gemfile
[20:59:06] RickHull: where would bundler get it in the dev case?
[20:59:15] bkxd: has joined #ruby
[20:59:27] darix: RickHull: it could be installed. if i didnt pass --local
[20:59:38] RickHull: i'm not much of a bundler user :)
[20:59:41] RickHull: #bundler it is :)
[21:01:18] RickHull: on this topic -- deploying gems to production targets -- it seems much better to package them (e.g. .tgz) and deploy the package
[21:01:31] RickHull: i.e. should bundler even be involved at deploy time
[21:01:42] darix: RickHull: i sometimes bump versions in the gemfile to have only 1 version of the gem for N rails apps, instead of having N versions of a gem. reasoning is that many apps have very stale Gemfiles, while they happily work with newer versions. right now my way to regenerate the Gemfile.lock is "comment out dev+test" -> "run bundle exec rails --version" -> voila. why bundle exec over e.g. bundle check ... bundle
[21:01:46] mfb2: has joined #ruby
[21:01:48] darix: exec actually gives me *all* names of messing ...
[21:01:50] darix: ... gems unlike bundle check
[21:01:52] RickHull: perhaps bundler is involved in the package creation, but not the deploy
[21:02:10] darix: RickHull: I rpm-ify rails app for the deployment
[21:02:19] darix: but rails insists on Gemfile.lock :)
[21:03:24] RickHull: how tricky is the rpm creation? I have been involved in some debifying pipelines but didn't build it or dig too deep
[21:04:15] RickHull: what does rails do with the Gemfile.lock? does it drive some extra config or necessary structure?
[21:04:38] RickHull: why not tar.gz several .gems and just iterate over them with `gem install` ?
[21:05:00] darix: RickHull: pretty easy
[21:05:11] darix: RickHull: https://build.opensuse.org/package/show/home:darix:apps/gitlab-ce
[21:06:19] RickHull: hm, I suppose `gem install` X wants to satisfy X's dependencies over the network
[21:06:45] RickHull: though I imagine there is a way to tell it a local filesystem source
[21:07:59] skweek: has joined #ruby
[21:08:08] cdg: has joined #ruby
[21:08:25] ohcibi_: has joined #ruby
[21:11:35] darix: all the gems and needed deps are there
[21:11:45] sagax: has joined #ruby
[21:11:46] craysiii: Is there a preferred websocket client gem?
[21:12:27] hr3f: has joined #ruby
[21:12:47] yabbes: has joined #ruby
[21:14:00] cdg_: has joined #ruby
[21:16:27] yabbes_: has joined #ruby
[21:16:49] synthroid: has joined #ruby
[21:21:17] lxnr_: has joined #ruby
[21:27:14] RickHull: craysiii: https://github.com/rails/rails/blob/master/Gemfile#L85 maybe matthewd has an opinion :)
[21:29:25] darix: RickHull: that isnt really released ...
[21:29:39] astronavt: has joined #ruby
[21:30:37] darix: craysiii: actioncable uses websocket-driver + websocket-extensions
[21:32:43] postmodern: has joined #ruby
[21:32:50] craysiii: Thanks for the suggestions :)
[21:41:48] mfb2: has joined #ruby
[21:43:16] kitsunenokenja: has joined #ruby
[21:45:27] bkxd_: has joined #ruby
[21:45:29] ohcibi_: has joined #ruby
[21:46:33] roshanavand: has joined #ruby
[21:47:34] zapata: has joined #ruby
[21:48:04] mfb2_: has joined #ruby
[21:48:10] kus_ubuntui686a: has joined #ruby
[21:49:17] nowhereman_: has joined #ruby
[21:50:31] daniel: has joined #ruby
[21:50:55] astronavt: has joined #ruby
[21:54:29] lxnr_: has joined #ruby
[21:54:44] rfoust: has joined #ruby
[21:59:34] niceperl: has joined #ruby
[22:00:35] Ouchy`w: has joined #ruby
[22:01:14] jenrzzz: has joined #ruby
[22:03:07] mfb2: has joined #ruby
[22:04:38] rfoust: has joined #ruby
[22:07:00] mfb2: has joined #ruby
[22:10:25] workmad3: has joined #ruby
[22:11:39] ohcibi_: has joined #ruby
[22:13:24] tAn: has joined #ruby
[22:15:12] bkxd: has joined #ruby
[22:19:25] bmurt: has joined #ruby
[22:21:20] ohcibi_: has joined #ruby
[22:23:03] ohcibi: has joined #ruby
[22:25:20] RickHull: here's the source repo for websocket-client-simple, released 3 years ago https://github.com/shokai/websocket-client-simple
[22:25:41] RickHull: er, last release Feb 2016
[22:25:47] ohcibi: has joined #ruby
[22:26:07] milardovich: has joined #ruby
[22:26:31] RickHull: based on https://github.com/imanel/websocket-ruby
[22:29:27] kapil___: has joined #ruby
[22:31:02] darix: RickHull: and matthewd forked it again
[22:31:06] darix: as you can see in the gemfile
[22:33:12] mfb2: has joined #ruby
[22:34:06] RickHull: yep! I have no idea if the fork is useful in a general sense or intended for rails
[22:34:21] Afro: has joined #ruby
[22:35:38] Afro: hey guys I'm having issues setting up rbenv on mymac
[22:35:45] Afro: was wondering if anyone could give me a hand
[22:35:51] milardovich: has joined #ruby
[22:35:55] havenwood: Afro: what seems to be the trouble?
[22:36:09] Vircung: has joined #ruby
[22:36:23] Afro: I keep getting # Load rbenv automatically by appending # the following to ~/.zshrc: eval "$(rbenv init -)" even after I've added the eval line to zshrc profile
[22:36:37] jenrzzz: has joined #ruby
[22:36:37] jenrzzz: has joined #ruby
[22:36:42] Afro: when running rbenv init
[22:36:44] bkxd: has joined #ruby
[22:38:21] Afro: http://d.pr/i/bcVfrj
[22:40:16] Afro: havenwood: any ideas? I tried few solutions from google but none has worked
[22:40:59] tAn: has joined #ruby
[22:41:24] goyox86_: has joined #ruby
[22:41:54] mfb2: has joined #ruby
[22:42:31] mim1k: has joined #ruby
[22:42:51] RickHull: Afro: paste your .zshrc and also, what happens if you execute the eval line directly in your shell?
[22:43:05] RickHull: or just the relevant portions of .zshrc
[22:43:39] konsolebox: has joined #ruby
[22:44:30] Afro: RickHull: https://pastebin.com/YNAS5CUt
[22:44:31] ruby[bot]: Afro: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/6f5dd634445341a40a8c2fdeb5529cf6
[22:44:32] ruby[bot]: Afro: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[22:45:21] _sfiguser: has joined #ruby
[22:45:27] RickHull: what's the output if you run the eval line in your shell? also maybe try it without eval
[22:45:41] RickHull: you can can keep peeling back layers of the eval line
[22:45:43] Afro: nothing happens if I run it directly in the shell
[22:45:46] shinnya: has joined #ruby
[22:45:50] Afro: I'm on a Mac btw
[22:46:12] RickHull: how about just `rbenv init -`
[22:46:19] Afro: if I run with out eval I get this
[22:46:20] Afro: export: not valid in this context: '/usr/local/Cellar/rbenv/1.1.1/libexec/../completions/rbenv.zsh'
[22:47:01] RickHull: i think `rbenv init -` should print a string to STDOUT
[22:47:11] RickHull: presumably something like `export FOO=bar`
[22:49:48] mfb2: has joined #ruby
[22:50:12] SteenJobs: has joined #ruby
[22:50:29] Silthias1: has joined #ruby
[22:51:09] RickHull: also, is that path valid?
[22:51:19] RickHull: that ends in rbenv.zsh
[22:53:31] Afro: RickHull: I changed the permission on Cellar directory and nothing seems to work now O.o
[22:54:38] SeepingN: why wouldapermis
[22:54:50] SeepingN: oops. why would you change permissions on that directory?
[22:55:33] RickHull: yeah ^ and what is the output of `rbenv init -` and is that path valid?
[22:55:49] dviola: has joined #ruby
[22:56:58] enterprisey: has joined #ruby
[22:57:33] Afro: SeepingN: Saw a thread saying sometime it changes permisson by other programs so I allowed write/read
[22:57:37] armyriad: has joined #ruby
[23:04:28] dinfuehr: has joined #ruby
[23:05:30] thinkpad: has joined #ruby
[23:09:38] mfb2: has joined #ruby
[23:09:44] milardovich: has joined #ruby
[23:10:55] xlegoman: has joined #ruby
[23:18:16] bkxd_: has joined #ruby
[23:18:45] skweek: has joined #ruby
[23:18:52] GodFather: has joined #ruby
[23:19:24] jgt: has joined #ruby
[23:20:49] mfb2: has joined #ruby
[23:22:55] jenrzzz: has joined #ruby
[23:22:55] jenrzzz: has joined #ruby
[23:25:32] ramfjord: has joined #ruby
[23:25:34] Arahael: has left #ruby: ("WeeChat 1.4")
[23:28:43] jxv: has joined #ruby
[23:29:49] orbyt_: has joined #ruby
[23:31:47] cschneid_: has joined #ruby
[23:36:17] bkxd: has joined #ruby
[23:40:39] apeiros_: has joined #ruby
[23:45:19] Afro: RickHull: I get this when running rbenv init - now https://gist.github.com/anonymous/92d4a612e68136defcf69311b4dfa699
[23:45:49] milardovich: has joined #ruby
[23:46:11] RickHull: ok, I'm guessing everything is working fine, or was
[23:46:51] RickHull: what is the problem? i think with that eval line in your .zshrc, it should "work"
[23:47:04] RickHull: the test would be to create a new zsh session and I guess `rbenv`
[23:47:12] RickHull: or `rbenv -h` maybe
[23:48:20] RickHull: I haven't used rbenv in years, but I'm guessing that `rbenv init` in your new zsh session isn't "the test to see if it's working"
[23:53:17] banisterfiend: has joined #ruby
[23:56:09] cdg: has joined #ruby
[23:57:07] jackjackdripper: has joined #ruby
[23:58:07] pilne: has joined #ruby
[23:59:52] jenrzzz: has joined #ruby
[23:59:52] jenrzzz: has joined #ruby