drbrain changed the topic of #rubygems to: RubyGems 2.1.3: http://bit.ly/rubygems-2-1-3 CVE-2013-4287: http://bit-ly/CVE-2013-4287 - Latest status: http://twitter.com/rubygems_status and http://status.rubygems.org
kallan has joined #rubygems
<kallan> hello! I am wondering if anyone can help me with a rubygems dependency resolution problem? the gist of my problem is that I have two gem sources - rubygems and an internally hosted gem server. when I go to install my internally hosted gem, it cannot resolve its dependncies. ERROR: While executing gem ... (Gem::DependencyError)
<kallan> Unable to resolve dependencies: mygem requires celluloid (~> 0.14.0); ridley requires celluloid (~> 0.14.0), celluloid-io (~> 0.14.0); dcell requires celluloid (>= 0.13.0); reel requires celluloid (>= 0.15.1), celluloid-io (>= 0.15.0); celluloid-zmq requires celluloid (>= 0.13.0)
<kallan> I guess I would expect to be able to resolve my gem's dependencies because I know celluloid and the like are available in the rubygems.org source I also have. What am I doing wrong?
havenwood has joined #rubygems
eugenejen has quit [Quit: eugenejen]
dml_ has quit [Quit: Computer has gone to sleep.]
imperator has quit [Quit: Valete!]
kallan has quit [Quit: Page closed]
DanKnox is now known as DanKnox_away
TheMoonMaster has quit [Excess Flood]
TheMoonMaster has joined #rubygems
lsegal has joined #rubygems
marpaia has left #rubygems ["WeeChat 0.4.1"]
huoxito has joined #rubygems
jfoy has joined #rubygems
jfoy has quit [Client Quit]
tjbiddle has quit [Quit: tjbiddle]
DanKnox_away is now known as DanKnox
DanKnox is now known as DanKnox_away
icco has joined #rubygems
morphis has quit [Ping timeout: 248 seconds]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
morphis has quit [Excess Flood]
morphis has joined #rubygems
graphex_ has joined #rubygems
antichatter has joined #rubygems
graphex has quit [Read error: Connection reset by peer]
antichatter has quit [Client Quit]
jaimef has quit [Ping timeout: 240 seconds]
jaimef has joined #rubygems
mootpointer has joined #rubygems
mootpointer has quit [Client Quit]
mootpointer has joined #rubygems
icco has quit [Ping timeout: 260 seconds]
icco has joined #rubygems
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubygems
icco has quit [Ping timeout: 256 seconds]
icco has joined #rubygems
havenwood has quit [Ping timeout: 260 seconds]
mootpointer has quit [Ping timeout: 264 seconds]
jonahR has joined #rubygems
jcaudle has joined #rubygems
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubygems
icco has quit [Ping timeout: 240 seconds]
jcaudle has quit [Quit: jcaudle]
DanKnox_away is now known as DanKnox
icco has joined #rubygems
DanKnox is now known as DanKnox_away
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #rubygems
DanKnox_away is now known as DanKnox
DanKnox is now known as DanKnox_away
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #rubygems
graphex has joined #rubygems
graphex_ has quit [Ping timeout: 248 seconds]
indirect_ has joined #rubygems
tcopeland has quit [Quit: Leaving.]
indirect- has quit [Ping timeout: 264 seconds]
antichatter has joined #rubygems
akahn has quit [Ping timeout: 240 seconds]
indirect_ has quit [Ping timeout: 275 seconds]
huoxito has quit [Quit: Leaving]
antichatter has quit [Client Quit]
indirect_ has joined #rubygems
tbuehlmann has joined #rubygems
akahn has joined #rubygems
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #rubygems
graphex_ has joined #rubygems
graphex has quit [Read error: Connection reset by peer]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
workmad3 has joined #rubygems
sstarr has left #rubygems [#rubygems]
workmad3 has quit [Ping timeout: 245 seconds]
wizonesolutions has quit [Ping timeout: 260 seconds]
wizonesolutions has joined #rubygems
jonahR has quit [Quit: jonahR]
wycats has quit [Ping timeout: 264 seconds]
karlfreeman has quit [Ping timeout: 248 seconds]
wycats has joined #rubygems
fidothe has quit [Ping timeout: 248 seconds]
fidothe has joined #rubygems
sj26 has quit [Ping timeout: 260 seconds]
sj26 has joined #rubygems
workmad3 has joined #rubygems
<wizonesolutions> I've published https://rubygems.org/gems/vagrant-parallels, but when I try to `vagrant plugin install` (this is the same as `gem install` for all intents and purposes, other than using Vagrant's embedded Ruby) it says that it can't find the plugin
<wizonesolutions> I tried to `gem install` for comparison and I get the same message, so it seems we've done something wrong while gem pushing or something
<wizonesolutions> do the version numbers affect its behavor or something?
<wizonesolutions> ah, I think I figured it out
<wizonesolutions> we have require_path as an array but it looks like it expects a string
<wizonesolutions> require_paths with an s takes an array
karlfreeman has joined #rubygems
nomadic has quit [Ping timeout: 256 seconds]
tcopeland has joined #rubygems
nomadic has joined #rubygems
AlHafoudh has joined #rubygems
AlHafoudh has quit [Max SendQ exceeded]
almostwhitehat has joined #rubygems
indirect- has joined #rubygems
indirect_ has quit [Ping timeout: 264 seconds]
almostwhitehat has quit [Ping timeout: 240 seconds]
tbuehlmann has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
jaimef has joined #rubygems
huoxito has joined #rubygems
havenwood has joined #rubygems
hakunin has quit [Ping timeout: 245 seconds]
almostwhitehat has joined #rubygems
qrush has quit [Ping timeout: 264 seconds]
karlfreeman has quit [Ping timeout: 240 seconds]
Guest85414__ has quit [Ping timeout: 240 seconds]
capen has quit [Ping timeout: 256 seconds]
johnmwilliams___ has quit [Ping timeout: 264 seconds]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubygems
lsegal has joined #rubygems
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #rubygems
hakunin has joined #rubygems
almostwhitehat has quit [Ping timeout: 260 seconds]
DanKnox_away is now known as DanKnox
almostwhitehat has joined #rubygems
DanKnox is now known as DanKnox_away
almostwhitehat has quit []
karlfreeman has joined #rubygems
qrush has joined #rubygems
capen has joined #rubygems
johnmwilliams___ has joined #rubygems
Guest85414__ has joined #rubygems
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubygems
havenwood has quit [Ping timeout: 252 seconds]
jaimef has quit [Excess Flood]
jaimef has joined #rubygems
jonahR has joined #rubygems
shaiguitar has joined #rubygems
<shaiguitar> hello rubygems...I was takling to dr brain earlier and thinking aboug gems and native library metadata..any reason not to have that as a metadata section for gem authors to use? it would be handy to know if a gem has dependencies on given native libraries.
<shaiguitar> so like
<shaiguitar> spec.native_libs = ["libxml2", "libc"]
<shaiguitar> etc
<drbrain> hi
antichatter has joined #rubygems
<mpapis> shaiguitar, drbrain, hi - I'm interested in that discussion too ;)
<drbrain> shaiguitar: carrying over from #jruby, FFI and DL have methods for loading a shared library, so grep should find them (without evaluating the source)
<drbrain> FFI and DL don't generate any code, they're just wrappers for C calls
<drbrain> shaiguitar: also, there's a requirements field in gems which was intended for this purpose
antichatter has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
DanKnox_away is now known as DanKnox
<shaiguitar> mpapis: drbrain: sorry was afk. on train so might be in/out due to connectivity. anyway to carry on, so requirements should be native stuff it compiles to? never knew what that was. I might look at some random gems to see if anyone is even using it.
<drbrain> shaiguitar: it's currently unused (in general, some gems have stuff in there)
<drbrain> so you could "claim" it by using it in a plugin in a useful fashion
<shaiguitar> see: spec.requirements << 'libmagick, v6.0'
<shaiguitar> that spec.requirements << 'A good graphics card'
<shaiguitar> that isn't a real thing
<shaiguitar> string
<drbrain> yeah
<shaiguitar> because of portability I get it
<drbrain> "A good graphics card" is not a good example
<drbrain> I should probably fix that documentation
<shaiguitar> :)
huoxito has quit [Read error: Operation timed out]
<shaiguitar> drbrain: so FFI and DL don't generate code, they wrap around stuff and whenever ruby calls those methods, it uses the underlying dlopen() (or whatever OS thing)?
<shaiguitar> if they invoke the syscall whenever (and not on init, or some specified time), it's basically resorting to haxes to find out what they actually require
<shaiguitar> in advance, that is
<shaiguitar> with extconf it's the same haxish appraoch (looking for have_library or similar) which I guess I'm going to resort to.
<shaiguitar> I just wish there was some way to have the gem system know that a given gem is going to require native support for library X
<drbrain> the way rubygems would know is for the gem author to put it in the gemspec
<drbrain> otherwise, hax
<shaiguitar> yup. was hoping otherwise, but I guess no one is actually using #requirements, so ... EHAXWASNEEDEDSORRY
<drbrain> yeah, nobody knows about it
<mpapis> I plan to use it ;) but that's more around rvm2 so far away
<drbrain> mpapis: I have everything but build-extension-on-activate done for shared gem repositories
<drbrain> committed locally, but not pushed
<mpapis> drbrain, this sounds awesome!
<drbrain> I'm slightly worried about compatibility as where the compiled files lives changes
<mpapis> drbrain, it should not be hard to do the build-extension-on-activate as you already hooked into require to load gems - add more ifs in there ;)
<drbrain> yeah, I have to work on my railsclub.ru presentation
<mpapis> no problemos, let me know when I can help (also with testing)
<drbrain> I haven't implemented the static/shared stuff yet
<drbrain> I need to compile a static ruby first
<shaiguitar> what's the build-extension-on-activate stuff?
<drbrain> shaiguitar: say you're an rvm user
<drbrain> if you install nokogiri (which uses a C extension) you have to install it separately for each ruby version you use
<drbrain> shaiguitar: mpapis requested rubygems change so that you can share one set of installed gems across multiple ruby versions
<drbrain> so rubygems would need to build the extension for each installed version
<drbrain> to make it seamless, this needs to happen when you activate the gem
<shaiguitar> ah
Boohbah has quit [Remote host closed the connection]
Boohbah has joined #rubygems
<shaiguitar> what is the "activate" concept, is that when you use 'require' or something?
<drbrain> Kernel#require says "look in $LOAD_PATH for this file"
<drbrain> rubygems hooks into Kernel#require to say "if this file is not in $LOAD_PATH, look it up in the installed gems"
<drbrain> then "if we found an installed gem 'activate' it by adding it to $LOAD_PATH"
<drbrain> in rubygems, "activate" means "add to $LOAD_PATH, along with any dependencies"
<shaiguitar> gotcha
DanKnox is now known as DanKnox_away
Boohbah has quit [Remote host closed the connection]
Boohbah has joined #rubygems
<mpapis> drbrain, I think I might have another case for the single path - http://rubygems.org/gems/json
workmad3 is now known as wm3|zzz
<mpapis> drbrain, what if you install the ruby version and then require it in java - would it detect that there is another version that is java specific?
antichatter has joined #rubygems
antichatter has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
Boohbah has quit [Ping timeout: 240 seconds]
Boohbah has joined #rubygems