I am hosting a ruby gem repository which hosts several of my gems for my applications. I am running into some problems when I try to install one of my gems that has the same name as a gem on rubyforge.
gem.config
---
:benchmark: false
:update_sources: true
:verbose: true
:backtrace: false
:sources:
- http://gems.rubyforge.org
- http://localhost:8888
:bulk_threshold: 1000
Using the command to install mygem:
gem install mygem --config-file gem.config
This will install the 'mygem' from the http://gems.rubyforge.org repository. When I re-order the sources in the gem.config file, I get the same results.
Is there a way to define my gem repository as the default and fallback to another repository if the gem can't be found?