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. 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 another person it fails for them. (I discovered I could
make it fail for me the same way by moving my .gemrc out of the way.)
I'm digging around the rubygems documentation, but all I've found so
far is information on command line usage; I'm not sure how to
specify a repository inside a Shoes.setup block.