indirect changed the topic of #bundler to: Docs! http://bundler.io | Problems? http://bit.ly/bundler-issues | How to help: http://bit.ly/bundler-development | API Dashboard http://cl.ly/SBoH | #bundler logs: http://bit.ly/bundler-logs | Questions will be answered eventually, so hang out for a while
houhoulis has quit [Remote host closed the connection]
khebbie has joined #bundler
Pupeno has joined #bundler
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #bundler
Pupeno has quit [Remote host closed the connection]
wpp has joined #bundler
Pupeno has joined #bundler
krainboltgreene has quit [Remote host closed the connection]
JSharp has quit [Remote host closed the connection]
preyalone has quit [Remote host closed the connection]
benlakey has quit [Remote host closed the connection]
dcolebatch has quit [Remote host closed the connection]
Guest32 has joined #bundler
wpp has quit []
JSharp has joined #bundler
krainboltgreene has joined #bundler
khebbie_ has joined #bundler
khebbie has quit [Ping timeout: 250 seconds]
dcolebatch has joined #bundler
benlakey has joined #bundler
khebbie_ has quit [Ping timeout: 256 seconds]
preyalone has joined #bundler
Guest32 has quit [Quit: Textual IRC Client: www.textualapp.com]
khebbie has joined #bundler
mrgrieves has joined #bundler
khebbie has quit [Remote host closed the connection]
agis- has joined #bundler
habitullence has joined #bundler
rgb-one has quit [Remote host closed the connection]
<mrgrieves> hi, I've been trying to use bundler for code-shipping purposes but I'm getting inconsistent results with our particular workflow
<mrgrieves> I'm pretty sure a significant part of the reason is due to my lack of understanding but I'm hoping I can get some direction from you
khebbie has joined #bundler
<mrgrieves> we have a production target box with a user where we hope to run bundle exec commands. This production box doesn't have the ruby-devel libraries installed but we do have a CI box which has the production version of ruby installed and in which we can install devel libraries
<mrgrieves> suposse we have a fresh user created in our CI box and the only gem listed by "gem list" is bundler, what workflow would you advise to follow to get everything deployed locally so we can then package and drop in prod?t
<mrgrieves> my Gemfile looks like this right now http://pastebin.com/d0ktdeS8
<jhass> install everything you need to build the stuff from your Gemfile to the prod box and do it on deploy. Unless you can _guarantee_ your CI box is an exact mirror of the prod box + devel headers
<jhass> there's bundle package which you can use to include the unbuilt gems so you don't have to do that during deploy
<jhass> *don't have to download them
<jhass> you should still bundle install --deployment during deploy, do not ship vendor/bundle or anything like that built on CI to prod unless you can absolutely guarantee ABI compatibility for all involved libraries
<mrgrieves> jhass: thanks! now, one of the problems we have is that the prod box doesn't have direct internet access (i.e. we can't get gems installed from rubygems)
<jhass> that's what bundle package is for
<jhass> bundle help package
<mrgrieves> yes, my first approach was to bundle package on CI and ship the .gems in vendor/cache but when I went to do bundle install --local the installation went fine for some of the gems but got an error with ffi "ERROR: Failed to build gem native extension"
<mrgrieves> that's bundle install --local in prod*
<mrgrieves> that's when I realized we didn't have the devel libraries available in prod
<mrgrieves> we could try to guarantee ABI compatibility because we kind of have full control over CI
<mrgrieves> actually I might take that back unless it's enough if we match CPU arch and ruby versions (with devel libraries)
<mrgrieves> kernels might be diff between CI and prod
<jhass> hf, I predict that to be a far greater headache than installing the devel headers on prod
<jhass> and no, that's not enough
<jhass> kernel doesn't matter, arch does, but more importantly library versions
<jhass> not only Ruby, but also things like libxml2 for Nokogiri, libjson, libffi and what not
<jhass> you'll also need soname compatibility
<jhass> so you want the same distribution on the same upgrade level always
<jhass> btw you also should do --deployment on prod so you don't accidentally install different versions (it prevents the Gemfile.lock from changing)
<mrgrieves> I think there's only one way to find out ... by trying
<mrgrieves> what's the best way to build the gems locally in CI?
<jhass> CI too should too do --deployment which implies --path vendor/bundle
<jhass> you then *could* copy vendor/bundle over, but let me repeat that I strongly advise against that approach
<mrgrieves> so with --deployment I should end up with the built gems in vendor/bundle, right?
<jhass> that's what I just said
<mrgrieves> I'm with you, I just need to explore all avenues so I can also advise people around here
<mrgrieves> cheers jhass
<mrgrieves> let me try ...
<jhass> mrgrieves: even if it works now for you there's no guarantee it won't suddenly break (in possibly subtle ways) as your dependency tree or OS upgrade level changes
<mrgrieves> you are right
<mrgrieves> now that I'm testing in my dev env I see something interesting, I'm getting the same as in prod http://pastebin.com/aYiJq929
<jhass> you're missing devel headers for ffi
<jhass> also keep in mind that Ruby 1.8 and its successor 1.9 is no longer in official security maintenance
<mrgrieves> thanks jhass
rgb-one has joined #bundler
agis- has quit [Remote host closed the connection]
habitullence has quit [Quit: habitullence]
khebbie has quit [Remote host closed the connection]
khebbie has joined #bundler
habitullence has joined #bundler
khebbie has quit [Remote host closed the connection]
agis- has joined #bundler
agis- has quit [Remote host closed the connection]
agis- has joined #bundler
Gidogeek has joined #bundler
chouhoulis has quit [Remote host closed the connection]
Scrivener has joined #bundler
khebbie has joined #bundler
agis- has quit [Remote host closed the connection]
khebbie has quit [Remote host closed the connection]
axl_ has joined #bundler
habitullence has quit [Quit: habitullence]
chouhoulis has joined #bundler
wpp has joined #bundler
habitullence has joined #bundler
heliocola has joined #bundler
<heliocola> hello there...
<heliocola> I noticed this morning a weird margin-top on http://bundler.io/conduct.html
<heliocola> in between the h3 for License and the following "p class=license"
<heliocola> does anybody know if that margin-top was meant to be there?
valarissa has joined #bundler
<heliocola> it adds a weird gap between the section title and the wording..
heliocola has left #bundler [#bundler]
heliocola has joined #bundler
Gidogeek has quit [Ping timeout: 240 seconds]
agis- has joined #bundler
chouhoul_ has joined #bundler
chouhoulis has quit [Read error: Connection reset by peer]
heliocola has quit [Ping timeout: 246 seconds]
agis- has quit [Remote host closed the connection]
wpp has quit [Quit: ZZZzzz…]
agis- has joined #bundler
agis- has quit [Quit: so long...]
maletor has joined #bundler
maletor has quit [Ping timeout: 244 seconds]
axl_ has quit [Quit: axl_]
axl_ has joined #bundler
wpp has joined #bundler
wpp has quit [Client Quit]
Scrivener has quit [Quit: Leaving]
mrgrieves has quit [Quit: Lost terminal]
habitullence has quit [Quit: habitullence]
rgb-one has quit [Remote host closed the connection]
djbkd has joined #bundler
Olipro has quit [Ping timeout: 252 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #bundler
habitullence has joined #bundler
Scrivener has joined #bundler
djbkd has quit [Remote host closed the connection]
djbkd has joined #bundler
djbkd has quit [Remote host closed the connection]
djbkd has joined #bundler
Pupeno has quit [Remote host closed the connection]
bahar has joined #bundler
<bahar> hello all, I'm having a strange error,
<bahar> "gnoring bcrypt-3.1.10 because its extensions are not built. Try: gem pristine bcrypt --version 3.1.10" when I do a bundle update,
<bahar> and then when I try to follow the instructions to do a gem pristine, I get "ERROR: While executing gem ... (Gem::Exception)
<bahar> Failed to find gems ["bcrypt"] = 3.1.10"
<bahar> Anyone run into this before?
<bahar> the issue persists after i do 'gem uninstall bundler, gem install bundler, gem install bcrypt' via this stackoveflow suggestion: http://apple.stackexchange.com/questions/147939/ruby-on-os-x-10-9-ignoring-gems-because-extensions-are-not-built
Pupeno has joined #bundler
<bahar> i am running rvm 1.26.11
djbkd has quit [Remote host closed the connection]
djbkd has joined #bundler
djbkd has quit [Remote host closed the connection]
djbkd has joined #bundler
djbkd has quit [Remote host closed the connection]
djbkd has joined #bundler
djbkd has quit [Remote host closed the connection]
habitullence has quit [Quit: habitullence]
djbkd has joined #bundler
djbkd has quit [Remote host closed the connection]
djbkd has joined #bundler
djbkd has quit [Remote host closed the connection]
djbkd has joined #bundler
maletor has joined #bundler
lele has quit [Ping timeout: 240 seconds]
lele has joined #bundler
habitullence has joined #bundler
Scrivener has quit [Ping timeout: 240 seconds]
Pupeno has quit [Remote host closed the connection]
Scrivener has joined #bundler
Pupeno has joined #bundler
djbkd has quit [Remote host closed the connection]
axl__ has joined #bundler
axl_ has quit [Ping timeout: 246 seconds]
axl__ is now known as axl_
chouhoul_ has quit [Remote host closed the connection]
habitullence has quit [Quit: habitullence]
djbkd has joined #bundler
axl_ has quit [Quit: axl_]
Scrivener has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #bundler
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #bundler
djbkd has quit [Remote host closed the connection]
chouhoulis has joined #bundler
djbkd has joined #bundler
Pupeno has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #bundler