houhoulis has quit [Remote host closed the connection]
livingstn has quit [Ping timeout: 246 seconds]
kgrz has joined #bundler
kgrz_ has joined #bundler
kgrz has quit [Ping timeout: 245 seconds]
kgrz_ has quit [Ping timeout: 255 seconds]
kgrz has joined #bundler
kgrz_ has joined #bundler
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
havenn has joined #bundler
havenwood has quit [Ping timeout: 246 seconds]
iamjarvo has joined #bundler
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #bundler
kgrz_ has quit [Ping timeout: 245 seconds]
kgrz has quit [Ping timeout: 264 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kgrz has joined #bundler
kgrz_ has joined #bundler
prime has quit [Ping timeout: 255 seconds]
prime has joined #bundler
kangguru_away is now known as kangguru
ixti has quit [Ping timeout: 272 seconds]
ta has quit [Remote host closed the connection]
ta has joined #bundler
havenn has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 264 seconds]
kgrz_ has quit [Ping timeout: 256 seconds]
ta has joined #bundler
relix has joined #bundler
slash_ni1k has joined #bundler
<relix>
hey guys, I have a problem with vendor/cache/
<relix>
if I remove it, everything works fine
<relix>
but if it exists, and bundler tries to cache the used gems, after stating "Updating files in vendor/cache... [bunch of gems here]" it fails with the error "Could not read gem at /vagrant/vendor/cache/actionmailer-4.1.9.gem. It may be corrupted."
<relix>
it's not actionmailer-specific, it's just about any random gem
<relix>
I tried remove all the things as noted in bit.ly/bundler-issues
<jacobat>
Is there a way to have bundler search multiple directories for git gems?
havenwood has joined #bundler
<jacobat>
It seems bundler is looking in $BUNDLE_PATH and vendor/cache only, but not the rest of the gem paths
havenn has joined #bundler
havenwood has quit [Ping timeout: 240 seconds]
ixti has joined #bundler
havenn has quit [Ping timeout: 264 seconds]
ta has joined #bundler
kgrz has joined #bundler
kgrz_ has joined #bundler
kgrz_ has quit [Ping timeout: 252 seconds]
kgrz has quit [Ping timeout: 252 seconds]
havenwood has joined #bundler
<indirect>
jacobat: git gems are a Bundler-only thing, so other gem paths don't really make sense
<indirect>
relix: you can see the exact exception by running bundle install --verbose
<indirect>
but in general that means the file Aws corrupt and couldn't be decompressed
<indirect>
was
Trey- has left #bundler [#bundler]
kgrz has joined #bundler
kgrz_ has joined #bundler
heroux has joined #bundler
Pupeno has joined #bundler
Pupeno has joined #bundler
kgrz has quit [Ping timeout: 255 seconds]
kgrz_ has quit [Ping timeout: 264 seconds]
kgrz has joined #bundler
kgrz_ has joined #bundler
kgrz_ has quit [Ping timeout: 245 seconds]
kgrz has quit [Ping timeout: 245 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #bundler
havenn has joined #bundler
kgrz has joined #bundler
kgrz_ has joined #bundler
havenwood has quit [Ping timeout: 256 seconds]
havenwood has joined #bundler
havenn has quit [Ping timeout: 246 seconds]
havenn has joined #bundler
havenwood has quit [Ping timeout: 272 seconds]
havenn has quit [Ping timeout: 264 seconds]
havenwood has joined #bundler
_ixti_ has joined #bundler
_djbkd has joined #bundler
ixti has quit [Ping timeout: 264 seconds]
iamjarvo has joined #bundler
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #bundler
kgrz_ has quit [Ping timeout: 255 seconds]
kgrz has quit [Ping timeout: 255 seconds]
arup_r has joined #bundler
zz_Cidan is now known as Cidan
livingstn has joined #bundler
kgrz has joined #bundler
kgrz_ has joined #bundler
kangguru is now known as kangguru_away
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #bundler
havenwood has quit []
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #bundler
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #bundler
kgrz has quit [Ping timeout: 246 seconds]
kgrz_ has quit [Ping timeout: 252 seconds]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #bundler
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #bundler
peteyg has joined #bundler
<peteyg>
Is using the "--full-index" switch preferred (or under what conditions would I want to use this switch)? The documentation seems to be ambiguous whether or not having the switch is better: "Use the rubygems modern index instead of the API endpoint"
_djbkd has quit [Quit: My people need me...]
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 36.0/2015022000]]
mjb2k has joined #bundler
<mjb2k>
I want to deploy a ruby project to a production server without compiling gems on the server, I tried to bundle install --deployment on a dev machine and copy out the project but I'm getting LoadError on the binary .so in the pg gem
<mjb2k>
is what I'm trying supposed to work that way?
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
huoxito has quit [Read error: Connection reset by peer]
<indirect>
peteyg: you would want to use it if your connection is very high latency, or when you’re seeing an error while trying to install without the switch
<indirect>
it downloads a single large file instead of making many requests with smaller responses
<indirect>
mjb2k: peteyg: that’s not quite right. bundler does not provide a way to pre-compile gems at all.
<indirect>
if you need to compile gems, you will need to do a `bundle install --deployment` on a machine with the exact same OS and architecture, and then copy the resulting `vendor/bundle` directory onto every other production machine
<indirect>
and when I say exact same OS, I mean _exactly_ the same. same version, same OS packages, same versions of OS packages, same version of ruby, compiled against the same shared libraries
houhoulis has joined #bundler
<mjb2k>
peteyg: I was just looking at that: maybe I could package then install from the cache on the production server
<indirect>
mjb2k: you’ll still have to compile
<indirect>
package _does not compile gems_
<indirect>
it just pre-downloads them
<mjb2k>
@indirect: well that is very disappointing, I was hoping to abuse the package feature even if it wasn't meant for that
<indirect>
it is `install` that compiles gems
<indirect>
you don’t need package for that
<indirect>
but like I said a second ago, you will have to compile on the exact same OS and architecture and then copy `vendor/bundle` to the other machines
<mjb2k>
matching the production server should be fine, I can setup a dedicated build server if need be
<indirect>
then you’re fine
<mjb2k>
the test I did should have been compatiable but still didn't work
<indirect>
just run `bundle install --deployment` on the build server
<indirect>
and copy the entire `vendor/bundle` directory
<mjb2k>
perhaps it's not as right as I thought
<indirect>
sounds like it’s not
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mjb2k>
ok, thanks, I'll go back and dig deeper for what when wrong
iamjarvo has joined #bundler
huoxito has joined #bundler
Pupeno_ has joined #bundler
Pupeno has quit [Ping timeout: 265 seconds]
Olipro_ has joined #bundler
Olipro_ has quit [Excess Flood]
Olipro_ has joined #bundler
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #bundler
Olipro_ has quit [Ping timeout: 252 seconds]
Olipro_ has joined #bundler
mjb2k has quit [Quit: Page closed]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]