« Back to channel list

#ruby - 20 September 2019

« Back 1 day
[00:03:15] etupat: phaul: Thanks again for your assistance earlier. For closure, here's the solution https://pastebin.com/yaMmcSKD
[00:03:15] ruby[bot]: etupat: as I told you already, please use https://gist.github.com
[00:03:31] etupat: phaul: 4 frikkin lines -- 24-28
[00:03:56] etupat: so darn simple
[00:04:18] etupat: *smacks self in face with a brick*
[00:04:27] poontangmessiah: has joined #ruby
[00:05:31] jenrzzz: has joined #ruby
[00:05:58] etupat: Took 2 hours to solve 5 lines :) b/c thats how much I suck
[00:06:21] etupat: thank you Ruby @ IRC for encouragement and assitance
[00:07:15] fphilipe_: has joined #ruby
[00:09:20] ramfjord: has joined #ruby
[00:27:37] DaRock: has joined #ruby
[00:33:45] thexa4: has joined #ruby
[00:39:03] hutch1: has joined #ruby
[00:39:56] jenrzzz: has joined #ruby
[00:47:56] Swyper: has joined #ruby
[00:53:34] AJA4351: has joined #ruby
[01:00:05] tdy: has joined #ruby
[01:02:06] cesario: has joined #ruby
[01:03:26] alan_w: has joined #ruby
[01:07:29] jackkall: has joined #ruby
[01:10:23] kyrylo: has joined #ruby
[01:13:27] greengriminal: has joined #ruby
[01:20:10] i9zO5AP: has joined #ruby
[01:23:30] murarisumit: has joined #ruby
[01:38:51] jenrzzz: has joined #ruby
[01:42:16] cesario: has joined #ruby
[01:53:30] s2013: has joined #ruby
[01:56:02] tsujp: has joined #ruby
[02:00:10] drincruz: has joined #ruby
[02:00:11] AJA4351: has joined #ruby
[02:07:51] fphilipe_: has joined #ruby
[02:14:51] hutch1: has joined #ruby
[02:25:07] spacesuitdiver: has joined #ruby
[02:30:40] alfiemax: has joined #ruby
[02:46:08] mre-: has joined #ruby
[02:52:35] s2013: has joined #ruby
[02:59:24] karstenk_: has joined #ruby
[03:04:39] ravenous_: has joined #ruby
[03:07:51] cesario: has joined #ruby
[03:09:17] bitwinery: has joined #ruby
[03:14:42] ravenous_: has joined #ruby
[03:17:47] Technodrome: has joined #ruby
[03:21:17] cesario: has joined #ruby
[03:23:07] skyikot: has joined #ruby
[03:31:45] murarisumit: has joined #ruby
[03:32:06] cesario: has joined #ruby
[03:48:45] murarisumit: has joined #ruby
[04:08:31] fphilipe_: has joined #ruby
[04:08:31] alfiemax: has joined #ruby
[04:25:30] ravenous_: has joined #ruby
[04:35:50] ravenous_: has joined #ruby
[04:37:51] fphilipe_: has joined #ruby
[04:46:36] mre-: has joined #ruby
[04:49:52] murarisumit: has joined #ruby
[04:51:48] ur5us: has joined #ruby
[05:22:04] sauvin: has joined #ruby
[05:23:56] sauvin: has joined #ruby
[05:25:40] alfiemax: has joined #ruby
[05:26:59] dellavg: has joined #ruby
[05:31:47] peirama: has joined #ruby
[05:34:37] davorb: has joined #ruby
[05:46:20] zacts: has joined #ruby
[05:49:21] blackmesa: has joined #ruby
[05:55:22] karstenk_: Good morning all! What is best method, when tying to bundle deployment, but one gem in Gemfile and Gemfile.lock cant be found in repository. Its yanked by rubygems, but Ive allready a compiled correct version locally. Ok, I could set now parameter path in Gemfile for that missing gem, but that causes not to be able to install with deployment flag. There should be an outside option like bundle config, but all my tries
[05:55:23] karstenk_: stuck with not finding the required gem. Any idea?!
[05:55:56] kyrylo: has joined #ruby
[05:56:46] queip: has joined #ruby
[06:02:16] MrCrackPot: has joined #ruby
[06:06:03] skyikot: has joined #ruby
[06:07:25] PeterWAWood: has joined #ruby
[06:07:45] PeterWAWood: has left #ruby: ()
[06:12:28] Tempesta_: has joined #ruby
[06:16:01] alan_w: has joined #ruby
[06:19:22] eclm: has joined #ruby
[06:21:25] cesario: has joined #ruby
[06:21:43] Fischmiep: has joined #ruby
[06:33:46] kyrylo_: has joined #ruby
[06:36:53] eclm: has joined #ruby
[06:40:34] lxsameer: has joined #ruby
[06:46:55] mre-: has joined #ruby
[06:51:18] skyikot: has joined #ruby
[06:52:38] ur5us: has joined #ruby
[06:55:24] TomyWork: has joined #ruby
[07:01:00] queip: has joined #ruby
[07:02:51] ravenous_: has joined #ruby
[07:03:54] karstenk_: has left #ruby: ("Konversation terminated!")
[07:04:00] karstenk_: has joined #ruby
[07:04:35] karstenk_: Pleas can somebody tell me, what iam doing wrong with my bundle config? https://paste.fedoraproject.org/paste/PSHPoPb7EKihRecrd~P-SA
[07:06:20] karstenk_: How to set a special repository path without manipulating the Gemfile which would result in unable to bundle with deployment flag
[07:08:06] witlesswonder: has joined #ruby
[07:09:24] murarisumit: has joined #ruby
[07:11:13] jinie: has left #ruby: ("Leaving")
[07:11:17] ravenous_: has joined #ruby
[07:24:41] vondruch: has joined #ruby
[07:28:20] ellcs: has joined #ruby
[07:30:48] fphilipe_: has joined #ruby
[07:58:32] fphilipe: has joined #ruby
[08:01:11] Tempesta_: has left #ruby: ("Closing Channel, bye.")
[08:01:20] Tempesta: has joined #ruby
[08:11:15] galaxie: has joined #ruby
[08:11:59] kotisky: has joined #ruby
[08:20:08] queip: has joined #ruby
[08:24:24] involans: has joined #ruby
[08:27:09] schne1der: has joined #ruby
[08:30:15] luminousnine: has joined #ruby
[08:30:15] luminousnine: has joined #ruby
[08:35:08] iNs: has joined #ruby
[08:38:49] kotisky: has joined #ruby
[08:39:05] galaxie: has joined #ruby
[08:44:17] cnsvc: has joined #ruby
[08:46:13] fphilipe: has joined #ruby
[08:46:53] queip: has joined #ruby
[08:47:15] mre-: has joined #ruby
[08:53:09] ur5us: has joined #ruby
[08:54:11] Ai9zO5AP: has joined #ruby
[09:10:18] dasher00: has joined #ruby
[09:11:51] jottr: has joined #ruby
[09:14:01] chalkmonster: has joined #ruby
[09:14:39] jottr_: has joined #ruby
[09:20:34] tuor: has joined #ruby
[09:24:23] za1b1tsu: has joined #ruby
[09:26:58] queip: has joined #ruby
[09:27:55] murarisumit: has joined #ruby
[09:40:56] queip: has joined #ruby
[09:40:58] ellcs: has joined #ruby
[09:43:50] blackmesa1: has joined #ruby
[09:45:09] Jonopoly: has joined #ruby
[09:57:46] fphilipe: has joined #ruby
[10:06:20] ramfjord: has joined #ruby
[10:09:03] Intelo: has joined #ruby
[10:15:07] DaRock: has joined #ruby
[10:21:12] jacksoow: has joined #ruby
[10:24:22] conta: has joined #ruby
[10:29:29] poontangmessiah: has joined #ruby
[10:31:30] Jonopoly: has joined #ruby
[10:38:52] jackkall: has joined #ruby
[10:40:31] Ai9zO5AP: has joined #ruby
[10:45:04] ur5us: has joined #ruby
[10:47:33] mre-: has joined #ruby
[10:49:41] MrCrackPot: has joined #ruby
[10:58:27] blackmesa1: has joined #ruby
[10:59:19] conta: has joined #ruby
[11:03:53] Jonopoly: has joined #ruby
[11:07:13] tuor: has left #ruby: ("https://quassel-irc.org - Chat comfortably. Anywhere.")
[11:10:04] Jonopoly: has joined #ruby
[11:26:26] ur5us: has joined #ruby
[11:27:43] Fernando-Basso: has joined #ruby
[11:41:04] cow[moo]: has joined #ruby
[11:44:53] Jonopoly: mysql or mysql2 for ruby?
[11:45:10] AJA4350: has joined #ruby
[11:52:52] gigetoo: has joined #ruby
[12:04:39] kotisky: has joined #ruby
[12:12:17] fphilipe: has joined #ruby
[12:13:24] blackmesa1: has joined #ruby
[12:15:32] jrafanie: has joined #ruby
[12:16:07] fphilipe: has joined #ruby
[12:23:52] jacksoow: has joined #ruby
[12:27:29] bertocq[m]: has joined #ruby
[12:30:21] grilix: has joined #ruby
[12:40:44] Fernando-Basso: has joined #ruby
[12:42:17] havenwood: Jonopoly: the latter
[12:44:41] lucasb: has joined #ruby
[12:46:01] alfiemax: has joined #ruby
[12:46:18] fritzroy15: has joined #ruby
[12:47:06] fritzroy15: hello, I need to convert a ruby hash object to json, but then convert that to a string ( for logging reasons ): I tried my_var.to_json.to_s but it doesn't seem to work; any ideas?
[12:48:21] tsujp: has joined #ruby
[12:48:28] fphilipe: has joined #ruby
[12:49:02] fritzroy15: i'm looking for something simiar with json.stringify from js
[12:50:20] r3m_: has joined #ruby
[12:52:58] havenwood: fritzroy15: Serializing to JSON produces a String.
[12:53:02] queip: has joined #ruby
[12:53:30] fritzroy15: havenwood do you mean when I use .to_json?
[12:53:34] havenwood: fritzroy15: {x: 5, y: 6}.to_json #=> "{\"x\":5,\"y\":6}"
[12:53:48] havenwood: fritzroy15: Yes, that's already producing a String return value.
[12:54:31] havenwood: fritzroy15: Then you can deserialize the string back to a Hash with:
[12:54:39] havenwood: JSON.parse({x: 5, y: 6}.to_json) #=> {"x"=>5, "y"=>6}
[12:55:06] havenwood: JSON.parse({x: 5, y: 6}.to_json, symbolize_names: true) #=> {:x=>5, :y=>6}
[13:00:37] NL3limin4t0r: fritzroy15: In JS: `JSON.stringify({x: 5, y: 6}) //=> "{\"x\":5,\"y\":6}"`
[13:02:39] jcalla: has joined #ruby
[13:06:44] chalkmonster: has joined #ruby
[13:07:49] greengriminal: has joined #ruby
[13:18:13] ramfjord: has joined #ruby
[13:19:04] Jonopoly: has joined #ruby
[13:24:10] involans: has joined #ruby
[13:27:37] suukim: has joined #ruby
[13:32:48] involans_: has joined #ruby
[13:34:39] fritzroy15: NL3limin4t0r havenwood thank you!
[13:40:31] yann-kaelig: has joined #ruby
[13:41:21] Ai9zO5AP: has joined #ruby
[13:46:05] drincruz: has joined #ruby
[13:49:58] crankharder: has joined #ruby
[13:52:07] nius: has joined #ruby
[13:52:17] mre-: has joined #ruby
[13:52:19] nius: hi there
[13:52:45] nius: using open-uri's open(<my_url>) I get a "404 Not found UA" error. using the system's curl it works fine
[13:52:53] nius: this is just on some websites, others work
[13:53:02] nius: does curl set some spoofed user agent to make things work?
[13:53:36] nius: (Net::HTTP.get_response doesn't work either, same response)
[13:54:05] Swyper: has joined #ruby
[13:54:18] Swyper: has joined #ruby
[13:54:35] chalkmonster: has joined #ruby
[13:56:40] havenwood: nius: Are you following redirects perhaps with curl? -L --location
[13:57:09] nius: nope nothing
[13:57:18] nius: bare-bones curl <my_url>