<adam12>
MysteriousSilver: I guess you can try exporting `GEM_HOME` and `GEM_PATH` then try calling the executable again.
<adam12>
MysteriousSilver: Ideally, the last line maybe would have been better as using `--user-install` and not setting any environment variables, since I think they are writable by you already.
* MysteriousSilver
feels dumb
<MysteriousSilver>
someone suggest me that command to install it, forgot i should've tried exec
drincruz_ has quit [Read error: Connection reset by peer]
vadviktor has quit [Remote host closed the connection]
drincruz_ has joined #ruby
greyrat has joined #ruby
lucerne has joined #ruby
lucerne has quit [Quit: Bye]
lucerne has joined #ruby
Garb0 has quit [Quit: Garb0]
Garb0 has joined #ruby
viole has quit [Ping timeout: 265 seconds]
foxxx0 has quit [Quit: foxxx0]
foxxx0 has joined #ruby
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Ziyan has joined #ruby
bandithijo has quit [Ping timeout: 272 seconds]
mollerup has joined #ruby
nmollerup has quit [Ping timeout: 240 seconds]
Winterschlaf has joined #ruby
Winterschlaf has left #ruby [#ruby]
BSaboia has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
chonkbit has joined #ruby
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Ziyan has joined #ruby
mrkz_c has joined #ruby
lucf117 has joined #ruby
drincruz has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
clemens3 has joined #ruby
BSaboia has joined #ruby
BSaboia has quit [Client Quit]
jetchisel has quit [Ping timeout: 252 seconds]
lunarkitty has joined #ruby
jwr has joined #ruby
<jwr>
is there anything i can do about `bundle lock` getting killed OOM, other than just resizing the server? that doesn't seem like it would be particularly memory intensive. https://pastebin.com/raw/h6wPZXp4
<adam12>
jwr: `free -m`?
<adam12>
jwr: and `bundle -v`
<jwr>
adam12: https://pastebin.com/raw/8Xe5yf94 it's legitimately running out of memory, the whole server becomes basically useless until the kernel kills it. but i've never known fetching gems to be resource intensive.
<adam12>
jwr: Ancient version of Bundler. Could you try latest in the 2.x series?
<jwr>
i can, but this is in the context of servers running `bundle lock` via automation, not humans on laptops, so it's a bit more trouble to change versions. is 2.x known to handle memory better (or 1.x known to handle it poorly)?
<adam12>
jwr: I don't know, but 1.x is essentially in maintenance mode for the last while. You could try reproducing locally on a laptop with similar specs (4gb ram, no swap) to see if updating bundler would help. But if you open a ticket to the bundler project, I _presume_ they'd want to see you on latest 2.x as well.
<jwr>
yeah, fair, that makes sense.
<jwr>
adam12: the specific gem that we're trying to update is being pulled from a git repo. would the size of the repository affect RAM usage, as more and more commits get added over time? i've never seen that behavior with plain old git, but i've also never seen bundler get killed like this before either.
<adam12>
jwr: I've never seen it either. What does the gemspec look like for that project? Anything out of the ordinary?
<adam12>
jwr: Does the gemspec for that project reach out to anything? require any files, call git, etc?
<adam12>
jwr: What does the line look like in your Gemfile that refers to that gem? does it use a glob for matching gemspecs?
jwr has quit [Ping timeout: 240 seconds]
_ht has quit [Remote host closed the connection]
jwr has joined #ruby
<jwr>
adam12: woops, power outage knocked me offline. did you happen to have any input on my question about bundle/git?
<adam12>
<adam12> jwr: I've never seen it either. What does the gemspec look like for that project? Anything out of the ordinary?
<adam12>
<adam12> jwr: Does the gemspec for that project reach out to anything? require any files, call git, etc?
<adam12>
<adam12> jwr: What does the line look like in your Gemfile that refers to that gem? does it use a glob for matching gemspecs?
AriT93 has quit [Read error: Connection reset by peer]
<adam12>
jwr: I gotta run tho. Good luck.
<jwr>
thanks
graywolf has joined #ruby
drincruz_ has joined #ruby
drincruz has quit [Read error: Connection reset by peer]
AriT93 has joined #ruby
drincruz_ has quit [Ping timeout: 246 seconds]
drincruz_ has joined #ruby
chonkbit has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
<nakilon>
IIRC there is some command to download only the HEAD of git repo, without history
<nakilon>
not sure if it cuts after it downloads it all or downloads fewer bytes though
<nakilon>
oh, if it's a repo that is a Gemfile dependency then it's probably already applied
jwr has quit [Remote host closed the connection]
Ziyan has quit [Ping timeout: 252 seconds]
Ziyan has joined #ruby
bandithijo has joined #ruby
AriT93 has quit [Remote host closed the connection]
dibber has joined #ruby
weyhmueller has quit [Ping timeout: 268 seconds]
weyhmueller has joined #ruby
AriT93 has joined #ruby
drincruz has joined #ruby
drincruz_ has quit [Ping timeout: 252 seconds]
AriT93 has quit [Remote host closed the connection]