« Back to channel list

#ruby - 26 January 2018

« Back 1 day Forward 1 day »
[00:05:58] jnyw: has joined #ruby
[00:10:00] cdg: has joined #ruby
[00:11:39] bronson: has joined #ruby
[00:21:47] guardianx: has joined #ruby
[00:23:40] alfiemax: has joined #ruby
[00:29:20] bkxd_: has joined #ruby
[00:32:50] Psybur_: has joined #ruby
[00:46:41] JJonah: I want to redirect to my form after posting and getting an error. does rails have a built in convention so that i can redisplay the user's inputs? My redirect looks like this: `redirect_to edit_ldap_connection_test_path(params.merge(error_message: e.message))`. Is there a way to use the form helpers to automatically redisplay those user input values passed back in the query string of the redirect?
[00:47:26] guardianx: has joined #ruby
[00:53:42] baweaver: JJonah: https://stackoverflow.com/questions/15126440/repopulating-form-on-failed-validation
[00:53:48] baweaver: Also look into the Rails channel
[00:53:50] ruby[bot]: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[00:55:16] JJonah: baweaver: thanks. my bad, i actually thought i was in the rails channel because i'd forgotten i asked a pure ruby question here last night.
[00:56:31] baweaver: For the most part it's not a big deal
[01:01:14] postmodern: has joined #ruby
[01:06:54] AxelAlex: has joined #ruby
[01:10:28] Axsuul: has joined #ruby
[01:11:09] bkxd: has joined #ruby
[01:11:41] AJA4350: has joined #ruby
[01:12:34] bronson: has joined #ruby
[01:14:58] alfiemax: has joined #ruby
[01:15:03] randomstrangerb: has joined #ruby
[01:16:41] bmurt: has joined #ruby
[01:19:17] PaulCapestany: has joined #ruby
[01:22:07] bkxd_: has joined #ruby
[01:25:51] LastWhisper____: has joined #ruby
[01:28:20] drewmcmillan: has joined #ruby
[01:32:19] cdg: has joined #ruby
[01:39:10] arescorpio: has joined #ruby
[01:40:00] xhoy: has joined #ruby
[01:40:56] herbmillerjr: has joined #ruby
[01:42:44] cdg: has joined #ruby
[01:48:48] electrostat: has joined #ruby
[01:48:57] zacts: has joined #ruby
[01:53:27] workmad3: has joined #ruby
[01:55:14] thejamespinto: has joined #ruby
[02:03:37] bkxd: has joined #ruby
[02:06:17] Tempesta: has joined #ruby
[02:06:17] Tempesta: has joined #ruby
[02:07:23] bkxd__: has joined #ruby
[02:25:46] xuyuheng: has joined #ruby
[02:29:48] xuyuheng_: has joined #ruby
[02:31:13] giraffe: has joined #ruby
[02:32:05] tpendragon: has joined #ruby
[02:40:46] gizmore: has joined #ruby
[02:41:24] alfiemax: has joined #ruby
[02:42:15] `derpy: has joined #ruby
[02:51:26] aguestuser: has joined #ruby
[02:51:42] reaVer: has joined #ruby
[02:52:34] ivanskie: has joined #ruby
[02:54:30] bkxd: has joined #ruby
[02:55:52] fusta: has joined #ruby
[03:00:37] dstrunk: has joined #ruby
[03:00:55] xco: has joined #ruby
[03:01:42] xco: hi, can i bulk write to all files ending in *.rb in a folder?
[03:02:58] xco: i am looking at File.open but i see no option or how to write to all files in all subfolders
[03:03:27] aguestuser: has joined #ruby
[03:03:50] sspreitz: has joined #ruby
[03:12:46] arescorpio: has joined #ruby
[03:13:49] bronson: has joined #ruby
[03:19:38] Asher: has joined #ruby
[03:22:13] brodul: has joined #ruby
[03:25:28] randomstrangerb: has joined #ruby
[03:27:01] mtkd: has joined #ruby
[03:31:01] TvL2386: has joined #ruby
[03:32:19] darkhanb: has joined #ruby
[03:39:17] dogweather: has joined #ruby
[03:39:40] banisterfiend: has joined #ruby
[03:43:39] aissar: has joined #ruby
[03:47:11] dogweather: has joined #ruby
[03:53:59] aguestuser: has joined #ruby
[03:54:18] workmad3: has joined #ruby
[03:55:48] thejamespinto: has joined #ruby
[04:02:47] mr-robert: xco: Dir["path/*.rb"].each { |path| File.open(path, 'w') { |f| f.write "puts 'hello world'" } }
[04:04:08] orbyt_: has joined #ruby
[04:04:14] xco: mr-robert: thank you :)
[04:05:09] mr-robert: are you from brazil?
[04:05:52] mr-robert: noticed the name 'Emanuel' :)
[04:13:01] xco: mr-robert: i’m from Ghana
[04:13:17] xco: Emanuel is everywhre i guess
[04:14:38] bronson: has joined #ruby
[04:17:40] xco: has left #ruby: ()
[04:19:12] cdg: has joined #ruby
[04:25:19] dogweather: has joined #ruby
[04:25:46] vichib: has joined #ruby
[04:31:09] gix: has joined #ruby
[04:39:48] xco: has joined #ruby
[04:40:44] xuyuheng_: has joined #ruby
[04:40:48] cdg: has joined #ruby
[04:42:38] bmurt: has joined #ruby
[04:48:44] JusticeFries: has joined #ruby
[04:49:31] aguestuser: has joined #ruby
[04:54:31] chouhoulis: has joined #ruby
[04:55:17] dogweath_: has joined #ruby
[05:07:01] xuyuheng_: has joined #ruby
[05:13:52] LightStalker: has joined #ruby
[05:15:41] bronson: has joined #ruby
[05:17:43] xco: has joined #ruby
[05:21:21] chouhoulis: has joined #ruby
[05:21:50] govg: has joined #ruby
[05:25:10] minimalism: has joined #ruby
[05:25:42] alfiemax: has joined #ruby
[05:26:17] minimalism: has joined #ruby
[05:30:19] oleo: has joined #ruby
[05:32:18] mtkd: has joined #ruby
[05:33:44] randomstrangerb: has joined #ruby
[05:36:07] jackjackdripper: has joined #ruby
[05:38:19] minimalism: has joined #ruby
[05:41:57] kies: has joined #ruby
[05:43:11] LastWhisper____: has joined #ruby
[05:44:02] ruby[bot]: -b *!*@gateway/shell/matrix.org/x-brpjewgqrslyjbrp$#ruby-banned
[05:58:00] crankharder: has joined #ruby
[06:02:21] stoffus: has joined #ruby
[06:10:28] jenrzzz: has joined #ruby
[06:16:19] xco: has joined #ruby
[06:16:30] bronson: has joined #ruby
[06:16:53] xuyuheng_: has joined #ruby
[06:23:43] cdg: has joined #ruby
[06:27:08] randomstrangerb: has joined #ruby
[06:30:29] alfiemax: has joined #ruby
[06:35:05] archio: has joined #ruby
[06:36:15] archio: has joined #ruby
[06:42:23] kapil___: has joined #ruby
[06:46:33] benjen: has joined #ruby
[06:48:10] randomstrangerb: has joined #ruby
[06:53:15] darkhanb: has joined #ruby
[06:54:08] jackjackdripper: has joined #ruby
[06:57:57] darkhanb: has joined #ruby
[06:58:37] trautwein: has joined #ruby
[07:06:47] mniip: has joined #ruby
[07:13:33] thejamespinto: has joined #ruby
[07:24:27] cdg: has joined #ruby
[07:30:29] conta: has joined #ruby
[07:36:12] mtkd: has joined #ruby
[07:36:47] gothicsouth: has joined #ruby
[07:38:26] andikr: has joined #ruby
[07:50:55] careta: has joined #ruby
[07:55:55] workmad3: has joined #ruby
[07:56:15] randomstrangerb: has joined #ruby
[07:56:49] ramfjord: has joined #ruby
[08:03:31] alex``: has joined #ruby
[08:05:08] burgestrand: has joined #ruby
[08:07:51] vondruch: has joined #ruby
[08:10:07] trautwein: has joined #ruby
[08:11:47] nso95: has joined #ruby
[08:17:04] bronson: has joined #ruby
[08:17:11] TomyWork: has joined #ruby
[08:21:27] nso95: has joined #ruby
[08:22:19] Lurian: has joined #ruby
[08:25:13] cdg: has joined #ruby
[08:27:00] ramfjord: has joined #ruby
[08:27:32] cabotto: has joined #ruby
[08:29:04] trautwein_: has joined #ruby
[08:33:22] mark_66: has joined #ruby
[08:33:51] trautwein_: has joined #ruby
[08:35:36] DrCode: has joined #ruby
[08:39:33] DrCode: has joined #ruby
[08:40:09] zwliew: has joined #ruby
[08:42:42] nso95: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[08:43:55] ur5us: has joined #ruby
[08:46:17] Bish: has joined #ruby
[08:47:28] ramfjord: has joined #ruby
[08:48:01] amatas: has joined #ruby
[08:54:41] DrCode: has joined #ruby
[08:58:55] dionysus69: has joined #ruby
[09:01:13] marr: has joined #ruby
[09:14:33] yohji: has joined #ruby
[09:19:45] ltem: has joined #ruby
[09:25:59] cdg: has joined #ruby
[09:31:38] plexigras: has joined #ruby
[09:35:44] belmoussaoui: has joined #ruby
[09:39:20] yohji: has joined #ruby
[09:40:27] alex``: has joined #ruby
[09:43:54] vichib: has joined #ruby
[09:44:35] jenrzzz: has joined #ruby
[09:44:35] jenrzzz: has joined #ruby
[09:44:46] claudiuinberlin: has joined #ruby
[09:46:56] guille-moe: has joined #ruby
[09:47:41] mtkd: has joined #ruby
[09:47:54] xco: has joined #ruby
[09:48:59] drewmcmillan: has joined #ruby
[09:50:11] NL3limin4t0r: has joined #ruby
[09:52:10] qba73: has joined #ruby
[09:53:04] NL3limin4t0r: Hey guys, quick question. In the default Ruby on Rails gemfile some gems have a squiggly arrow. I know "~> 2.5" means ">= 2.5 < 3.0". But it also has turbolinks version listed as "~> 5" does this mean ">= 5.0 < 6.0" ??
[09:53:27] qba73: has joined #ruby
[09:56:27] Beams: has joined #ruby
[09:56:48] workmad3: has joined #ruby
[09:57:53] tomphp: has joined #ruby
[09:58:51] tejasvi5: has joined #ruby
[10:07:38] burgestrand: has joined #ruby
[10:10:27] ams__: has joined #ruby
[10:12:49] tejasvi5: has joined #ruby
[10:18:32] shorberg: has joined #ruby
[10:18:43] bronson: has joined #ruby
[10:19:11] trautwein: has joined #ruby
[10:20:59] Cavallari: has joined #ruby
[10:21:01] NL3limin4t0r: has joined #ruby
[10:21:04] careta: has joined #ruby
[10:23:48] tbuehlmann: NL3limin4t0r: yes
[10:26:45] cdg: has joined #ruby
[10:29:11] ur5us: has joined #ruby
[10:29:27] NL3limin4t0r: tbuehlmann: ty
[10:30:17] xxxxtest12341241: has joined #ruby
[10:33:05] qba73: has joined #ruby
[10:33:27] ldnunes: has joined #ruby
[10:39:55] tomphp: has joined #ruby
[10:42:01] Serpent7776: has joined #ruby
[10:42:44] tomphp: has joined #ruby
[10:46:14] shorberg: has left #ruby: ()
[10:46:28] shorberg: has joined #ruby
[10:49:53] Jameser: has joined #ruby
[10:51:52] tomphp: has joined #ruby
[10:52:18] alex``: has joined #ruby
[10:52:53] trautwein: has joined #ruby
[10:54:05] xuyuheng_: has joined #ruby
[10:54:48] yohji: has joined #ruby
[10:55:07] tomphp: has joined #ruby
[10:56:46] banisterfiend: has joined #ruby
[10:58:16] rabajaj: has joined #ruby
[10:59:45] tomphp: has joined #ruby
[11:03:56] jamesaxl: has joined #ruby
[11:03:56] Asher: has joined #ruby
[11:06:11] tomphp: has joined #ruby
[11:12:29] burgestrand: has joined #ruby
[11:14:33] workmad3: has joined #ruby
[11:21:08] tejasvi5: has joined #ruby
[11:22:30] mostlybadfly: has joined #ruby
[11:30:29] dinfuehr: has joined #ruby
[11:37:42] AJA4350: has joined #ruby
[11:39:03] shinnya: has joined #ruby
[11:47:20] trautwein: has joined #ruby
[11:52:23] mtkd: has joined #ruby
[11:58:49] trautwein: has joined #ruby
[12:01:42] trautwein: has joined #ruby
[12:07:36] tomphp: has joined #ruby
[12:07:40] trautwein: has joined #ruby
[12:08:00] qba73: has joined #ruby
[12:13:16] tomphp: has joined #ruby
[12:15:49] Jameser: has joined #ruby
[12:19:42] bronson: has joined #ruby
[12:27:03] tomphp: has joined #ruby
[12:28:42] rabajaj: has joined #ruby
[12:30:05] ur5us: has joined #ruby
[12:30:52] mikeiniowa: has joined #ruby
[12:33:21] tomphp: has joined #ruby
[12:35:20] Raffy: has joined #ruby
[12:38:14] marahin: Is anyone using VSCode for ruby development? Is there any nice way to lookup gem code?
[12:41:05] tomphp: has joined #ruby
[12:42:07] VladGh: has joined #ruby
[12:43:54] John_Ivan: has joined #ruby
[12:47:21] Psybur: has joined #ruby
[12:48:56] tomphp: has joined #ruby
[12:50:02] tcopeland: has joined #ruby
[12:53:19] guille-moe: has joined #ruby
[12:55:13] trautwein: has joined #ruby
[13:00:09] ldnunes: has joined #ruby
[13:00:35] trautwein: has joined #ruby
[13:01:57] tvw: has joined #ruby
[13:06:09] synthroid: has joined #ruby
[13:08:08] qba73: has joined #ruby
[13:17:47] dn`: has joined #ruby
[13:21:21] sergio_101: has joined #ruby
[13:22:38] norayr: has joined #ruby
[13:22:48] norayr: hey ruby people
[13:22:55] noob_on_rails: has joined #ruby
[13:23:15] noob_on_rails: hey all , i want to create a concern , which uses a scope from another concern
[13:23:19] norayr: i have mastodon and diaspora running on my gentoo server.
[13:23:36] norayr: i have upgraded it, recompiled the system with gcc-5
[13:23:41] norayr: and that changed ABI's
[13:23:50] norayr: so i need to rebuild ruby and gems for diaspora, and for mastodon user.
[13:23:57] noob_on_rails: but i get : undefined method `scope' for Rangeable:Module , ActionController::RoutingError (undefined method `scope' for Rangeable:Module):
[13:24:17] guille-moe: has joined #ruby
[13:24:24] noob_on_rails: i have included the concern in the one concern im trying to create
[13:25:01] dminuoso: noob_on_rails: $rubyonrails
[13:25:05] dminuoso: # even. Stupid layouts.
[13:25:20] noob_on_rails: umm , hey dminuoso!
[13:25:26] noob_on_rails: not sure i quite understand!
[13:25:40] dminuoso: norayr: Rebuild ruby yourself, and use `gem pristine --all`
[13:25:51] dminuoso: noob_on_rails: This is #ruby. You asked a rails specific question.
[13:25:51] norayr: yes the ruby is compiled by the user
[13:25:56] norayr: and is in user directories.
[13:25:58] noob_on_rails: oh im stupid sorry
[13:26:27] norayr: so should i do
[13:26:37] norayr: gem install bundler
[13:26:40] norayr: run bin/bundle
[13:27:11] dminuoso: norayr: I just told you. `gem pristine --all`
[13:27:24] norayr: ok so easy.
[13:27:25] norayr: thank you.
[13:27:45] dminuoso: norayr: If you use local bundles, then you have to use `bundle exec gem pristine --all` for each project using a local bundle.
[13:27:53] dminuoso: Or at least its possible. *shrugs*
[13:29:13] dminuoso: has joined #ruby
[13:29:13] trautwein: has joined #ruby
[13:29:17] bmurt: has joined #ruby
[13:30:01] norayr: https://paste.pound-python.org/show/FpwFnsIeGjRXjuv7rm71/
[13:31:02] vichib: has joined #ruby
[13:31:39] norayr: dminuoso: can you take a loot ^^
[13:34:53] jgnagy: has joined #ruby
[13:36:38] norayr: i am doing gem install bundler; bin/bundle
[13:40:18] tomphp: has joined #ruby
[13:40:39] norayr: bundler: failed to load command: sidekiq (/home/mastodon/live/vendor/bundle/ruby/2.4.0/bin/sidekiq)
[13:40:39] norayr: LoadError: Could not open library '/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/cld3-3.2.1/lib/../ext/cld3/libcld3.so': /home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/cld3-3.2.1/lib/../ext/cld3/libcld3.so: undefined symbol: _ZNK6google8protobuf11MessageLite25InitializationErrorStringE
[13:40:45] norayr: how can i rebuild the libraries?
[13:41:21] soniya29: has joined #ruby
[13:41:43] soniya29_: has joined #ruby
[13:43:48] mniip: has joined #ruby
[13:46:26] rippa: has joined #ruby
[13:49:11] thejamespinto: has joined #ruby
[13:50:11] sepp2k: has joined #ruby
[13:55:34] oleo: has joined #ruby
[13:57:02] sonOfRa: has joined #ruby
[13:58:13] Raffy: has joined #ruby
[13:58:13] Raffy: has joined #ruby
[14:04:31] cdg: has joined #ruby
[14:05:31] bmurt: has joined #ruby
[14:08:45] JusticeFries: has joined #ruby
[14:08:59] cdg: has joined #ruby
[14:13:09] pastorinni: has joined #ruby
[14:13:40] Asher: has joined #ruby
[14:13:59] Asher: has joined #ruby
[14:14:08] Psybur_: has joined #ruby
[14:15:05] trautwein: has joined #ruby
[14:15:44] trautwein: has joined #ruby
[14:19:19] apparition: has joined #ruby
[14:20:37] crankhar1er: has joined #ruby
[14:20:39] bronson: has joined #ruby
[14:22:21] sergio_101: has joined #ruby
[14:25:39] _aeris_: has joined #ruby
[14:26:22] aguestuser: has joined #ruby
[14:27:07] John_Ivan: has joined #ruby
[14:27:07] John_Ivan: has joined #ruby
[14:27:24] Guest42976: has joined #ruby
[14:27:42] tomphp: has joined #ruby
[14:30:53] ur5us: has joined #ruby
[14:31:41] aguestuser: has joined #ruby
[14:32:00] Beams_: has joined #ruby
[14:34:02] aguestuser: has joined #ruby
[14:40:10] Asher: has joined #ruby
[14:42:22] ledestin: has joined #ruby
[14:45:06] knight33: has joined #ruby
[14:46:13] LastWhisper____: has joined #ruby
[14:47:32] Asher: has joined #ruby
[14:51:37] ClearsTheScreen: has joined #ruby
[14:52:02] jeffreylevesque: has joined #ruby
[14:52:27] Rapture: has joined #ruby
[14:53:18] al2o3-cr: has joined #ruby
[14:55:07] ramfjord: has joined #ruby
[14:55:38] venmx: has joined #ruby
[15:00:28] alfiemax: has joined #ruby
[15:01:43] xuyuheng: has joined #ruby
[15:06:22] soniya29: has joined #ruby
[15:06:22] soniya29_: has joined #ruby
[15:19:19] synthroid: has joined #ruby
[15:19:46] stormpack: has joined #ruby
[15:20:13] xco: has joined #ruby
[15:22:26] Toggi3: has joined #ruby
[15:22:53] mikhael_k33hl: has joined #ruby
[15:23:42] mikhael_k33hl: How do you handle restarting a multi-threaded app? If you have to wait for all the threads to finish it will cause a timeout for the service manager. If not, it may cause the app to crash. What's the best way to handle it?
[15:24:41] alfiemax: has joined #ruby
[15:25:19] quobo: has joined #ruby
[15:26:04] knight33: has joined #ruby
[15:26:51] pastorinni: has joined #ruby
[15:27:05] tomphp: has joined #ruby
[15:28:53] troys: has joined #ruby
[15:30:08] BuildTheRobots: has joined #ruby
[15:33:31] hays: has joined #ruby
[15:33:31] hays: has joined #ruby
[15:36:26] xco: has joined #ruby
[15:39:39] Raffy: has joined #ruby
[15:39:39] Raffy: has joined #ruby
[15:41:31] phate408: has joined #ruby
[15:46:20] randomstrangerb: has joined #ruby
[15:49:09] krawchyk: has joined #ruby
[15:49:37] tomphp: has joined #ruby
[15:53:52] alfiemax: has joined #ruby
[15:57:15] havenwood: mikhael_k33hl: Puma, Unicorn, Passenger, etc. have built-in support for hot restarts. See Puma's for example: https://github.com/puma/puma/blob/master/docs/restart.md
[15:57:46] nadir: has joined #ruby
[16:00:36] JusticeFries: has joined #ruby
[16:02:28] mikhael_k33hl: havenwood: I'll take a look into puma, thanks mate
[16:07:59] randomstrangerb: has joined #ruby
[16:08:28] qba73: has joined #ruby
[16:08:57] kapil___: has joined #ruby
[16:09:13] mikhael_k33hl: havenwood: Have you used concurrent-ruby and beaneater? I'm getting a timeout with systemd when stopping or restarting them hehe
[16:10:14] guille-moe1: has joined #ruby
[16:11:20] xfbs: has joined #ruby
[16:11:59] cabotto: has joined #ruby
[16:12:25] _aeris_: has joined #ruby
[16:17:12] kapil___: any shortcut for this:
[16:17:13] kapil___: if settings.has_key?('react') || settings.has_key?('pure') || settings.has_key?('compose') || settings.has_key?('withProps')
[16:19:42] alfiemax: has joined #ruby
[16:20:30] desperek: has joined #ruby
[16:21:54] bronson: has joined #ruby
[16:22:32] guille-moe: has joined #ruby
[16:23:15] gizmore: kapil___: ['react', 'foo'].each
[16:23:44] gizmore: tricky, but something along this line
[16:24:03] al2o3-cr: has joined #ruby
[16:24:06] gizmore: maybe has_key allows arrays as param?
[16:24:12] havenwood: kapil___: if %[foo bar baz].any? {
[16:24:35] havenwood: %w[] I mean
[16:24:37] gizmore: setting.has_key? is wanted @ havenwood
[16:24:48] Mon_Ouie: has joined #ruby
[16:25:10] havenwood: if %w[foo bar baz].any? { |key| settings.has_key? key }
[16:25:19] cabotto: kapil: How about something like !(settings.keys & %w(react pure compose withProps).empty?
[16:25:47] gizmore: thx havenwood.... you still rock ;)
[16:25:53] aguestuser: has joined #ruby
[16:25:58] cabotto: Oops, missing paren. !(settings.keys & %w(react pure compose withProps)).empty?
[16:26:49] kapil___: cabotto: thanks
[16:27:24] kapil___: cabotto: that was i wanted
[16:31:38] ur5us: has joined #ruby
[16:35:59] mikhael_k33hl: How do you exit from a ruby object?
[16:36:56] xco: has joined #ruby
[16:38:52] aguestuser: has joined #ruby
[16:43:28] knight33: has joined #ruby
[16:44:37] cschneid: has joined #ruby
[16:47:09] gizmore: mikhael_k33hl: wat?
[16:48:03] mikhael_k33hl: gizmore: I may not be that clear though. I'm trying to create a binary file for a ruby script to be run as a daemon. Can you suggest a good article/blog about it though?
[16:50:56] gizmore: mikhael_k33hl: just a normal ruby script... maybe wrapped by a bash script that locks
[16:51:42] mikhael_k33hl: gizmore: Hmmm, cause I heard I don't need to handle the PIDFiles etc etc
[16:51:55] d^sh_: has joined #ruby
[16:52:05] gizmore: mikhael_k33hl: depends on how you do it
[16:52:23] gizmore: there are probably ruby ecosystems which handles this
[16:52:29] mikhael_k33hl: gizmore: do you have any idea though perhaps a suggestion
[16:52:35] havenwood: mikhael_k33hl: http://www.mikeperham.com/2014/09/22/dont-daemonize-your-daemons/
[16:53:31] vichib: has joined #ruby
[16:53:42] inanepenguin: has joined #ruby
[16:54:29] aguestuser: has joined #ruby
[16:56:22] kapil___: settings.keys gives symbols. any function to return string array
[16:56:31] synthroid: has joined #ruby
[16:56:42] mtkd: has joined #ruby
[16:56:53] thejamespinto: has joined #ruby
[16:57:58] [Butch]: has joined #ruby
[16:58:58] selim: has joined #ruby
[16:59:03] jordanm: has joined #ruby
[16:59:16] kapil___: whats differance between settings = {"pure": 32} and settings = {"pure"=> 32}
[17:00:41] synthroid: has joined #ruby
[17:01:34] d^sh: has joined #ruby
[17:02:12] John_Ivan: has joined #ruby
[17:03:38] guille-moe: has joined #ruby
[17:07:21] aissar: has joined #ruby
[17:07:23] tomphp: has joined #ruby
[17:09:15] aissar: has left #ruby: ()
[17:09:43] guille-moe: has joined #ruby
[17:11:04] guacamole: has joined #ruby
[17:11:04] guacamole: has joined #ruby
[17:12:26] alfiemax: has joined #ruby
[17:13:03] rrutkowski: has joined #ruby
[17:16:02] drewmcmi_: has joined #ruby
[17:17:24] rrutkowski: has joined #ruby
[17:17:39] krawchyk: has joined #ruby
[17:18:16] darix: kapil___: the 2nd syntax works in older rubies
[17:18:27] Psybur: has joined #ruby
[17:18:42] darix: + the key the first format is a symbol and not a string
[17:18:58] za1b1tsu: has joined #ruby
[17:19:00] darix: kapil___: so first syntax is equivalent to {:pure => 32}
[17:20:41] pastorinni: has joined #ruby
[17:21:25] za1b1tsu: Anybody here using vscode with ruby? I've read about rcodetools, it seems on emacs and vim you can check the ri for stuff. Wonder if you can do the same with vscode?
[17:25:13] alfiemax_: has joined #ruby
[17:25:20] xuyuheng: has joined #ruby
[17:26:22] drewmcmillan: has joined #ruby
[17:28:41] darkhanb: has joined #ruby
[17:29:27] bmurt: has joined #ruby
[17:32:25] conta: has joined #ruby
[17:37:18] aissar: has joined #ruby
[17:38:13] lounge-user36: has joined #ruby
[17:38:20] SeepingN: has joined #ruby
[17:38:35] aissar: has joined #ruby
[17:39:16] moei: has joined #ruby
[17:42:25] za1b1tsu: anyone had a problem with this 'require rdoc/ri/ri_paths' ?
[17:45:07] norayr: how should i recompile this: LoadError: Could not open library '/home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/cld3-3.2.1/lib/../ext/cld3/libcld3.so': /home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/cld3-3.2.1/lib/../ext/cld3/libcld3.so: undefined symbol: _ZNK6google8protobuf11MessageLite25InitializationErrorStringEv
[17:45:23] norayr: i have recompiled the system with gcc-5 and there's an ABI change.
[17:46:22] darix: norayr: bundle your gems again
[17:46:31] norayr: how? the spell please.
[17:47:18] norayr: i've tried to do like here https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Production-guide.md#dependencies-that-need-to-be-added-as-a-non-root-user
[17:47:28] norayr: got rbenv
[17:47:38] norayr: rbenv install 2.4.2
[17:48:04] norayr: it did not help.
[17:49:03] rrutkowski_: has joined #ruby
[17:51:35] the_f0ster: has joined #ruby
[17:51:43] orbyt_: has joined #ruby
[17:51:57] xco: has joined #ruby
[17:54:45] biberu: has joined #ruby
[17:58:42] Asher: has joined #ruby
[18:07:48] deathwishdave: has joined #ruby
[18:08:22] nobodyzxc: has joined #ruby
[18:09:40] venmx: has joined #ruby
[18:11:21] kies: has joined #ruby
[18:12:02] xfbs: has joined #ruby
[18:14:50] alfiemax: has joined #ruby
[18:15:05] nankyokusei: has joined #ruby
[18:16:00] xco: has joined #ruby
[18:16:38] aissar: has joined #ruby
[18:20:55] workmad3: has joined #ruby
[18:21:06] Asher: has joined #ruby
[18:22:49] bronson: has joined #ruby
[18:28:20] dionysus69: has joined #ruby
[18:29:29] Asher: has joined #ruby
[18:34:03] bmurt: has joined #ruby
[18:34:44] tomphp: has joined #ruby
[18:36:46] gnufied: has joined #ruby
[18:36:50] Asher: has joined #ruby
[18:38:31] ahrs: has joined #ruby
[18:41:13] claudiuinberlin: has joined #ruby
[18:47:05] xuyuheng: has joined #ruby
[18:54:47] tomphp: has joined #ruby
[18:55:04] sameerynho: has joined #ruby
[18:55:32] za1b1tsu: has joined #ruby
[18:57:12] za1b1tsu: has joined #ruby
[18:58:12] bmurt: has joined #ruby
[18:58:52] jackjackdripper: has joined #ruby
[18:59:04] eckhardt: has joined #ruby
[19:00:25] raynold: has joined #ruby
[19:01:39] mtkd: has joined #ruby
[19:04:23] Raffy: has joined #ruby
[19:04:37] JakeP: has joined #ruby
[19:07:53] cagomez: has joined #ruby
[19:09:28] bmurt: has joined #ruby
[19:10:55] Success: has joined #ruby
[19:11:00] netherwolfe: has joined #ruby
[19:11:10] Success: has joined #ruby
[19:15:33] dionysus69: has joined #ruby
[19:16:42] bmurt: has joined #ruby
[19:19:14] xtsee: has joined #ruby
[19:21:39] void9: has left #ruby: ("WeeChat 1.4")
[19:24:23] Asher: has joined #ruby
[19:27:57] alex``: has joined #ruby
[19:31:22] konsolebox: has joined #ruby
[19:33:42] Asher: has joined #ruby
[19:35:28] deathwishdave: has joined #ruby
[19:37:01] ur5us: has joined #ruby
[19:37:20] konsolebox: has joined #ruby
[19:37:45] inanepenguin_: has joined #ruby
[19:40:33] dan64-: has joined #ruby
[19:40:50] johnny56: has joined #ruby
[19:41:40] JakeP: has joined #ruby
[19:43:21] za1b1tsu: Anybody has a setup where they can access ruby documentation from their ide/editor?
[19:43:38] dan64: has joined #ruby
[19:44:37] gizmore: za1b1tsu: not sure... i am using aptana studio (sucks)
[19:44:55] gizmore: but the jetbrains ide should be fine?
[19:46:36] za1b1tsu: I am using vscode, I was curios if someone has done it with rcodetools
[19:46:44] havenwood: za1b1tsu: I pair a REPL for doing that with a simple text editor.
[19:47:47] havenwood: za1b1tsu: Here's an example of using ri to get docs under the cursor in Atom: https://atom.io/packages/live-doc-viewer
[19:48:27] WA9ACE: I use Dash https://kapeli.com/dash and the submlime DashDoc plugin
[19:48:49] za1b1tsu: that looks good havenwood
[19:49:02] kies: has joined #ruby
[19:51:46] dminuoso: What baweaver said.
[19:51:55] dminuoso: ACTION just wanted to add something to the discussino
[19:52:15] baweaver: ACTION wanders in
[19:52:39] baweaver: People don't memorize docs?
[19:53:03] baweaver: Joking aside, mostly either Dash + DashDoc or I just have Pry open to the side.
[19:53:30] baweaver: Though honestly I very rarely need to look at docs for most things
[19:53:38] dminuoso: Like I said, what baweaver said!
[19:53:42] eckhardt: just used it to fish out a silly type issue yesterday in production code, then showed the rest of my team how i found it
[19:53:53] dminuoso: ACTION chuckles
[19:57:46] deathwishdave: has joined #ruby
[20:00:12] bmurt: has joined #ruby
[20:01:18] jgnagy: pry is pretty great
[20:05:16] za1b1tsu: what's so great about pry?
[20:09:48] SeepingN: hahah https://www.youtube.com/watch?v=fV1HkTTlZ_I
[20:10:01] SeepingN: oops sorry. well anyway have a good laugh I guess
[20:10:26] mtkd: has joined #ruby
[20:10:52] kiltzman: has joined #ruby
[20:11:23] kiltzman: has joined #ruby
[20:11:43] JJonah: For a method with named parameters like `def foo(param1:, param2)`, is there a way to access all of the parameters as a single hash inside the body of `foo`?
[20:11:53] kiltzman: has joined #ruby
[20:12:01] jenrzzz: has joined #ruby
[20:12:01] jenrzzz: has joined #ruby
[20:12:16] JJonah: correction: `def foo(param1:, param2:)`
[20:12:23] kiltzman: has joined #ruby
[20:12:53] kiltzman: has joined #ruby
[20:13:23] kiltzman: has joined #ruby
[20:13:48] Torne: has joined #ruby
[20:15:17] deathwishdave: has joined #ruby
[20:15:38] Torne: not sure if this is the place to ask, but: don't really know anything about the ruby ecosystem, just trying to install something that uses bundler for its deps, and was very surprised to see that "bundle install" isntalled a bunch of stuff to /var/lib/gems as root-owned files, while running as a regular user. is that expected/normal? did it sudo? can i stop it doing that?
[20:15:49] vutral|kali: has joined #ruby
[20:16:01] vutral|kali: wheres the ruby book ?
[20:17:52] tomphp: has joined #ruby
[20:18:32] synthroid: has joined #ruby
[20:18:33] gizmore: vutral|kali: github?
[20:20:37] bluesmonk: has joined #ruby
[20:21:24] bluesmonk: short question: I've just installed rbenv and ruby-build. If I do rbenv install -l a huge list of versions is returned
[20:21:32] bluesmonk: is there a stable default version?
[20:21:39] workmad3: has joined #ruby
[20:22:11] bluesmonk: how do you follow versions? ruby site says it's 2.5, but my list shows a rbx-3.89
[20:22:28] bluesmonk: and also a ree-1.8.7-2012.02, for instance
[20:22:54] bluesmonk: ruby site says last version is 2.5, I meant to say
[20:24:12] bronson: has joined #ruby
[20:25:43] cagomez: has joined #ruby
[20:29:02] Dimik: has joined #ruby
[20:31:17] Lloyd: standard ruby are the ones listed without prefixes
[20:31:37] Lloyd: that list isn't in any particular order, other than alphabetical
[20:33:17] Lloyd: latest non-dev release of ruby is 2.5.0
[20:34:37] Torne: has left #ruby: ()
[20:35:15] Vapez: has joined #ruby
[20:36:17] veduardo_: has joined #ruby
[20:36:48] rrichardsr3: has joined #ruby
[20:37:50] veduardo: has joined #ruby
[20:41:13] cagomez: has joined #ruby
[20:42:37] baweaver: ree is Ruby Enterprise Edition and that's been long dead
[20:43:00] baweaver: 2.5 is the latest, 2.4.3 is probably the most stable currently
[20:43:25] baweaver: I tend to wait a month or so after the new version comes out as there can be some interesting bugs
[20:43:34] baweaver: though I do use them on my home machines to play around for a while.
[20:43:38] bluesmonk: there is a 2.6-dev
[20:43:53] k0mpa: has joined #ruby
[20:44:05] bluesmonk: and given that the official site mentions 2.5 as stable, I'll go with that
[20:47:32] jetpack_joe: has joined #ruby
[20:47:49] justinfaler: has joined #ruby
[20:59:57] k0mpa: has joined #ruby
[21:02:28] guacamole: has joined #ruby
[21:02:28] guacamole: has joined #ruby
[21:02:45] cagomez: has joined #ruby
[21:06:06] s3nd1v0g1us: has joined #ruby
[21:06:30] s3nd1v0g1us: has joined #ruby
[21:07:01] s3nd1v0g1us: has joined #ruby
[21:07:51] s3nd1v0g1us: has joined #ruby
[21:09:03] Raffy: has joined #ruby
[21:09:03] Raffy: has joined #ruby
[21:09:12] cdg: has joined #ruby
[21:10:18] ifctj: has joined #ruby
[21:10:57] dtzuzu: has joined #ruby
[21:15:06] Fridtjof: has joined #ruby
[21:17:54] hahuang65: has joined #ruby
[21:21:29] inanepenguin: has joined #ruby
[21:23:04] ifctj: has joined #ruby
[21:23:40] kapil___: has joined #ruby
[21:24:46] bronson: has joined #ruby
[21:25:35] jenrzzz: has joined #ruby
[21:25:35] jenrzzz: has joined #ruby
[21:32:12] venmx: has joined #ruby
[21:40:33] eckhardt: has joined #ruby
[21:42:36] Camusensei: has left #ruby: ()
[21:52:27] TomyLobo: has joined #ruby
[21:58:14] pastorinni: has joined #ruby
[22:03:20] inanepenguin: has joined #ruby
[22:03:28] guacamole: has joined #ruby
[22:03:28] guacamole: has joined #ruby
[22:04:03] Asher1: has joined #ruby
[22:06:43] rrutkowski: has joined #ruby
[22:10:21] rrutkowski: has joined #ruby
[22:13:14] k0mpa: has joined #ruby
[22:14:53] AJA4350: has joined #ruby
[22:15:13] rrutkowski: has joined #ruby
[22:16:00] mtkd: has joined #ruby
[22:17:44] nopolitica: has joined #ruby
[22:20:34] cdg_: has joined #ruby
[22:22:28] workmad3: has joined #ruby
[22:24:59] truenito: has joined #ruby
[22:25:44] bronson: has joined #ruby
[22:29:13] shinnya: has joined #ruby
[22:33:56] alfiemax: has joined #ruby
[22:34:18] jenrzzz: has joined #ruby
[22:34:18] jenrzzz: has joined #ruby
[22:35:34] cagomez: has joined #ruby
[22:40:43] ifctj: has joined #ruby
[22:40:54] TinkerTyper: has joined #ruby
[22:41:21] rrutkowski: has joined #ruby
[22:43:03] jenrzzz: has joined #ruby
[22:43:03] jenrzzz: has joined #ruby
[22:45:38] alfiemax: has joined #ruby
[22:48:18] orbyt_: has joined #ruby
[22:51:48] Toggi3: has joined #ruby
[22:57:51] jenrzzz: has joined #ruby
[23:10:44] inanepenguin: has joined #ruby
[23:11:04] Paraxial: has joined #ruby
[23:12:03] Toggi3: has joined #ruby
[23:12:31] Tristan-Speccy: has joined #ruby
[23:13:09] spiette: has joined #ruby
[23:15:07] havenwood: This is a good talk showing off why you'd want Pry: https://www.youtube.com/watch?v=D9j_Mf91M0I
[23:15:14] guacamole: has joined #ruby
[23:15:15] guacamole: has joined #ruby
[23:17:17] inanepenguin: has joined #ruby
[23:19:12] jeffreylevesque: has joined #ruby
[23:23:05] tAn: has joined #ruby
[23:24:00] tAn: has joined #ruby
[23:26:32] bronson: has joined #ruby
[23:32:51] zapata: has joined #ruby
[23:32:52] ur5us: has joined #ruby
[23:36:07] mtkd: has joined #ruby
[23:36:10] jenrzzz: has joined #ruby
[23:36:10] jenrzzz: has joined #ruby
[23:36:13] druonysus: has joined #ruby
[23:38:20] anisha: has joined #ruby
[23:42:55] guacamole: has joined #ruby
[23:42:56] guacamole: has joined #ruby
[23:43:00] guardianx: has joined #ruby
[23:44:52] jottr: has joined #ruby
[23:47:22] apeiros: has joined #ruby
[23:47:33] guacamole: has joined #ruby
[23:47:33] guacamole: has joined #ruby
[23:49:41] tcopeland: has joined #ruby
[23:50:22] nopoliti1: has joined #ruby
[23:50:41] Tharbakim: has joined #ruby
[23:50:41] Tharbakim: has joined #ruby
[23:52:37] jottr_: has joined #ruby
[23:55:25] justinfaler: has joined #ruby
[23:59:33] Azure: has joined #ruby