samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pglombardo has quit []
ddd has joined #bundler
patcon_ has quit [Remote host closed the connection]
patcon has joined #bundler
patcon has quit [Ping timeout: 246 seconds]
whack has joined #bundler
<whack>
platforms question, if I do 'gem "racc", :platforms => :rbx' why does the Gemfile.lock end up listing 'racc' as a dependency when 'bundle install' is done under MRI?
<whack>
I've also tried: platforms :rbx { gem "racc" } with the same results
<whack>
maybe I'm misunderstanding what the .lock file actually contains?
<deryl>
i thought the lock would still list it, it just wouldn't actually be installed unless the platform *was* rbx
<whack>
deryl: makes sense I think
<whack>
assuming the .lock is a full dependency map for all platforms listed in the gemfile?
<whack>
in which case it seems weird to list the 'platform' also in that file :\
<deryl>
*my* understanding may be flawed as well, idk. i use jruby on a couple and i have conditionals like that as well. it gets listed but not installed. think the lock gets it because if you copy the proj to a diff ruby and do a bundle install it understands when and what toi install
<deryl>
i lay no claim to understanding the internals accurately. thats my surmise of what's happening and why
<whack>
i can confirm at least that 'bundle install' does not install these things that are restricted to a specific platform
<whack>
so the behavior is correct even if the contents of the .lock are a bit odd ;)
<deryl>
yeah, which is the behavior i've seen as well. so since you do 'bundle install' under *any* ruby to use bundler with the particular project that conditional in the lock file since that is what's used behaves in that manner.
<deryl>
which is why i believe that is whats happening
<deryl>
yeah.
<deryl>
jus a reaffirmation then :)
<whack>
nod; seems weird that under 'platforms' on the current platform is listed
yan_ has left #bundler [#bundler]
<deryl>
whack, i think you'rea ssuming that *because* its oin the current platform that it would *not* be listed, but its still a dependency and it lists *all* environments that I can see
<deryl>
so to *me* it makes sense that it *would* be there. Wish indirect was live, he'd set us straight in a heartbeat.
<deryl>
he or brixen would. it makes sense that way, but i'm not entirely poisitive of the internals myself so..
<indirect>
deryl: whack: hey there. so the lock contains a list of every platform that has ever been resolved on
<indirect>
and the platform constraints determine what platforms the gems will be installed onto
<deryl>
hey indirect :) ahh so it depends on which platforms its resolved on for how the lock is built! ok, that makes more sense
<deryl>
has been, and will be
<deryl>
(or can be)
<deryl>
indirect, appreciate the detailing
<indirect>
yeah... someday I would like there to be better platform support
<indirect>
but for now, it's just a list of the platforms that have actually been installed on
<indirect>
we don't try to resolve any platforms other than the one that bundler is currently running on
<deryl>
and those that are specified explicitly in Gemfile, correct?
<deryl>
the devil in the detail being 'explicitly'
<deryl>
oh no, nm, the platform constraint takes care of the other, with resolution being only for the current. OK, I'm clear now
heroux has quit [Ping timeout: 252 seconds]
heroux has joined #bundler
coda23 has quit [Quit: Leaving]
patcon has joined #bundler
patcon has quit [Remote host closed the connection]
patcon has joined #bundler
patcon has quit [Ping timeout: 245 seconds]
opus has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JordanFaust_ has joined #bundler
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #bundler
JordanFaust_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deryl has quit [Quit: Leaving]
<whack>
indirect: re: lock containing every platform; after doing it with rvm, ruby, and jruby, I see only 'java' and 'ruby' listed under PLATFORMS; not rbx; I suppose the list includes only the least specific platform label?
<whack>
indirect: I wasn't aware the Gemfile.lock was safe across multiple rubies; it'd be nice to remove my hacks that monkeypatch the Gemfile.lock filename based on the ruby implementation
<whack>
indirect: for context, I was previously using gemspec, and my gemspec has conditionally-required gems depending on platform, which made Gemfile.lock get heavily mutated every time I switched rubies :\
<indirect>
whack: it's not safe across multiple rubies
<whack>
indirect: ahh, so I should keep my monkeypatch then?
<indirect>
the reason the platform is listed is because we started trying to make it safe across rubies
<indirect>
but it's not, yet
<indirect>
yeah
<indirect>
you should
<indirect>
sorry
<whack>
ah excellent, excited to see it working eventually, but for now monkeypatching it is super simple
retro|cz has quit [Ping timeout: 240 seconds]
samphippen has joined #bundler
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rjhunter has quit [Remote host closed the connection]
JordanFaust_ has joined #bundler
samphippen has joined #bundler
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JordanFaust_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cmar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patcon has joined #bundler
gazarsgo has quit [Ping timeout: 264 seconds]
robbyoconnor has joined #bundler
tundal45 has joined #bundler
cmar has joined #bundler
patcon has quit [Remote host closed the connection]
patcon has joined #bundler
patcon has quit [Ping timeout: 264 seconds]
cmar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has joined #bundler
gazarsgo has joined #bundler
patcon has joined #bundler
patcon has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 252 seconds]
retro|cz has joined #bundler
cmar has joined #bundler
patcon has joined #bundler
patcon_ has joined #bundler
patcon has quit [Ping timeout: 250 seconds]
patcon_ has quit [Remote host closed the connection]
patcon has joined #bundler
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patcon has quit [Ping timeout: 245 seconds]
tundal45 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lmarburger has quit [Ping timeout: 272 seconds]
mjc_ has joined #bundler
indirect has quit [Ping timeout: 252 seconds]
tundal45 has joined #bundler
tundal45 has quit [Client Quit]
gazarsgo has quit [Quit: gazarsgo]
cmar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lmarburger has joined #bundler
lmarburger is now known as lmarburge
indirect has joined #bundler
lmarburge is now known as lmarburger
cmar has joined #bundler
tbuehlmann has joined #bundler
<tbuehlmann>
so, I'm having a problem with my rails application and bundler. I'm on JRuby and behind an http proxy, installing gems via `gem install` perfectly works, just bundle install won't do. here's a gist: https://gist.github.com/tbuehlmann/32847713d055f0030ca8
g0bl1n has joined #bundler
g0bl1n has joined #bundler
g0bl1n has quit [Changing host]
gazarsgo has joined #bundler
robbyoconnor has joined #bundler
<mjc_>
tbuehlmann: does retrying a few times help?
<mjc_>
and what OS?
<mjc_>
if retrying helps it might be ssl issues possibly
<tbuehlmann>
it's a red hat 6. haven't tried retrying so far
<tbuehlmann>
will try, though running bundle install a few times doesn't sound too cool for deployment :\
<mjc_>
might have old ssl certs? not sure, my OSX box had intermittent SSL failures til I updated them
<mjc_>
if retrying works updating the ssl certs on the machine might fix it
<mjc_>
I'm just a user, though, perhaps people who work on bundler are more knowledgable about what's going on, don't take my word for it heh
<tbuehlmann>
I'm glad for any help :)
<tbuehlmann>
oh, I didn't mention a thing. the http-proxy user has a special character in it and the env var has the escaped version. it's a %40
<tbuehlmann>
retrying bundle install doesn't work btw, it's stuck at the rails gem
_whitelogger has joined #bundler
robbyoconnor has quit [Quit: Konversation terminated!]
<mjc_>
hmm
<mjc_>
not sure what to tell you then, sorry :( could also ask in #rubygems
<mjc_>
or eventually one of the bundler/rubygems guys will show up in here :)
tundal45 has joined #bundler
patcon has joined #bundler
patcon has quit [Ping timeout: 245 seconds]
patcon has joined #bundler
tundal45 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tundal45 has joined #bundler
cmar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cmar has joined #bundler
havenn has joined #bundler
havenn has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 250 seconds]
havenwood has joined #bundler
gazarsgo_ has joined #bundler
gazarsgo has quit [Ping timeout: 252 seconds]
gazarsgo has joined #bundler
<tbuehlmann>
hm, same problem using bundler 1.5.0.rc.1 :\
gazarsgo_ has quit [Ping timeout: 248 seconds]
patcon has quit [Ping timeout: 248 seconds]
<indirect>
tbuehlmann: bundler uses the same proxy settings as rubygems, afaik
havenwood has quit [Read error: Connection reset by peer]
<indirect>
afaik, the :ENV option is supposed to duplicate the handling done by rubygems and curl
<indirect>
(I am not the maintainer of net-http-persistent... but he is the maintainer of rubygems also, so I would assume that they work very similarly)
robbyoconnor has joined #bundler
robbyoconnor has quit [Changing host]
robbyoconnor has joined #bundler
<tbuehlmann>
hm, no idea where to look now
retro|cz has quit [Ping timeout: 250 seconds]
robbyoconnor has quit [Ping timeout: 260 seconds]
<tbuehlmann>
oh, interesting
<tbuehlmann>
using http://rubygems.org as source, I seem to get one gem at a time, then getting an http proxy auth error
gazarsgo has quit [Quit: gazarsgo]
<indirect>
oh weird
<indirect>
so it is maybe a proxy error?
<indirect>
or you are maybe able to get a single gem before rubygems redirects you to ssl and then things break?
<tbuehlmann>
hmmm
cmar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patcon has quit [Remote host closed the connection]
<yan_>
i'm trying to run 'bundle package' in a brand new gem dir, where i specified some depdencies in the gemspec just to collect a vendor/cache directory. however, when i run 'bundle package', i get the error: "Could not find gem 'tempgem (>= 0) ruby' in source at /home/user/tmp/tempgem", where tempgem is the temporary gem i created to collect dependencies
<yan_>
am i missing a step?
<indirect>
yan_: I don't understand what you mean by "temporary gem you created to collect dependencies"
<indirect>
bundler uses a Gemfile
<indirect>
not a temporary gem
havenwood has joined #bundler
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]