# Error installing gems 0.9.4.. can anybody help?

**URL:** <https://www.ruby-forum.com/t/error-installing-gems-0-9-4-can-anybody-help/116602>\
**Category:** Rails\
**Created:** [October 7, 2007, 9:32pm UTC](https://www.ruby-forum.com/t/error-installing-gems-0-9-4-can-anybody-help/116602 "2007-10-07T21:32:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![magicrebirth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@magicrebirth](https://www.ruby-forum.com/u/magicrebirth)\
**Post date:** [October 7, 2007, 9:32pm UTC](https://www.ruby-forum.com/t/error-installing-gems-0-9-4-can-anybody-help/116602/1 "2007-10-07T21:32:53Z")

</div>

Sorry guys if it may seem naive… but I went through many tutorials  
trying to install the whole framework (ruby + rails to start with) -  
and I always run into this problem. Scanned various mailing lists but I  
cant find any reference to it… so i gather it’s either VERY stupid or  
very rare. Well, basically:

magicrebirth:/usr/local/src/rubygems-0.9.4 magicrebirth$ sudo gem update  
–system  
Updating RubyGems…  
Bulk updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
ERROR: While executing gem … (Gem::RemoteSourceException)  
Error fetching remote gem cache: bad URI(is not URI?): ://:

magicrebirth:/usr/local/src magicrebirth$ gem update  
Updating installed gems…  
Bulk updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
ERROR: While executing gem … (Gem::RemoteSourceException)  
Error fetching remote gem cache: bad URI(is not URI?): ://:

Im on OSX intel, with the latest (and working) versions of all the  
softwares… any hint very very appreciated cause I’d really love to  
move the ruby world!

TX, Mik

---

<div class="post-metadata">

**Author:** ![magicrebirth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@magicrebirth](https://www.ruby-forum.com/u/magicrebirth)\
**Post date:** [October 7, 2007, 10:07pm UTC](https://www.ruby-forum.com/t/error-installing-gems-0-9-4-can-anybody-help/116602/2 "2007-10-07T22:07:23Z")

</div>

On Sun, 7 Oct 2007 21:32:53 +0200, Magic Rebirth wrote:

> Sorry guys if it may seem naive… but I went through many tutorials  
> trying to install the whole framework (ruby + rails to start with) -  
> and I always run into this problem. Scanned various mailing lists but I  
> cant find any reference to it… so i gather it’s either VERY stupid or  
> very rare. Well, basically:

I wonder if this is similar to the Standard Gems Problem updating to  
0.9.x  
where your sources cache is not migrated to the new format? There’s a  
file  
called /usr/[local/]lib/ruby/gems/1.8/source\_cache; delete it and see if  
that helps.

–  
Jay L. |  
Boston, MA | My character doesn’t like it when they  
Faster: jay at jay dot fm | cry or shout or hit.  
[http://www.jay.fm](http://www.jay.fm) | - Kristoffer

---

<div class="post-metadata">

**Author:** ![magicrebirth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@magicrebirth](https://www.ruby-forum.com/u/magicrebirth)\
**Post date:** [October 8, 2007, 11:53pm UTC](https://www.ruby-forum.com/t/error-installing-gems-0-9-4-can-anybody-help/116602/3 "2007-10-08T23:53:42Z")

</div>

Jay L. wrote:

> On Sun, 7 Oct 2007 21:32:53 +0200, Magic Rebirth wrote:
> 
> > Sorry guys if it may seem naive… but I went through many tutorials  
> > trying to install the whole framework (ruby + rails to start with) -  
> > and I always run into this problem. Scanned various mailing lists but I  
> > cant find any reference to it… so i gather it’s either VERY stupid or  
> > very rare. Well, basically:
> 
> I wonder if this is similar to the Standard Gems Problem updating to  
> 0.9.x  
> where your sources cache is not migrated to the new format? There’s a  
> file  
> called /usr/[local/]lib/ruby/gems/1.8/source\_cache; delete it and see if  
> that helps.

mm thanks but didnt work… i wonder whether the locomotive installation  
is the cause of the problem!

magicrebirth:/usr/local/src michelepasin$ gem update  
Updating installed gems…  
Bulk updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
ERROR: While executing gem … (Gem::RemoteSourceException)  
Error fetching remote gem cache: bad URI(is not URI?): ://:

magicrebirth:/usr/local/src michelepasin$ locate source\_cache  
/Applications/-Other-Apps/8-Languages-IDEs/Locomotive2/Bundles/rmagickRailsMar2007\_i386.locobundle/framework/lib/ruby/gems/1.8/source\_cache  
/Applications/-Other-Apps/8-Languages-IDEs/Locomotive2/Bundles/standardRailsFeb2007.locobundle/i386/lib/ruby/gems/1.8/source\_cache  
/Applications/-Other-Apps/8-Languages-IDEs/Locomotive2/Bundles/standardRailsFeb2007.locobundle/powerpc/lib/ruby/gems/1.8/source\_cache  
magicrebirth:/usr/local/src michelepasin$

---

<div class="post-metadata">

**Author:** ![magicrebirth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@magicrebirth](https://www.ruby-forum.com/u/magicrebirth)\
**Post date:** [October 9, 2007, 2:36am UTC](https://www.ruby-forum.com/t/error-installing-gems-0-9-4-can-anybody-help/116602/4 "2007-10-09T02:36:22Z")

</div>

On Mon, 8 Oct 2007 23:53:42 +0200, Magic Rebirth wrote:

> mm thanks but didnt work… i wonder whether the locomotive installation  
> is the cause of the problem!

## I’m gonna bet you’ve got conflicts between your Tiger ruby installation in /usr/lib/ruby/\* and your Locomotive installation. Check your path, things like that…

Jay L. |  
Boston, MA | My character doesn’t like it when they  
Faster: jay at jay dot fm | cry or shout or hit.  
[http://www.jay.fm](http://www.jay.fm) | - Kristoffer

---

<div class="post-metadata">

**Author:** ![magicrebirth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@magicrebirth](https://www.ruby-forum.com/u/magicrebirth)\
**Post date:** [October 9, 2007, 12:24pm UTC](https://www.ruby-forum.com/t/error-installing-gems-0-9-4-can-anybody-help/116602/5 "2007-10-09T12:24:13Z")

</div>

Jay L. wrote:

> On Mon, 8 Oct 2007 23:53:42 +0200, Magic Rebirth wrote:
> 
> > mm thanks but didnt work… i wonder whether the locomotive installation  
> > is the cause of the problem!
> 
> ## I’m gonna bet you’ve got conflicts between your Tiger ruby installation in /usr/lib/ruby/\* and your Locomotive installation. Check your path, things like that…
> 
> Jay L. |  
> Boston, MA | My character doesn’t like it when they  
> Faster: jay at jay dot fm | cry or shout or hit.  
> [http://www.jay.fm](http://www.jay.fm) | - Kristoffer

I think I’ll give up and get started with locomotive for now…  
here’s the .bash\_profile

export PATH=“/opt/local/bin:$PATH”  
export PATH=“/usr/local/script:$PATH”  
export PATH=“/Users/magicrebirth/openmcl/ccl/scripts:$PATH”  
export JAVA\_HOME=“/Library/Java/Home/”  
export PATH=“/usr/local/bin/:/usr/local/mysql/bin:/usr/local/sbin:$PATH”

the last line should support the ruby installation. I also checked  
whether in usr/lib/ i had other ruby folders, but i dont… i’l try to  
spend some time on locomotive docs today, as a last resource!

many thanks again - btw your recording studio rocks!
