On Oct 9, 2007, at 23:54 , Alan C Francis wrote:
> I've just done an svn up to 1488 and am seeing:
>
> Harpo:~ acf$ sudo gem install rails --backtrace --source http://
> gems.rubyonrails.org/
> ERROR:  While executing gem ... (URI::InvalidURIError)
>      bad URI(is not URI?): http://gems.rubyonrails.org/
>          /usr/local/lib/ruby/1.8/uri/common.rb:436:in `split'
>          /usr/local/lib/ruby/1.8/uri/common.rb:485:in `parse'
>          /usr/local/lib/ruby/site_ruby/1.8/rubygems/
> dependency_installer.rb:118:in `download'

Should have looked first.  Change that line to:

source_uri = URI.parse source_uri unless URI::Generic === source_uri

Let me know if that fixes.

--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars


_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to