Apologies for possibly dumb question; I'd like Shoes to try to
install a gem from gems.github.com. How would I tell it to use that
repository?
I have a script that requires a gem from there; it works for me
because I have a .gemrc referring to github, but when I give the
script to
Shoes.setup do
Gem.sources = %w[http://gems.github.com/]
gem 'dxoigmn-pcaprub'
end
Shoes.app do
require 'pcaprub'
end
On Mar 12, 2009, at 3:02 PM, Edward Heil wrote:
Apologies for possibly dumb question; I'd like Shoes to try to
install a gem from gems.github.com.
I ended up doing this, using Kyle's suggestion:
Gem.sources = ['http://gems.github.com/', 'http://gems.rubyforge.org/'
]
and it worked great.
Could I have added both sources using the technique you describe?
On Mar 12, 2009, at 1:48 PM, Seth Thomas Rasmussen wrote:
On Thu, Mar 12, 2009
On Thu, Mar 12, 2009 at 2:12 PM, Edward Heil edh...@fastmail.fm wrote:
I ended up doing this, using Kyle's suggestion:
Gem.sources = ['http://gems.github.com/', 'http://gems.rubyforge.org/']
and it worked great.
Could I have added both sources using the technique you describe?
Yeah, it
Ahh, my gem from github depends on something from rubyforge, so I'd
have to follow the dependency manually and install the dependency
first, before using source. I'll stick with Gem.sources, then,
because it allows me to be dumber. :)
On Mar 12, 2009, at 2:18 PM, Seth Thomas Rasmussen