Tuesday, November 17, 2009

Adding GEM sources

sudo gem sources -a http://gems.github.com/

sudo gem sources -a http://gems.rubyonrails.org/

1 comment:

sg said...

Hi Srikanth,

We are using Ruby-2.1.0 and I tried to add two gem sources url, but it is working with single url only.

We've native gems(built) of Slackware OS in https://gemfury/io23232/something.. already defaulf https://rubygems is there in gem sources list

I've added my gem sources..

for example,..
gem install kgio --source https://gemfury/soemthien..

getting error, if i removed default(rubygems.org), the gem will be installed//