drbrain changed the topic of #rubygems to: RubyGems 2.0.5: http://bit.ly/rubygems-2-0-5 – Latest status: http://twitter.com/rubygems_status and http://status.rubygems.org
fromonesrc_ has joined #rubygems
fromonesrc__ has joined #rubygems
<mpapis> so the gem does not have to be loaded
fromonesrc has quit [Ping timeout: 264 seconds]
<mpapis> drbrain, I just remembered why the load path is checked - for bundler
<drbrain> ah, yes, you are right
<drbrain> mpapis: the $LOAD_PATH check is fine
<mpapis> in case when the set of available gems is limited by bundler and you load the library already somehow
<drbrain> I only object to the regexp
<mpapis> I guess I cut off the lib/ to be sure
<mpapis> you can not check spec for the path as not always it will be available
fromonesrc_ has quit [Ping timeout: 245 seconds]
<mpapis> drbrain, actually I would prefer if this filtering was done when loading plugins not inside of plugin
<drbrain> yes, it probably should be change in a future version
<mpapis> this was only helper I developed to overcome loading of multiple versions of the same plugin
marpaia1 has quit [Ping timeout: 256 seconds]
fromonesrc__ has quit [Ping timeout: 264 seconds]
<drbrain> what would it group by?
<drbrain> I don't think the change should be made for rubygems 2.x, it would need to be in 3.0
fromonesrc has joined #rubygems
<mpapis> ok so back to the helper, maybe we could add lib='lib' param?
<mpapis> so if the library uses different path it can set it
<drbrain> but RubyGems already knows what the path should be
<mpapis> but if bundler is in context this information is lost
<mpapis> assuming it's general purpose gem not in Gemfile
<drbrain> hrm
ckrailo has joined #rubygems
<drbrain> is Gem.path a reliable indicator with bundler?
<mpapis> no
fromonesrc_ has joined #rubygems
<mpapis> bundler can restrict list of gems without changing paths
<drbrain> %r%\A#{Regexp.union Gem.path}/#{name}-([^/]+)%
<drbrain> (or something like that)
fromonesrc has quit [Ping timeout: 245 seconds]
<mpapis> I would need more test for that, but that could be an option
<mpapis> I got also other idea, from file loaded here https://github.com/mpapis/rubygems/blob/bbbd0a8c5b417199f71ab23989ab0d121d8826b5/lib/rubygems.rb#L959 - is there any chance to access the list of loaded plugins?
x1337807x has joined #rubygems
tenderlo_ has quit [Ping timeout: 268 seconds]
mbull9 has quit [Remote host closed the connection]
<drbrain> rubygems doesn't seem to keep a list
ckrailo has quit [Quit: Computer has gone to sleep.]
ckrailo has joined #rubygems
fromonesrc_ has quit [Ping timeout: 268 seconds]
<mpapis> this is hard to work with, you can not relay on specification to provide the version and gem / file does not have to be in LOADPATH
yerhot has joined #rubygems
DanKnox is now known as DanKnox_away
tenderlove has joined #rubygems
yerhot has quit [Ping timeout: 268 seconds]
jfoy has quit [Quit: jfoy]
x1337807x has quit [Ping timeout: 264 seconds]
hakunin has quit [Ping timeout: 264 seconds]
<mpapis> drbrain, https://github.com/rubygems/rubygems/pull/591#issuecomment-21082138 is this in right place? thought that shouldbe for 590
<drbrain> I put the comment in the right place, I think it doesn't need to be in an extra file
tbuehlmann has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]
mbull9 has joined #rubygems
marpaia1 has joined #rubygems
yerhot has joined #rubygems
marpaia1 has quit [Ping timeout: 240 seconds]
marpaia1 has joined #rubygems
dvu has joined #rubygems
marpaia1 has quit [Ping timeout: 256 seconds]
<mpapis> drbrain / evan pushed changes to 591, drbrain should I really move the code to rubygems.rb?
dvu has quit [Ping timeout: 268 seconds]
DanKnox_away is now known as DanKnox
dvu has joined #rubygems
DanKnox has quit [Read error: Connection reset by peer]
DanKnox_away has joined #rubygems
DanKnox_away is now known as DanKnox
<drbrain> mpapis: I can move the code to rubygems.rb after it lands
<drbrain> mpapis: oh, the performance comment I posted on the wrong pull request
<drbrain> I deleted it and put it in the right spot
lsegal` has joined #rubygems
DanKnox is now known as DanKnox_away
DanKnox_away is now known as DanKnox
rickhull has joined #rubygems
ckrailo has quit [Quit: Computer has gone to sleep.]
lsegal` has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
marpaia1 has joined #rubygems
whit537 has quit [Read error: Connection reset by peer]
whit537 has joined #rubygems
cowboyd has joined #rubygems
marpaia1 has quit [Ping timeout: 245 seconds]
hakunin has joined #rubygems
huoxito has quit [Quit: Leaving]
lsegal` has joined #rubygems
whit537_ has joined #rubygems
whit537 has quit [Read error: Connection reset by peer]
whit537_ is now known as whit537
lsegal has quit []
DanKnox is now known as DanKnox_away
marpaia1 has joined #rubygems
fromonesrc has joined #rubygems
fromonesrc_ has joined #rubygems
fromonesrc has quit [Ping timeout: 264 seconds]
jonahR has joined #rubygems
fromonesrc_ has quit [Ping timeout: 245 seconds]
yerhot has quit [Remote host closed the connection]
whit537 has quit [Quit: whit537]
yerhot has joined #rubygems
lsegal` has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
lsegal has joined #rubygems
cowboyd has quit [Remote host closed the connection]
cowboyd has joined #rubygems
dvu has quit [Remote host closed the connection]
yerhot has quit [Remote host closed the connection]
marpaia1 has quit [Quit: WeeChat 0.4.1]
cowboyd has quit [Remote host closed the connection]
dvu has joined #rubygems
dvu has quit [Ping timeout: 240 seconds]
stevenharman has quit [Read error: Connection reset by peer]
stevenharman has joined #rubygems
jstr has quit [Quit: Computer has gone to sleep.]
mbull9 has quit [Remote host closed the connection]
jstr has joined #rubygems
workmad3 has joined #rubygems
jonahR has quit [Quit: jonahR]
workmad3 has quit [Ping timeout: 245 seconds]
evan_ has joined #rubygems
niska` has joined #rubygems
dvu has joined #rubygems
niska has quit [*.net *.split]
evan has quit [*.net *.split]
soraher has quit [*.net *.split]
dvu has quit [Ping timeout: 245 seconds]
soraher has joined #rubygems
Tjark has joined #rubygems
Tjark has quit [Quit: ZZZzzz…]
Tjark has joined #rubygems
dvu has joined #rubygems
dvu has quit [Ping timeout: 240 seconds]
tbuehlmann has joined #rubygems
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
mose_ is now known as mose
kallistec has quit [Quit: ZNC - http://znc.sourceforge.net]
qrush__ has quit [Ping timeout: 276 seconds]
kallistec has joined #rubygems
dvu has joined #rubygems
dvu has quit [Ping timeout: 248 seconds]
dvu has joined #rubygems
Tjark has quit [Quit: ZZZzzz…]
whit537 has joined #rubygems
dvu has quit [Ping timeout: 240 seconds]
rickhull has quit [Quit: Leaving.]
qrush__ has joined #rubygems
dvu has joined #rubygems
dvu has quit [Ping timeout: 246 seconds]
jstr has quit [Quit: Leaving.]
tcopeland has quit [Quit: Leaving.]
Tjark has joined #rubygems
dvu has joined #rubygems
fromonesrc has joined #rubygems
dvu has quit [Ping timeout: 256 seconds]
fromonesrc has quit [Ping timeout: 240 seconds]
bbrowning has joined #rubygems
imperator has quit [Read error: Connection reset by peer]
stevenharman has quit [Quit: Leaving...]
stevenharman has joined #rubygems
stevenharman has quit [Ping timeout: 248 seconds]
yerhot has joined #rubygems
imperator has joined #rubygems
cowboyd has joined #rubygems
tcopeland has joined #rubygems
fromonesrc has joined #rubygems
dvu has joined #rubygems
stevenharman has joined #rubygems
stevenharman has quit [Client Quit]
dvu_ has joined #rubygems
stevenharman has joined #rubygems
dvu has quit [Ping timeout: 264 seconds]
ereslibre_laptop has quit [Ping timeout: 246 seconds]
eugenejen has joined #rubygems
ereslibre has joined #rubygems
eugenejen has quit [Quit: eugenejen]
marpaia has joined #rubygems
cowboyd has quit [Remote host closed the connection]
whit537 has quit [Ping timeout: 256 seconds]
yerhot has quit [Read error: Connection reset by peer]
yerhot has joined #rubygems
cowboyd has joined #rubygems
whit537 has joined #rubygems
Tjark has quit [Quit: ZZZzzz…]
Tjark has joined #rubygems
ckrailo has joined #rubygems
imperator has quit [Quit: Leaving]
zzak has quit [Quit: leaving]
mbull9 has joined #rubygems
jfoy has joined #rubygems
Tjark has quit [Ping timeout: 264 seconds]
dvu_ has quit [Remote host closed the connection]
ereslibre_laptop has joined #rubygems
ereslibre has quit [Read error: Connection reset by peer]
DanKnox_away is now known as DanKnox
dvu has joined #rubygems
evan_ is now known as evan
fromonesrc has quit [Ping timeout: 240 seconds]
x1337807x has joined #rubygems
DanKnox is now known as DanKnox_away
fromonesrc has joined #rubygems
yerhot has quit [Remote host closed the connection]
DanKnox_away is now known as DanKnox
yerhot has joined #rubygems
stevenharman has quit [Quit: Leaving...]
stevenharman has joined #rubygems
stevenharman has quit [Ping timeout: 252 seconds]
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
webdestroya`work is now known as webdestroya
DanKnox is now known as DanKnox_away
x1337807x has joined #rubygems
stevenharman has joined #rubygems
DanKnox_away is now known as DanKnox
lsegal has joined #rubygems
mbull9 has quit [Remote host closed the connection]
whit537_ has joined #rubygems
whit537 has quit [Ping timeout: 254 seconds]
whit537_ is now known as whit537
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
x1337807x has joined #rubygems
x1337807x has quit [Client Quit]
x1337807x has joined #rubygems
rickhull has joined #rubygems
cowboyd has quit [Remote host closed the connection]
icco has left #rubygems ["Textual IRC Client: www.textualapp.com"]
fromonesrc has quit [Ping timeout: 276 seconds]
tenderlove has joined #rubygems
nz has joined #rubygems
fromonesrc has joined #rubygems
fromonesrc has quit [Ping timeout: 264 seconds]
fromonesrc has joined #rubygems
cowboyd has joined #rubygems
huoxito has joined #rubygems
Tjark has joined #rubygems
aeden has joined #rubygems
workmad3 has joined #rubygems
stevenharman has quit [Quit: Leaving...]
tenderlove has quit [Remote host closed the connection]
whit537_ has joined #rubygems
whit537 has quit [Read error: Operation timed out]
whit537_ is now known as whit537
workmad3 has quit [Ping timeout: 264 seconds]
Tjark has quit [Quit: ZZZzzz…]
stevenharman has joined #rubygems
stevenharman has quit [Client Quit]
stevenharman has joined #rubygems
stevenharman has quit [Read error: Connection reset by peer]
stevenharman has joined #rubygems
<evan> we've just done some DNS changes so if anyone sees/hears/intuits anything weird, please let me know!
whit537_ has joined #rubygems
whit537 has quit [Ping timeout: 240 seconds]
whit537_ is now known as whit537
samkottler has quit [Read error: Operation timed out]
danmcclain has quit [Ping timeout: 245 seconds]
shtirlic has quit [Ping timeout: 264 seconds]
erichmenge has quit [Ping timeout: 240 seconds]
sindork has quit [Ping timeout: 264 seconds]
Gnubie has quit [Ping timeout: 264 seconds]
danmcclain has joined #rubygems
erichmenge has joined #rubygems
sindork has joined #rubygems
Gnubie has joined #rubygems
samkottler has joined #rubygems
shtirlic has joined #rubygems
Tjark has joined #rubygems
hakunin has quit [Remote host closed the connection]
hakunin has joined #rubygems
bbrowning has quit [Read error: Connection reset by peer]
bbrowning has joined #rubygems
Tjark has quit [Quit: ZZZzzz…]
whit537 has quit [Ping timeout: 248 seconds]
DanKnox is now known as DanKnox_away
jonahR has joined #rubygems
whit537 has joined #rubygems
DanKnox_away is now known as DanKnox
jonahR has quit [Quit: jonahR]
jonahR has joined #rubygems
workmad3 has joined #rubygems
tcopeland has quit [Ping timeout: 268 seconds]
newUser1234 has joined #rubygems
jfoy has quit [Quit: jfoy]
Tjark has joined #rubygems
tenderlove has joined #rubygems
marpaia has quit [Quit: WeeChat 0.4.1]
stevenharman has quit [Quit: Leaving...]
stevenharman has joined #rubygems
jonahR has joined #rubygems
cowboyd has quit [Remote host closed the connection]
tbuehlmann has quit [Remote host closed the connection]
jfoy has joined #rubygems
yerhot has quit [Remote host closed the connection]
jfoy has quit [Quit: jfoy]
jonahR has quit [Quit: jonahR]
Tjark has quit [Quit: ZZZzzz…]
whit537 has quit [Read error: Connection reset by peer]
jfoy has joined #rubygems
fromonesrc has quit [Ping timeout: 240 seconds]
tcopeland has joined #rubygems
workmad3 has quit [Ping timeout: 260 seconds]
stevenharman has quit [Ping timeout: 248 seconds]
lsegal` has joined #rubygems
RickHull1 has joined #rubygems
fromonesrc has joined #rubygems
kallistec_rulez has joined #rubygems
jfoy has quit [Quit: jfoy]
x1337807x has quit [Ping timeout: 260 seconds]
lsegal has quit [Ping timeout: 240 seconds]
rickhull has quit [Ping timeout: 240 seconds]
kallistec has quit [Ping timeout: 240 seconds]
foohey has quit [Ping timeout: 240 seconds]
kallistec_rulez is now known as kallistec
jaimef has quit [Ping timeout: 240 seconds]
foohey has joined #rubygems
foohey has quit [Changing host]
foohey has joined #rubygems
jaimef has joined #rubygems
whit537 has joined #rubygems
fromonesrc has quit [Ping timeout: 240 seconds]
dfgg has quit [Ping timeout: 240 seconds]
newUser1234 has quit [Remote host closed the connection]
<lmarburger> evan: can you double check this PR? it's a bugfix for bundler-api. i'd love to get it deployed soon so i'm willing to do any necessary legwork. if it'll take time, i can work around it on bundler-api for now. https://github.com/rubygems/rubygems.org/pull/580
dfgg has joined #rubygems
fromonesrc_ has joined #rubygems
yerhot has joined #rubygems
havenwood has joined #rubygems
aeden has quit [Quit: aeden]
<havenwood> @drbrain I'm worried my tests are insufficient for `gem uninstall --all`. I'll study up on RubyGem tests.
<drbrain> havenwood: it's ok!
<drbrain> havenwood: I'm going to remove the remove_executables check
<drbrain> I'm unsure how the executables would work if they can't call anything
<havenwood> nice
<havenwood> good point!
<drbrain> … and I might need to add something to remove executables in /usr/local/bin
<havenwood> drbrain: I accidentally updated ENV['GEM_HOME'] to ENV[Gem.dir] instead of Gem.dir: https://github.com/rubygems/rubygems/pull/600
<drbrain> havenwood: I saw and corrected it :)
<havenwood> w00t
<drbrain> … haven't pushed it though
<havenwood> had a pull request to fix it, but just closed it since you've already addressed
fromonesrc_ has quit [Ping timeout: 276 seconds]
<drbrain> I followed up with four commits:
<drbrain> use options[:install_dir] so you can uninstall from other directories (I forgot about this when I mentioned Gem.dir)
<drbrain> I extracted --all and a list of gems from the #execute method to make things easier to read
<drbrain> I disallowed combining --all with gem names (since that can lead to user confusion)
<drbrain> and I removed asking about executables
<drbrain> havenwood: that reminded me of two more things you might wish to tackle:
<drbrain> a) `gem install` puts executables in Gem.bindir so those will need to be cleaned up too. It may be easier to use Gem::Uninstaller than FileUtils to fix that bug
<drbrain> b) default gems should not be uninstalled (they exist as specs in specifications/default)
<drbrain> using Gem::Uninstaller may fix that too
<drbrain> and, the tests in the commands don't need to be very fancy
<drbrain> the commands should just be glue for other parts of the API without much special stuff
<drbrain> (adding features to RubyGems is super hard)
<drbrain> (I usually forget half the details the first time)
<havenwood> cool! i'll research Gem::Uninstaller route, that makes total sense
tenderlove has quit [Remote host closed the connection]
ckrailo has quit [Quit: Computer has gone to sleep.]