lfalcao has joined #ruby
gearnode has quit [Ping timeout: 240 seconds]
mayhew has quit [Quit: Konversation terminated!]
lfalcao has quit [Ping timeout: 268 seconds]
markmarkmark has joined #ruby
ur5us has joined #ruby
jonathanclarke has quit [Ping timeout: 272 seconds]
sdfuiojklqaz2 has quit [Remote host closed the connection]
clemens3 has quit [Ping timeout: 268 seconds]
clemens3 has joined #ruby
pwnd_sfw has quit [Ping timeout: 244 seconds]
pwnd_sfw has joined #ruby
Milos has quit [Remote host closed the connection]
Milos has joined #ruby
dviola has joined #ruby
lfalcao has joined #ruby
lfalcao has quit [Ping timeout: 268 seconds]
dviola has quit [Quit: WeeChat 3.2]
ur5us has quit [Ping timeout: 240 seconds]
lfalcao has joined #ruby
<havenwood> >> (27..36).reduce('1e8qk') { Integer(_1, _2, exception: false) || _1.to_s(_2) }
<ruby[bot]> havenwood: # => "ruby" (https://carc.in/#/r/bcj5)
lfalcao has quit [Ping timeout: 244 seconds]
teclator has joined #ruby
ur5us has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
teclator has joined #ruby
teclator has quit [Client Quit]
teclator has joined #ruby
drn has joined #ruby
drn has quit [Client Quit]
gr33n7007h has quit [Quit: WeeChat 3.2]
roadie has quit [Remote host closed the connection]
roadie has joined #ruby
roadie has quit [Ping timeout: 272 seconds]
roadie has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
teclator has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
teclator has quit [Client Quit]
roadie has left #ruby [ERC (IRC client for Emacs 25.3.50.1)]
Qchmqs has joined #ruby
Qchmqs has quit [Changing host]
Qchmqs has joined #ruby
teclator has joined #ruby
postmodern has quit [Quit: Leaving]
postmodern has joined #ruby
postmodern has quit [Client Quit]
parity has quit [Ping timeout: 272 seconds]
TomyWork has joined #ruby
gearnode has joined #ruby
jhass[m] has quit [Quit: Bridge terminating on SIGTERM]
ckrailo has quit [Quit: Bridge terminating on SIGTERM]
jhass[m] has joined #ruby
ckrailo has joined #ruby
clemens3 has quit [Ping timeout: 240 seconds]
clemens3 has joined #ruby
gr33n7007h has joined #ruby
unyu has quit [Quit: WeeChat 3.1]
gr33n7007h has quit [Quit: WeeChat 3.2]
gearnode has quit [Remote host closed the connection]
gearnode has joined #ruby
viole has quit [Ping timeout: 272 seconds]
whysthatso has joined #ruby
unyu has joined #ruby
mayhew has joined #ruby
sdfuiojklqaz has joined #ruby
sdfuiojklqaz has quit [Ping timeout: 252 seconds]
sdfuiojklqaz has joined #ruby
aeris| has quit [Ping timeout: 252 seconds]
lunarkitty has quit [Quit: Connection closed for inactivity]
Qchmqs_ has joined #ruby
aeris has joined #ruby
Qchmqs has quit [Ping timeout: 240 seconds]
Qchmqs_ has quit [Ping timeout: 252 seconds]
ollysmith has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
ollysmith has joined #ruby
lfalcao has joined #ruby
crankharder has joined #ruby
lfalcao has quit [Ping timeout: 268 seconds]
lfalcao has joined #ruby
lfalcao has quit [Ping timeout: 268 seconds]
lfalcao has joined #ruby
jetchisel has joined #ruby
swaggboi has quit [Quit: C-x C-c]
swaggboi has joined #ruby
_whitelogger has joined #ruby
lfalcao has quit [Ping timeout: 244 seconds]
teclator has quit [Ping timeout: 268 seconds]
swaggboi has quit [Ping timeout: 268 seconds]
skryking has joined #ruby
bit4bit has joined #ruby
skryking has left #ruby [#ruby]
skryking has joined #ruby
swaggboi has joined #ruby
jtperreault has joined #ruby
jtperreault has quit [Quit: WeeChat 1.4]
skryking has quit [Quit: Konversation terminated!]
jtperreault has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
crankharder has joined #ruby
swaggboi has quit [Quit: C-x C-c]
swaggboi has joined #ruby
lfalcao has joined #ruby
akochi has joined #ruby
crawfish has quit [Quit: ZNC 1.8.2 - https://znc.in]
akochi has quit [Client Quit]
lfalcao has quit [Ping timeout: 244 seconds]
lfalcao has joined #ruby
dannyAAM has joined #ruby
<jidar> is it a fools errand to try and use the system ruby but have all gem installs go to a user defined directory? I keep finding myself dealing with "Ignoring eventmachine-1.2.7 because its extensions are not built. Try: gem pristine eventmachine --version 1.2.7" style of errors
<weaksauce> jidar probably
<weaksauce> i guess the better question is why are you doing it this way
<jidar> because I don't want user installs to conflict with system installs?
TomyWork has quit [Remote host closed the connection]
<adam12> jidar: It’s strange that you’d keep seeing this error. What platform are we talking about?
<jidar> fedora
<adam12> jidar: And ruby installed via dnf/yum?
<jidar> I'll note it does not set gem_home or gem_path
<jidar> yea
<adam12> They package their own patches too.
<adam12> Do you mind doing `gem env` and pasting it somewhere?
<adam12> And are you using `gem —user-install` or setting you rown GEM_*?
<adam12> I wish —user-install was more common, but unfortunately in this case, it’s generally been easier to just use a ruby version manager which has a writable gem home. Ruby packaging has _always_ been rather horrible, for one reason or another.
<jidar> well, I have a .gemrc that's how I thought I was issuing a --user-install, but I don't think it works that way
<adam12> There’s talks about making —user-install the default, and adopting Fedora’s patches as default, but I’m not sure where thats gone.
<jidar> honestly if user install was the default I think lots of my problems would go away
<adam12> Have you noticed these errors after updating Ruby?
<jidar> I almost always find myself fighting between figuring out what option needs to be set in my shell or just sudo gem install
<jidar> ruby has never been updated on this system
<adam12> Hmm.
<adam12> Does your gemrc set —user-install?
<jidar> > gem: --user-install --bindir /home/nate/.local/bin -N
<jidar> that's the only line besides the first line yaml "--- "
crankharder has quit [Quit: leaving]
<adam12> jidar: Is it broken right now?
<adam12> jidar: Hard to say without running into it locally, but my suggestions would be to maybe get a `tree` for the broken gem path in `~/.local/share/gem/…`, and possibly even chmod -w everything in that path to see if you can see what might be affecting the existing builds.
<jidar> I mean I can't run bundle install on any of my projects so feels pretty broken to me :P
<adam12> There’s an extensions folder, so I’d be curious to know if it’s changing over time.
<adam12> What’s the bundle install error?
<adam12> If you’re not adverse to the extra disk space, you can use bundle with a custom path.
<jidar> I dunno, I messed with a bunch of stuff last time this happened - currently it looks like I'm missing ruby-dev but I know how to fix that, I might just clean all paths out and start over with this
<jidar> any handy scripts to do that?
<jidar> or would it just be the stuff I find in `gem env`
<adam12> Like `gem uninstall —all` ?
<jidar> oh! let me try that
<adam12> Maybe that + rm -rf ~/.local/share/gem
<adam12> Not something I normally do frequently, so I’m not sure of anything better.
ua_ has quit [Ping timeout: 244 seconds]
<jidar> no worries, I'll fool around with it a bit and get back to something that resembles baseline
kinduff0 has joined #ruby
explorier has joined #ruby
<jidar> alright so this is weird, but before installing anything I thought I'd try and get things right, playing around with gem_home and gem_path I can sorta see how to maybe configure this
<jidar> > GEM_PATH=/home/nate/.local/share/gem/ruby:/usr/share/gems GEM_HOME=/home/nate/.local/share/gem/ruby
<jidar> does that look wrong or anything?
<jidar> I'm just trying to make the default install path ~/.local and still allow for shared gems from /usr/share/gems
kinduff07 has joined #ruby
<jidar> updated https://gist.github.com/frizop/49a7aea11fbc32c8f751348b64320da1 with the current output of gem env
<jidar> seems that bundle now installs to .local
ua_ has joined #ruby
kinduff0 has quit [Ping timeout: 244 seconds]
kinduff07 is now known as kinduff0
<jidar> butttt, sadly fpm doesn't find the right paths
thelounge03519 has joined #ruby
thelounge03519 has quit [Client Quit]
lunarkitty has joined #ruby
<adam12> jidar: rexml is installed? It’s usually a default gem but I’m not sure for 3.0.1 `gem list rexml`
<adam12> I almost never adjust GEM_PATH and GEM_HOME, so I’ll have to pass on critiquing it.
<jidar> after installing it, I get the same error, it wasn't installed prior
<adam12> Maybe it’s a dependency in your Gemfile.
<jidar> ok, now that I threw it into the gemfile it works
<jidar> so weird
<adam12> What’s the output of `bundle info rexml`
<adam12> And `bundle info —path rexml`
<jidar> that all looks right to me
<adam12> Yep that looks fine.
<adam12> I don’t remember the nuances of bundler and shared gems.
<jidar> I'm thinking this is what I was hoping to get too, new gem installs go in .local, /usr/share can still be used for system level gems
<jidar> bundle install commands also hit .local
<jidar> no sudo needed
<adam12> jidar: This is the Fedora patch I mentioned. I wonder if they are still doing it. https://github.com/rubygems/rubygems/issues/1394#issuecomment-160158875
<jidar> I see the rb file they mention in the rpms tree for F34
<jidar> so I'd imagine it's there, but for some reason wasn't used
<jidar> perhaps because of my .gemrc
<jidar> ah now I get it, ok, so gem install first says, hey I can't write to /usr/share/gems, produces a warning that ~/bin isn't in my path and then creates ~/bin and installs it there WHEN .gemrc is missing
<jidar> this is honestly so goofy lol
<jidar> why does everybody think you want stuff in ~/bin, such a bothersome place to put things, it doesn't support having a base PATH for installs, ie: make install=PATH=/usr, so it will never know where to use for share, etc, opt etc
unyu has quit [Remote host closed the connection]
<adam12> ¯\_(ツ)_/¯
<adam12> The new Ruby debugger is shaping up so nice. I can’t wait.
<adam12> https://github.com/ruby/debug for anyone who hasn’t seen it yet.
unyu has joined #ruby
<jidar> debuggers honestly make or break a language (for me anyhow)
lfalcao has quit [Ping timeout: 244 seconds]
<weaksauce> which rubies does it work with?
<jidar> ah nice! it includes flow control options!
<jidar> this was something I previously used pry-bybug (iirc)
chonkbit has quit [Ping timeout: 240 seconds]
<adam12> weaksauce: Shipping with 3.1. Not sure how far they plan on support back. It comes with a C extension.
<weaksauce> ah i see
<weaksauce> how is the adoption of 3 going with the main gems?
<weaksauce> ruby 2 to 3 wasn't as big a change as 2 to 3 python or 1.9 to 2 ruby no?
<adam12> Just keyword arguments, afaik.
<adam12> Which in itself is quite a big change, albeit a necessary one.
<adam12> bbiaf.
<weaksauce> ah haven't really looked at 3 yet
<weaksauce> were the parameter passing just for performance reasons
Qchmqs_ has joined #ruby
<weaksauce> ah reading the changes it doesn't seem to be too too extensive an update path for most maintained gems i'd think
gearnode has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
gearnode has joined #ruby
postmodern has joined #ruby
Qchmqs_ has quit [Ping timeout: 268 seconds]
aeris has quit [Ping timeout: 252 seconds]
lfalcao has joined #ruby
aeris has joined #ruby
gr33n7007h has joined #ruby
nmollerup has quit [Ping timeout: 272 seconds]
nmollerup has joined #ruby
willthechill has joined #ruby
<willthechill> Perl > Ruby, change my mind! ;-) intro to Perl data types: https://youtu.be/go7Ru3QQYYs
<havenwood> willthechill: Raku > Perl, I rest my case.
<willthechill> LOL you are funny!
<adam12> havenwood: easy now. that’s sounding almost lawyer-ish.
<havenwood> adam12: Wherefore, premises considered...