arthurnn has quit [Remote host closed the connection]
huoxito has joined #rubygems
mando has joined #rubygems
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
x1337807x has joined #rubygems
Sc0rp10n has joined #rubygems
workmad3 has quit [Ping timeout: 252 seconds]
arthurnn has joined #rubygems
jfoy has quit [Quit: jfoy]
havenwood has joined #rubygems
tbuehlmann has quit [Ping timeout: 245 seconds]
mattwynne has quit [Remote host closed the connection]
jfoy has joined #rubygems
mattwynne has joined #rubygems
mattwynne has quit [Ping timeout: 252 seconds]
tjbiddle has joined #rubygems
eighthbit has joined #rubygems
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ferr has quit []
x1337807x has joined #rubygems
TheComrade has joined #rubygems
_whitelogger has joined #rubygems
<TheComrade>
Pretty new to Ruby and gems… Question is: i have a test gem hosted on a private repo that has a dependency. I'm installing it using the --source param to specify the repo.. but it fails because it cannot find the dependency (thor). I've been googling but the terms are too generic and haven't been able to figure it out .. any pointers appreciated. :) thanks.
jfoy has joined #rubygems
jfoy has quit [Client Quit]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjbiddle has quit [Ping timeout: 240 seconds]
dvu has quit [Ping timeout: 241 seconds]
tjbiddle has joined #rubygems
mando has joined #rubygems
x1337807x has joined #rubygems
x1337807x has quit [Client Quit]
<imperator>
TheComrade, the dependency is not stored locally i take it?
<imperator>
in the private repo, i mean
<drbrain>
TheComrade: ↑
<TheComrade>
Correct. Is that a requirement? Like, I can clearly do 'gem install thor' without a problem.. but if I gem install --source http://myrepo my_gem it does not know how to get thor, it appears.
<drbrain>
rubygems is supposed to work cross-repository
<TheComrade>
drbrain: Seems that confirms the problem
<drbrain>
TheComrade: in newer rubygems --source is additive, in older rubygems (like 1.3.7) you must list all the sources you want to use
<drbrain>
you can set this in ~/.gemrc if you like
<drbrain>
gem help env should show you how
<TheComrade>
drbrain: Cool, thanks. I think it's looking like I need to get a more recent version of ruby on here, rbenv-style, for this and other reasons.
<drbrain>
TheComrade: there are two minor security issues in 1.3.7
arthurnn has quit [Remote host closed the connection]
<gen0cide_>
Disclosure: I'm _very_ novice on how gems/rubygems works, but I wonder if there isn't something caching
<gen0cide_>
(the people whom it works for are getting served cached version)
<gen0cide_>
just a thought
<drbrain>
rubygems always makes a HEAD request to latest_specs.4.8.gz or specs.4.8.gz
arthurnn has joined #rubygems
<drbrain>
or do you mean server-side caching?
<gen0cide_>
server-side
<gen0cide_>
for example if they're using a CDN like CloudFlare
<gen0cide_>
how often does latest_specs.4.8.gz change?
<drbrain>
every time a gem is pushed (every few minutes)
<drbrain>
evan could give a more exact value
<drbrain>
gen0cide_: also, where are you geographically?
<gen0cide_>
West coast, SF Bay Area
<drbrain>
so you should be using similar routes to most users
<drbrain>
what OS?
<gen0cide_>
OS X
<gen0cide_>
using RVM
<drbrain>
mpapis: does RVM install SSL certificates with its openssl?
<gen0cide_>
rvm 1.22.2 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/], gem version = 2.0.6, ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]
<drbrain>
gen0cide_: I'm wondering if the certs have changed, but most people aren't noticing because they have the necessary certificate installed through other means
<gen0cide_>
does ruby gems use a pinned ssl cert?
<gen0cide_>
because my browser validates
<gen0cide_>
openssl validates via cmdline
<gen0cide_>
and curl -v validates as well
<gen0cide_>
for both rubygems.org and s3.amazonaws.com
<gen0cide_>
ruby -ropenssl -e 'puts $".grep /openssl.bundle/' yields no output
<drbrain>
try removing ".bundle"
<evan>
I have to think that amazon changed their SSL cert
<evan>
and thats why people are suddenly having problems
<drbrain>
evan: me too
<drbrain>
evan: on the plus side, I think that most people have been installing a certs.pem with a cert rubygems is missing
<evan>
nice
<gen0cide_>
@drbrain: without the .bundle gives openssl.so and bin.rb cipher.rb, config.rb, digest,rb. x509.rb, buffering.rb, ssl.rb, openssl.rb all inside the rvm ruby 2.0.0 lib dir
<drbrain>
gen0cide_: yeah, and otool -L with the .so path should show which openssl you've linked
<gen0cide_>
there actually is no path to openssl.so
<mpapis>
and it can not be installed with --default flag
<mpapis>
at least from what I read in code
<drbrain>
you mean `gem install --default`?
<gen0cide_>
mpapis: issue filed, thanks for the help (Y)
<mpapis>
yep
<drbrain>
mpapis: `gem install --default` was added by headius for use at ruby installation time
<mpapis>
most notable problem - it does not install files and build extensions
<mpapis>
ah so we could extend it?
<drbrain>
yes, using --default implies that you have mixed up the files in the gems into your default $LOAD_PATH (like CRuby)
<drbrain>
and that you want future gems to be activated on top of the stdlib sources
<drbrain>
so I think it is inappropriate to use rubysl gems with --default
<mpapis>
ok what if you would like to ask RG to install everytig to LOAD_PATH?
<drbrain>
a) those rubysl gems are not official
<drbrain>
b) they don't seem to be designed to be installed all in one place
<drbrain>
hrm
<mpapis>
like having --default-spec-only and --default-everything
<drbrain>
it feels like a regression
<drbrain>
"default" gems are supposed to be a transition step towards not having everything in $LOAD_PATH
<mpapis>
hmm, I thought that's great feature because they work without adding to Gemfile
<mpapis>
and rubinius now requires adding rubysl to Gemfile
workmad3 has joined #rubygems
<mpapis>
so rubygems is part of rubinus and depends on optparse which is a gem
<mpapis>
this builds array of problems for loading rubygems if you uninstalled something
marpaia has left #rubygems ["WeeChat 0.4.1"]
<drbrain>
yes
<mpapis>
if this gems were installed in LOAD_PATH it would have worked just fine because you could only add newer version of the gem but not uninstall original one
<drbrain>
since optparse is only needed by `gem` it should be OK, so long as you don't `gem uninstall optparse`
<drbrain>
yes
<mpapis>
it is like chicken and egg problem, using --default solves it
<drbrain>
I think it is better to work with CRuby/JRuby/Rubinius to come to an agreement on how to divest the standard library instead of adding this feature to rubygems
<drbrain>
AFAIK, only one ruby implementation could use it, but already has a separate plan?
<mpapis>
jruby uses it already, and rubinius calls it a hack and does not want to use it
<mpapis>
I would use --default myself for rubygems-bundler / executable-hooks
<drbrain>
yes, but, I am already working to replace rubygems-bundler / executable-hooks for you :D
<mpapis>
that would be great, but if it is not going to be merged in 2.2 I would like to merge #590
<mpapis>
most important - as long developers will be using bundler it is important and eliminates hacks like executable-hooks gem is
<mpapis>
so even you will be able to do all the things bundler does from rubygems it's still important as long users still use bundler ... which they tend to do for now
<drbrain>
yeah
<mpapis>
I think the biggest problem for users is still speed, bundler works faster
<mpapis>
like the incremental index I heard about - that would be nice thing - should speed things?
<mpapis>
so any chance to get #590 merged for 2.2?
<drbrain>
yes, I think indirect will be presenting it at RubyConf
<drbrain>
yes, there is a chance, but give me some time first :D
<mpapis>
help me deprecate the executable-hooks gem ;)
<drbrain>
of course!
<mpapis>
sure, are there any deadlines for 2.2 release so I remember to remember you about it ;)
<drbrain>
I think soon after feature freeze for Ruby 2.1
<drbrain>
I can probably squeeze some things in after the feature freeze
<drbrain>
… especially because I have it listed in the milestone :D
<mpapis>
great
TheComrade has joined #rubygems
jstr has joined #rubygems
<mpapis>
drbrain, so maybee last question, are you also attending #ruby-implementers meetings? is there any chance to discuss common plan for gem install --default and rubysl ?
<drbrain>
I do attend
<drbrain>
someone would need to nominate it for discussion
<drbrain>
(I serve mostly as moderator)
<mpapis>
can anybody do that? or do I need to find someone to do that?
closer has quit [Ping timeout: 256 seconds]
<mpapis>
maybe headius as he added the --default option?
<drbrain>
I think gemifying stdlib is too late for 2.1, but I think anyone can do that
Sc0rp10n has joined #rubygems
<drbrain>
I would enlist the help of nahi
<mpapis>
I think it should be started in discussions as some steps are taken already and leaving it for later might create bigger differences that will be harder to eliminate
closer has joined #rubygems
TheComrade has quit [Quit: TheComrade]
workmad3 has quit [Ping timeout: 264 seconds]
arthurnn has quit [Remote host closed the connection]
jstr has quit [Quit: Leaving.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #rubygems
mando has quit [Remote host closed the connection]
ndrst has quit [Quit: WeeChat 0.4.0]
TheComrade has joined #rubygems
arthurnn has joined #rubygems
eighthbit has quit [Quit: Peace.]
arthurnn has quit [Read error: Connection reset by peer]
arthurnn has joined #rubygems
stevenharman has quit [Quit: Leaving...]
arthurnn has quit [Remote host closed the connection]
mando has joined #rubygems
mjc__ is now known as mjc_
mando has quit [Remote host closed the connection]
jonahR has joined #rubygems
jonahR has quit [Client Quit]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]