# Gem update broken?

**URL:** <https://www.ruby-forum.com/t/gem-update-broken/67729>\
**Category:** Rails\
**Created:** [September 6, 2006, 12:35pm UTC](https://www.ruby-forum.com/t/gem-update-broken/67729 "2006-09-06T12:35:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomtt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47c2d/32.png) [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Post date:** [September 6, 2006, 12:35pm UTC](https://www.ruby-forum.com/t/gem-update-broken/67729/1 "2006-09-06T12:35:42Z")

</div>

This probably isn’t strictly a RoR problem, but I’m getting the  
following error when updating gems:

tom@tom-laptop:~/code/radrails\_workspace/calendar$ sudo gem update  
Password:  
Updating installed gems…  
Need to update 6 gems from [http://gems.rubyforge.org](http://gems.rubyforge.org)  
…ERROR: While executing gem … (URI::InvalidURIError)  
bad URI(is not URI?):  
[RubyGems.org | your community gem host](http://gems.rubyforge.org/quick/activerecord-jdbc-#)gem::version:0xa53ac84.gemspec.rz

This wasn’t happening yesterday!

Any ideas?

---

<div class="post-metadata">

**Author:** ![tomtt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47c2d/32.png) [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Post date:** [September 6, 2006, 3:36pm UTC](https://www.ruby-forum.com/t/gem-update-broken/67729/2 "2006-09-06T15:36:02Z")

</div>

Crap. I’m getting the same error.

---

<div class="post-metadata">

**Author:** ![tomtt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47c2d/32.png) [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Post date:** [September 6, 2006, 3:52pm UTC](https://www.ruby-forum.com/t/gem-update-broken/67729/3 "2006-09-06T15:52:05Z")

</div>

Yup. Have the same problem. This activerecord-jdbc package just came  
out and I guess something failed.

On 9/6/06, Tom T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [RubyGems.org | your community gem host](http://gems.rubyforge.org/quick/activerecord-jdbc-#)gem::version:0xa53ac84.gemspec.rz
> 
> This wasn’t happening yesterday!
> 
> Any ideas?
> 
> >

## –

Jon Gretar B.  
[http://www.jongretar.net/](http://www.jongretar.net/)

---

<div class="post-metadata">

**Author:** ![tomtt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47c2d/32.png) [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Post date:** [September 6, 2006, 4:12pm UTC](https://www.ruby-forum.com/t/gem-update-broken/67729/4 "2006-09-06T16:12:07Z")

</div>

> > Password:  
> > Updating installed gems…  
> > Need to update 6 gems from [http://gems.rubyforge.org](http://gems.rubyforge.org)  
> > …ERROR: While executing gem … (URI::InvalidURIError)  
> > bad URI(is not URI?):  
> > [RubyGems.org | your community gem host](http://gems.rubyforge.org/quick/activerecord-jdbc-#)  
> > gem::version:0xa53ac84.gemspec.rz

## Good timing, just tried a gem update myself and had the same error. Was about to post a similar email.

Andrew S.

---

<div class="post-metadata">

**Author:** ![tomtt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47c2d/32.png) [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Post date:** [September 6, 2006, 4:10pm UTC](https://www.ruby-forum.com/t/gem-update-broken/67729/5 "2006-09-06T16:10:07Z")

</div>

fred wrote:

> > ```
> > bad URI(is not URI?):
> > 
> > ```
> > 
> > [RubyGems.org | your community gem host](http://gems.rubyforge.org/quick/activerecord-jdbc-#)gem::version:0xa53ac84.gemspec.rz
> > 
> > This wasn’t happening yesterday!
> > 
> > Any ideas?

The release of ActiveRecord-JDBC managed to put a faulty gem into the  
system. Hopefully my removal of that gem will propagate to the source  
index soon enough.

–  
Ola B. ([http://ola-bini.blogspot.com](http://ola-bini.blogspot.com))  
JvYAML, RbYAML, JRuby and Jatha contributor  
System Developer, Karolinska Institutet ([http://www.ki.se](http://www.ki.se))  
OLogix Consulting ([http://www.ologix.com](http://www.ologix.com))

“Yields falsehood when quined” yields falsehood when quined.

---

<div class="post-metadata">

**Author:** ![tomtt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47c2d/32.png) [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Post date:** [September 6, 2006, 4:28pm UTC](https://www.ruby-forum.com/t/gem-update-broken/67729/6 "2006-09-06T16:28:10Z")

</div>

On 9/6/06, Jon Gretar B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Yup. Have the same problem. This activerecord-jdbc package just came  
> out and I guess something failed.

I had the same assumption, but would also assume that one misconfigured  
package wouldn’t prevent the update command from completing. Most  
likely a  
scenario that was overlooked and will probably be fixed soon (and  
probably  
not happen again).

–  
Andrew S.

---

<div class="post-metadata">

**Author:** ![tomtt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47c2d/32.png) [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Post date:** [September 6, 2006, 6:00pm UTC](https://www.ruby-forum.com/t/gem-update-broken/67729/7 "2006-09-06T18:00:26Z")

</div>

On 9/6/06, Andrew S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I had the same assumption, but would also assume that one misconfigured  
> package wouldn’t prevent the update command from completing. Most likely a  
> scenario that was overlooked and will probably be fixed soon (and probably  
> not happen again).  
> Well. Everytime gem connects to the net it gets updated pakage  
> descriptions. So if one of them is faulty then that selfupdate fails.

## –

Jon Gretar B.  
[http://www.jongretar.net/](http://www.jongretar.net/)

---

<div class="post-metadata">

**Author:** ![tomtt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47c2d/32.png) [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Post date:** [September 14, 2006, 6:16pm UTC](https://www.ruby-forum.com/t/gem-update-broken/67729/8 "2006-09-14T18:16:50Z")

</div>

Same here ☹

root@laptop:/home/chris# gem install rails --include-dependencies  
Need to update 40 gems from [http://gems.rubyforge.org](http://gems.rubyforge.org)  
…ERROR: While executing gem … (URI::InvalidURIError)  
bad URI(is not URI?):  
[RubyGems.org | your community gem host](http://gems.rubyforge.org/quick/activerecord-jdbc-#)gem::version:0x91a5cac.gemspec.rz  
root@laptop:/home/chris#
