swills has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
_djbkd has quit [Quit: My people need me...]
UtkarshRay has quit [Remote host closed the connection]
ur5us has joined #rubygems
laith has joined #rubygems
UtkarshRay has joined #rubygems
laith has quit [Quit: Page closed]
ur5us has quit [Remote host closed the connection]
jottr has joined #rubygems
<jottr>
Hi all. Could someone be so kind and explain to me what `gem pristine --all` does? I'm not sure I properly understand the explanation given at the offcial reference: "Restores installed gems to pristine condition from files located in the gem cache
<jottr>
"
<jottr>
What IS the pristine condition?
<mat_>
jottr, I guess you hacked your installed files, and want them de-hacked
<jottr>
mat_: hehe. I actually realized they go more into depth on the reference page. I should've scrolled down earlier. :)
<raggi>
jottr: it just re-runs install for each gem specified
<raggi>
jottr: and install rm's gem dirs if they pre-exist
<jottr>
raggi: That's a good explanation. :)
<raggi>
in some ways it's less useful than it used to be
<raggi>
i used to use it all the time
<raggi>
pre bundler, pre git, and when i used to deal wiht native library dependency issues on freebsd and windows
<jottr>
Hm. So can I force the pristine command? I.e. `gem pristine json` returns "Skipped json-1.8.1, it is a default gem"
<raggi>
heh
<jottr>
There's no --force flag. Alternative would be to simply reinstall the gem right?
<raggi>
no
<raggi>
those are MRI packaged gems
<raggi>
kind of a clusterfuck tbh, i never liked where we ended up
<jottr>
^^ What does that even mean? "MRI packaged gems"?
<raggi>
ruby-core always had problems keeping their extra/contrib libraries up to date and managed independently of the main interpreter code
<raggi>
many years after rubygems "won" the ruby packaging .. thing
<jottr>
Hm. So json is a default gem. So it's impossible to uninstall it, right?
<raggi>
ruby-core decided one way that might solve contrib library management challenges was to package them as gems
<raggi>
but, what we ended up with is gems that are not gems, and it rears it's head in strange ways, such as this
<jottr>
...because of the native extensions?
<raggi>
they're gems that you artificially can't uninstall because they're part of the interpreters public api
<jottr>
ok
<raggi>
and so removing them would mean you no longer have "the ruby standard library"
<raggi>
still, they are gems enough that if you wanted to, you can manually pristine it with some tricks
<jottr>
Ok. Maybe it'll make sense for me to actually describe my problem:
<inev>
hi everyone. I'm having a few problems with the postgresql gem... i'm getting an incompatible library version, but i have no idea what could be wrong, i installed it using bundle, and its complaining about "activesupport-4.2.5"
<inev>
(sirry if this is the wrong place to ask)
jottr has quit [Ping timeout: 252 seconds]
<imperator>
inev, what OS, what version of rubygems, what version of postgres?
<drbrain>
mat_: yes, they're legacy
<drbrain>
you should use fastly
<drbrain>
dwradcliffe: ↑
<mat_>
drbrain, ok, I'll work on getting that changed
<drbrain>
inev: try #ruby, this is for questions about rubygems itself
ur5us has joined #rubygems
<dwradcliffe>
mat_: ping me if you have more questions. The cf domain is very old and Fastly is the only option now.
mjc_ has quit [Quit: Connection closed for inactivity]
huoxito has quit [Ping timeout: 240 seconds]
huoxito has joined #rubygems
huoxito has quit [Read error: Connection reset by peer]
<ernetas>
Is this something that anyone is aware of or is it completely just me?
<ernetas>
I tried multiple machines from multiple IPs. Also, clean setups. This happens when installing a bunch of gems - it usually works fine with installing single gems.
<ernetas>
The IP it tries to connect to: 54.186.104.15
huoxito has quit [Remote host closed the connection]
swills has quit [Ping timeout: 250 seconds]
<ernetas>
Nevermind, works now :)
<ernetas>
But didn't change anything on my side.
ernetas has left #rubygems [#rubygems]
swills has joined #rubygems
jottr has joined #rubygems
jottr has quit [Ping timeout: 276 seconds]
huoxito has joined #rubygems
imperator has quit [Quit: Leaving]
jottr has joined #rubygems
ur5us has quit [Remote host closed the connection]