havenwood has quit [Remote host closed the connection]
havenwood has joined #rubygems
havenwood has quit [Ping timeout: 260 seconds]
dvu has joined #rubygems
luislavena has quit [Ping timeout: 250 seconds]
luislavena has joined #rubygems
<luislavena>
sorry, dropped from wifi
<drbrain>
np
<drbrain>
I find it much easier to delegate for problems I don't know the solution for
<drbrain>
eventually some third party gets fed up and proposes a solution that can be implemented
<luislavena>
drbrain: me, me :P
<luislavena>
drbrain: we know which version of RubyGems/Ruby is making the API request to rubygems.org, right? then we could redirect to the right gem index
<drbrain>
luislavena: probably best to talk to indirect about it, he has a plan
<luislavena>
drbrain: he is the man with the plan? ;-)
<luislavena>
drbrain: I've been low (and slow) in OSS all this year, so I might not be able to help, but I can share and open what we have been doing since last year.
<drbrain>
he's building a new index that will include the information in the index bundler uses
<drbrain>
awesome!
<luislavena>
oh, bundler... the one that changed the meaning of "platform" and took windows out of the equation... :P
<luislavena>
sorry, I have a long history of love/hate with this little fella :P
dvu has quit [Remote host closed the connection]
<drbrain>
I keep breaking bundler with changes to rubygems, but the bundler tests are all integration tests so I have no idea how to fix it ☹
<drbrain>
and they take between 15 and 20 minutes to run ☹
havenwood has joined #rubygems
<luislavena>
I've been pulling my last hairs to figure out a way, outside-in, to package multiple abi in the same gem.
<luislavena>
for example, you can't use ruby 1.9.3 and mkmf.rb of ruby 1.8.7
<luislavena>
or viceversa, so is kind of cross-compiling but "cross-versioning"
<drbrain>
yeah
dvu has joined #rubygems
<drbrain>
I'm unsure how nokogiri does it
<luislavena>
drbrain: it uses rake-compiler
<luislavena>
drbrain: but I found there is a lot of resistance to use rake-compiler and not lot of folks want to deal with cross-compilation
<drbrain>
but it ends up with nokogiri.so for 1.9 and 2.0
<drbrain>
I don't know about cross-compilation, but using rake-compiler takes away lots of complication
<drbrain>
so if somebody wants to add it later it won't be as much work
<luislavena>
drbrain: that is what rake-compiler does, you can ship 1.8, 1.9 and 2.0
<drbrain>
ah, ok
<luislavena>
drbrain: problem with cross-compilation is that requires some stuff in your env.
<drbrain>
yeah
<luislavena>
and if your extension has some dependencies, weird compilation settings and such, it just explodes in your face.
<luislavena>
we had issues with some gems that didn't play nice with rake-compiler (or didn't accept our patches/pull requests/suggestions) and we decided not to bother and do it from the outside.
<drbrain>
yeah
<drbrain>
"We're here to make your life easier! Everyone's life easier!"
<drbrain>
"… pfff"
dvu has quit [Remote host closed the connection]
tcopeland has quit [Quit: Leaving.]
<luislavena>
drbrain: if we can generate a gem for each ruby ABI, then I can avoid adding that to gem-compiler right now.
<drbrain>
the trouble is picking the right version to install
<drbrain>
without the index knowing the required_ruby_version they have to all be stuck in one gem ☹
<luislavena>
how this will affect the local "cache" folder? because having foo-1.0 for different required_ruby_version might not be possible.
<drbrain>
there's probably going to be a cascade of changes required to make this work
<luislavena>
drbrain: yeah, but I'm thinking that will make things much more easy for packaging the gem.
<drbrain>
oh, yes
<luislavena>
and I can forget about fat-binaries gems, which has been my curse for the past years.
<drbrain>
hehe
<luislavena>
drbrain: rake-compiler is going to celebrate it's 5th birthday :P
<drbrain>
nice!
<luislavena>
drbrain: yeah, but it's getting old and I'm getting old :P
<drbrain>
me too
<drbrain>
I've been maintaining rubygems for something like six years now
<luislavena>
we need young blood.
* luislavena
sounds like a vampire
<drbrain>
it might be easier once rubygems consumes bundler
<luislavena>
drbrain: that is part of 2.1, the dependency resolver, right?
<drbrain>
yes
<drbrain>
it's the root of everything
<drbrain>
well, root of consuming bundler
<luislavena>
but bundler will still exists to deal with git and local gems that are not really gems, right?
<drbrain>
the resolver evan wrote is flexible enough that git gems can be dropped in with a plugin
<drbrain>
I'm blocked on releasing 2.1 by JRuby and bundler, so I may write the plugin while I'm waiting
vertis has quit [Quit: Leaving.]
dvu has joined #rubygems
<luislavena>
drbrain: do you want me to setup rubygems in windows in rubyinstaller CI?
<luislavena>
drbrain: that way you might get some visibility about it
* luislavena
wish travis had windows support by now
<drbrain>
luislavena: it couldn't hurt!
<drbrain>
unfortunately either the windows tests fail in a way that's easy or impossible for me to fix
<drbrain>
there seems to be no middle ground ☹
<luislavena>
drbrain: going to take a look tonight and see if I can get it running.
<luislavena>
drbrain: hehe, the joys of "works on my machine" :P
<drbrain>
like nmake not showing any output for Gem.ruby -e "puts %q{stuff}"
<luislavena>
drbrain: not going to say anything bad about nmake... is just... nmake
<drbrain>
I asked naruse about the behavior but I think he didn't understand my question
<luislavena>
drbrain: language barriers sometimes are a bit issue.
<drbrain>
since I consider naruse an expert in this matter, I just applied his patch
dvu has quit [Remote host closed the connection]
dvu has joined #rubygems
<luislavena>
drbrain: I was watching this the other day: http://vimeo.com/70673037 I wish there were subs :P
<drbrain>
the second screen has the subs, but it seems too hard to read
grumpwork has quit [Remote host closed the connection]
luislavena has quit [Quit: Page closed]
dvu has quit [Remote host closed the connection]
jfoy has quit [Quit: jfoy]
dvu has joined #rubygems
marpaia has quit [Quit: WeeChat 0.4.1]
tcopeland has joined #rubygems
jfoy has joined #rubygems
jfoy has quit [Ping timeout: 256 seconds]
x1337807x has joined #rubygems
yerhot has joined #rubygems
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yerhot has quit [Remote host closed the connection]
dvu has quit [Remote host closed the connection]
jstr has joined #rubygems
mootpointer has joined #rubygems
x1337807x has joined #rubygems
vertis has joined #rubygems
havenwood has quit [Remote host closed the connection]