« Back to channel list

#ruby - 30 March 2019

« Back 1 day Forward 1 day »
[00:01:51] havenwood: IGnorAND: I don't know, but it seems awfully slow!
[00:02:57] havenwood: IGnorAND: Are you using Bootsnap? I'd want to delve into that file load time.
[00:03:12] IGnorAND: havenwood: Bootsnap? never heard of it
[00:03:22] havenwood: IGnorAND: it ships with Rails these days
[00:03:50] IGnorAND: well, I'm not on 6 yet. I'm on Rails 5.2.2
[00:03:50] havenwood: IGnorAND: https://github.com/Shopify/bootsnap#bootsnap-
[00:04:11] IGnorAND: it seems its in my gemfile
[00:04:15] havenwood: IGnorAND: You'll see it in your Gemfile and config/boot.rb if you're using it.
[00:04:17] IGnorAND: gem 'bootsnap', '>= 1.1.0', require: false
[00:04:47] IGnorAND: I see a require for it in config/boot.rb
[00:05:06] havenwood: IGnorAND: That's a fairly dated version of bootsnap, but checks out!
[00:05:07] IGnorAND: I didnt know shoify was in RoR
[00:05:26] havenwood: IGnorAND: Yeah, they're into MRuby tool
[00:05:54] havenwood: IGnorAND: Maybe try updating your bootsnap: bundle update bootsnap
[00:06:05] havenwood: IGnorAND: And clear your tmp: bundle exec rails tmp:clear
[00:06:25] havenwood: IGnorAND: Another thing you could do is check that Spring is working.
[00:06:34] havenwood: IGnorAND: Check that Spring and Bootsnap are working in Test env.
[00:06:57] havenwood: IGnorAND: Then profile the file loading.
[00:07:32] havenwood: IGnorAND: Check: bundle exec spring status
[00:07:49] havenwood: IGnorAND: Should be: Spring is running...
[00:07:52] IGnorAND: well, clear tmp didnt help
[00:08:11] havenwood: IGnorAND: check the second run after clearing tmp
[00:08:18] havenwood: IGnorAND: the first it'll need to rebuild the cache
[00:09:30] IGnorAND: 2nd run Finished in 27.22 seconds (files took 20.33 seconds to load)
[00:09:39] IGnorAND: bundler: failed to load command: spring (/Users/gavit/.rbenv/versions/2.5.3/bin/spring)
[00:09:51] IGnorAND: guess spring isnt in there
[00:09:52] havenwood: IGnorAND: try?: bin/spring status
[00:11:01] havenwood: IGnorAND: Spring is an app preloader: https://github.com/rails/spring#spring
[00:11:14] havenwood: IGnorAND: (It also ships enabled by default with Rails.)
[00:11:34] havenwood: seems your spring may be borked
[00:11:44] havenwood: Is it in your Gemfile?
[00:12:22] IGnorAND: lemme check if that's also true for my other projects
[00:13:11] IGnorAND: I see its in some, but not all
[00:14:18] havenwood: IGnorAND: Try adding Spring to the project, then: spring rspec
[00:14:31] IGnorAND: I'll add it to group :development, :test
[00:15:22] havenwood: IGnorAND: yeah, that's ideal
[00:16:20] IGnorAND: spring rspec doesnt seem to be a possible args
[00:17:09] havenwood: IGnorAND: Does `spring status` work now?
[00:17:32] IGnorAND: Spring is not running., but at least i have an output
[00:18:23] havenwood: IGnorAND: https://schwad.github.io/ruby/rails/testing/2017/08/14/50-times-faster-rspec-loading.html
[00:18:56] havenwood: IGnorAND: bin/spring start
[00:19:32] IGnorAND: havenwood: dont you mean spring server?
[00:19:59] IGnorAND: https://pastebin.com/7qxigBwt
[00:19:59] ruby[bot]: IGnorAND: as I told you already, please use https://gist.github.com
[00:20:57] havenwood: IGnorAND: ah, yeah - I didn't remember spring's options
[00:21:14] havenwood: IGnorAND: spring binstub --all
[00:26:15] Swyper: has joined #ruby
[00:41:20] eblip: has joined #ruby
[00:41:30] def_jam: has joined #ruby
[00:43:18] totallyserious: has joined #ruby
[00:47:34] mikecmpbll: has joined #ruby
[00:52:39] houhoulis: has joined #ruby
[01:08:02] mangold: has joined #ruby
[01:12:26] agent_white: has joined #ruby
[01:23:00] layer: has joined #ruby
[01:34:16] terabytes: has joined #ruby
[01:42:36] sgen: has joined #ruby
[01:49:51] themsay: has joined #ruby
[01:53:21] Devalo: has joined #ruby
[02:08:16] agent_white: has joined #ruby
[02:11:02] ricekrispie: has joined #ruby
[02:16:32] bambanx: has joined #ruby
[02:31:06] Swyper: has joined #ruby
[02:34:32] evdubs: has joined #ruby
[02:47:38] Swyper: has joined #ruby
[02:51:35] elphe: has joined #ruby
[03:03:20] duderonomy: has joined #ruby
[03:10:37] Swyper: has joined #ruby
[03:15:02] laaron: has joined #ruby
[03:20:22] pwnd_nsfw`: has joined #ruby
[03:53:28] kujira: has joined #ruby
[03:55:34] ricekrispie2: has joined #ruby
[03:57:14] laaron: has joined #ruby
[04:04:55] laaron-: has joined #ruby
[04:09:25] mangold: has joined #ruby
[04:09:49] braincrash: has joined #ruby
[04:45:03] Ai9zO5AP: has joined #ruby
[04:45:49] sauvin_: has joined #ruby
[04:46:27] sauvin: has joined #ruby
[04:49:56] kapil____: has joined #ruby
[04:57:10] _whitelogger: has joined #ruby
[05:00:54] i1nfusion1: has joined #ruby
[05:01:51] Ai9zO5AP: has joined #ruby
[05:06:31] UncleCid__: has joined #ruby
[05:11:27] asat: has joined #ruby
[05:23:06] sauvin: has joined #ruby
[05:32:03] Azure: has joined #ruby
[05:53:45] Devalo: has joined #ruby
[05:53:54] Swyper: has joined #ruby
[05:56:15] salasrod: has joined #ruby
[06:13:54] dviola: has joined #ruby
[06:25:17] yxhuvud: has joined #ruby
[06:35:42] nowhere_man: has joined #ruby
[06:57:12] _whitelogger: has joined #ruby
[07:02:50] Axy: has joined #ruby
[07:07:26] sidx64: has joined #ruby
[07:14:39] claudiuinberlin: has joined #ruby
[07:20:20] laaron: has joined #ruby
[07:22:13] rippa: has joined #ruby
[07:23:31] Mia: has joined #ruby
[07:23:31] Mia: has joined #ruby
[07:23:47] laaron: has joined #ruby
[07:26:07] sidx64: has joined #ruby
[07:32:53] hightower2: has joined #ruby
[07:40:43] sidx64: has joined #ruby
[07:47:43] Dbugger: has joined #ruby
[07:55:32] i1nfusion: has joined #ruby
[07:55:36] i1nfusion1: has joined #ruby
[08:00:04] sidx64: has joined #ruby
[08:04:58] gigetoo: has joined #ruby
[08:10:31] i1nfusion: has joined #ruby
[08:10:33] i1nfusion1: has joined #ruby
[08:19:10] schleppel: has joined #ruby
[08:24:14] Renich: has joined #ruby
[08:25:59] sidx64: has joined #ruby
[08:31:41] tdy1: has joined #ruby
[08:47:20] Terens: is it better to avoid namespaces?
[08:53:16] Onwarion: has joined #ruby
[08:54:23] tdy1: has joined #ruby
[08:56:28] claudiuinberlin: has joined #ruby
[09:01:31] dhollin3: has joined #ruby
[09:05:46] nowhere_man: has joined #ruby
[09:16:37] blackmesa: has joined #ruby
[09:19:47] totallyserious: has joined #ruby
[09:34:12] dionysus70: has joined #ruby
[09:43:07] reber: has joined #ruby
[09:51:46] Nicmavr: has joined #ruby
[09:54:55] mikecmpbll: has joined #ruby
[10:04:30] _joes_: has joined #ruby
[10:06:41] nowhere_man: has joined #ruby
[10:07:03] themsay: has joined #ruby
[10:10:43] claudiuinberlin: has joined #ruby
[10:12:15] hiroaki: has joined #ruby
[10:12:44] themsay: has joined #ruby
[10:13:16] Fernando-Basso: has joined #ruby
[10:17:29] BH23: has joined #ruby
[10:36:09] conta: has joined #ruby
[10:47:26] claudiuinberlin: has joined #ruby
[10:54:11] kyrylo: has joined #ruby
[10:54:25] Inline: has joined #ruby
[11:14:07] catbusters: has joined #ruby
[11:15:51] venmx: has joined #ruby
[11:17:55] helpa: has joined #ruby
[11:18:00] llua: has joined #ruby
[11:18:00] noizex: has joined #ruby
[11:18:00] duckpuppy: has joined #ruby
[11:18:25] nOwz: has joined #ruby
[11:18:41] Azure: has joined #ruby
[11:18:43] Aloy: has joined #ruby
[11:18:59] foxxx0: has joined #ruby
[11:19:01] Arahael: has joined #ruby
[11:19:09] snk_: has joined #ruby
[11:19:26] CrazyEddy: has joined #ruby
[11:21:32] akosednar: has joined #ruby
[11:21:32] akosednar: has joined #ruby
[11:21:38] Scient: has joined #ruby
[11:21:58] VladGh: has joined #ruby
[11:21:59] d^sh: has joined #ruby
[11:22:21] Phage: has joined #ruby
[11:22:21] Phage: has joined #ruby
[11:22:30] laaron-: has joined #ruby
[11:22:58] Davey: has joined #ruby
[11:22:59] Davey: has joined #ruby
[11:23:32] Fire-Dragon-DoL: has joined #ruby
[11:23:58] kke: has joined #ruby
[11:24:02] ltd: has joined #ruby
[11:24:55] iNs: has joined #ruby
[11:28:25] gr33n7007h: has joined #ruby
[11:32:04] leftylink: has joined #ruby
[11:38:21] Butterfly^: has joined #ruby
[11:43:24] kapil____: has joined #ruby
[11:52:49] dionysus70: has joined #ruby
[11:53:13] zlogan: has joined #ruby
[11:54:02] suukim: has joined #ruby
[12:00:58] AzizLight: has joined #ruby
[12:14:31] tarptaeya: has joined #ruby
[12:16:39] alem0lars: has joined #ruby
[12:24:17] laaron: has joined #ruby
[12:24:56] crankharder: has joined #ruby
[12:33:56] AzizLight: has joined #ruby
[12:38:22] yokel: has joined #ruby
[12:43:59] ricer2: has joined #ruby
[12:45:40] jrafanie: has joined #ruby
[12:46:46] cranq: has joined #ruby
[13:03:31] i1nfusion1: has joined #ruby
[13:03:34] i1nfusion: has joined #ruby
[13:06:31] venmx: has joined #ruby
[13:12:56] Terens: has joined #ruby
[13:20:17] AJA4350: has joined #ruby
[13:33:57] havenwood: terens: it's best to avoid pointless ones - but they often have a point
[13:34:35] havenwood: terens: a namespace for a gem, for example - but don't nest unnecessarily
[13:37:11] def_jam: has joined #ruby
[13:37:59] eb0t_: has joined #ruby
[13:40:11] jrafanie: has joined #ruby
[13:41:36] ytti: for company stuff, top-level is company name for me
[13:42:02] ytti: may not be idiomatic and i don't feel very strong about it, just something i've done
[13:59:52] crankharder: has joined #ruby
[14:01:43] Xeago: has joined #ruby
[14:05:33] eb0t: has joined #ruby
[14:07:28] eblip: has joined #ruby
[14:15:56] droidburgundy: has joined #ruby
[14:17:59] moontracer: has joined #ruby
[14:27:49] tdy1: has joined #ruby
[14:30:34] sidx64: has joined #ruby
[14:34:35] terabytes: has joined #ruby
[14:48:19] sidx64_: has joined #ruby
[14:56:58] Terens: has joined #ruby
[14:57:10] dar123: has joined #ruby
[14:58:33] pwnd_nsfw`: has joined #ruby
[14:58:39] claudiuinberlin: has joined #ruby
[15:07:42] apparition: has joined #ruby
[15:11:46] Swyper: has joined #ruby
[15:22:34] Blaguvest: has joined #ruby
[15:25:41] VladGh: has joined #ruby
[15:29:34] i1nfusion1: has joined #ruby
[15:29:34] i1nfusion: has joined #ruby
[15:35:18] gix: has joined #ruby
[15:42:02] uranoss: has joined #ruby
[15:45:41] nowhere_man: has joined #ruby
[15:53:45] pwnd_nsfw: has joined #ruby
[15:58:00] Swyper: has joined #ruby
[15:59:45] Swyper_: has joined #ruby
[16:13:01] DmitryBochkarev: has joined #ruby
[16:14:33] sgen: has joined #ruby
[16:20:41] laaron: has joined #ruby
[16:22:16] blackmesa: has joined #ruby
[16:22:42] octos: has joined #ruby
[16:24:10] dinfuehr_: has joined #ruby
[16:32:38] conta: has joined #ruby
[16:39:44] gell5: has joined #ruby
[16:43:02] Fernando-Basso: has joined #ruby
[16:44:27] duderonomy: has joined #ruby
[16:44:43] AJA4351: has joined #ruby
[16:46:46] blackmesa: has joined #ruby
[16:48:25] Fernando-Basso: has joined #ruby
[17:01:30] pwnd_nsfw`: has joined #ruby
[17:02:43] griffindy: has joined #ruby
[17:05:10] themsay: has joined #ruby
[17:12:18] mistym: has joined #ruby
[17:12:25] pwnd_nsfw: has joined #ruby
[17:19:55] orbyt_: has joined #ruby
[17:23:34] gell5: has joined #ruby
[17:24:01] laaron: has joined #ruby
[17:38:29] v01d4lph4: has joined #ruby
[17:39:39] ellcs: has joined #ruby
[17:44:09] lucasb: has joined #ruby
[17:51:51] AJA4351: has joined #ruby
[17:54:13] blackmesa: has joined #ruby
[17:55:10] alem0lars: has joined #ruby
[17:59:11] gell5: has joined #ruby
[18:10:27] orbyt_: has joined #ruby
[18:11:59] gix: has joined #ruby
[18:13:53] orbyt_: has joined #ruby
[18:21:05] agent_white: has joined #ruby
[18:28:41] Devalo: has joined #ruby
[18:32:55] gell5: has joined #ruby
[18:36:12] totallyserious: has joined #ruby
[18:36:31] mangold: has joined #ruby
[18:37:30] Devalo: has joined #ruby
[18:46:12] v01d4lph4: has joined #ruby
[18:49:23] totallyserious: has joined #ruby
[18:56:48] catbusters: has joined #ruby
[19:01:19] dinfuehr: has joined #ruby
[19:05:35] zachk: has joined #ruby
[19:11:52] gell5: has joined #ruby
[19:16:09] moontracer: has joined #ruby
[19:19:59] claudiuinberlin: has joined #ruby
[19:21:06] v01d4lph4: has joined #ruby
[19:21:55] zleap: has joined #ruby
[19:25:52] themsay: has joined #ruby
[19:26:04] Devalo: has joined #ruby
[19:38:39] AJA4350: has joined #ruby
[19:47:32] gell5: has joined #ruby
[19:48:03] SuperLag: has joined #ruby
[19:53:37] ua: has joined #ruby
[20:02:35] themsay: has joined #ruby
[20:05:08] SuperLag: has joined #ruby
[20:06:49] moontracer: i'd appreciate some help with this question i have: in my gemfile, the version of ruby that's listed is 2.2.6
[20:07:04] moontracer: but in my mingw32 shell when i enter ruby -v i get ruby 2.5.3p105 (2018-10-18 revision 65156) [x64-mingw32]
[20:07:37] moontracer: do i list the ruby version in my gemfile as 2.5.3p105?
[20:08:23] Zarthus: Your Gemfile should be the minimum version your software supports
[20:09:16] Zarthus: if you don't really know what that is, a 'sane' default is the lowest current-major+minor version (so 2.5.0)
[20:12:41] moontracer: noted! thanks zarthus
[20:13:16] Zarthus: moontracer: FYI, when you do `gem install [yoursoftware]` on e.g. ruby 2.4.0 it'll tell you that the library wont work because it requires ruby 2.5
[20:13:20] alem0lars: has joined #ruby
[20:13:28] variable: has joined #ruby
[20:13:50] variable: Is gem on topic here? If so, I'm having some issues installing any gem
[20:14:01] Zarthus: you can try asking
[20:14:05] Zarthus: and if it somehow becomes offtopic we'll tell you
[20:14:06] moontracer: gotcha zarthus! appreciate it
[20:14:15] variable: ∴gem install --debug --verbose --user bundler jekyll-init
[20:14:20] variable: Exception `LoadError' at /opt/local/lib/ruby2.6/2.6.0/resolv.rb:170 - LoadError
[20:14:31] variable: and then it appears to spend forever doing nothing(?)
[20:17:10] DTZUZO: has joined #ruby
[20:19:21] variable: hrm... bundler appears to give me
[20:19:21] variable: Bundler::HTTPError: Network error while fetching https://index.rubygems.org/versions (execution expired)
[20:19:26] variable: I wonder if something is funky
[20:20:25] Azure: has joined #ruby
[20:23:06] gell5: has joined #ruby
[20:27:25] Devalo: has joined #ruby
[20:31:31] Nicmavr: has joined #ruby
[20:36:51] variable: hrm... I had to patch the ruby standard library to get this to work
[20:37:02] variable: atm just want to make this work - will investigate this later
[20:37:20] variable: rubygems/remote_fetcher.rb had to change resolv -> resolv-replace
[20:44:46] Swyper: has joined #ruby
[20:46:15] AJA4351: has joined #ruby
[20:48:31] i1nfusion: has joined #ruby
[20:48:34] i1nfusion1: has joined #ruby
[20:48:51] Swyper: has joined #ruby
[20:54:47] psmolen: has joined #ruby
[20:57:30] claudiuinberlin: has joined #ruby
[21:00:03] moontracer: has joined #ruby
[21:01:44] gell5: has joined #ruby
[21:06:23] venmx: has joined #ruby
[21:13:03] Tempesta: has joined #ruby
[21:26:59] Tau: has joined #ruby
[21:29:42] v01d4lph4: has joined #ruby
[21:35:36] gell5: has joined #ruby
[21:47:32] orbyt_: has joined #ruby
[21:52:04] AJA4351: has joined #ruby
[21:54:42] elphe: has joined #ruby
[22:04:54] cd: has joined #ruby
[22:10:50] crankharder: has joined #ruby
[22:12:16] gell5: has joined #ruby
[22:18:27] elphe: has joined #ruby
[22:24:19] orbyt_: has joined #ruby
[22:26:21] wald0: has joined #ruby
[22:27:57] Terens: has joined #ruby
[22:40:30] blackmesa1: has joined #ruby
[22:44:21] code_zombie: has joined #ruby
[22:47:43] gell5: has joined #ruby
[22:59:08] AJA4351: has joined #ruby
[23:24:36] RiPuk: has joined #ruby
[23:26:26] gell5: has joined #ruby
[23:29:59] Swyper: has joined #ruby
[23:40:51] RiPuk: has joined #ruby
[23:47:28] violentE: has joined #ruby
[23:48:38] tdy1: has joined #ruby
[23:50:48] Swyper: has joined #ruby
[23:56:53] AJA4351: has joined #ruby