# Ruby Install Problem Fedora 7

**URL:** <https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572>\
**Category:** Deployment\
**Created:** [September 15, 2007, 9:00pm UTC](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572 "2007-09-15T21:00:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [September 15, 2007, 9:00pm UTC](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572/1 "2007-09-15T21:00:26Z")

</div>

Hi,  
I’m a total newbie on Ruby/Rails and Linux, and have recently installed  
Fedora 7 as a VM (WMWare Fusion On Mac OS X). I’ve been trying to  
install ruby, rails etc but I’ve hit a brick wall and cant get over!!!

basically whenever i try to do anything related to ruby setup i get the  
following error  
whilst trying to install rubygems from source:

[Mick@localhost tmp]$ cd rubygems-0.9.4  
[Mick@localhost rubygems-0.9.4]$ ruby setup.rb  
setup.rb:786:in `require': no such file to load -- rbconfig (LoadError) from setup.rb:786:in`load\_rbconfig’  
from setup.rb:768:in `invoke’  
from setup.rb:1578

I’ve been tru every post, blog on the web and tried all the solutions  
but nothing has worked. I first thought it was the rubygems package but  
now i think its something else… i’ve used yum to remove ruby, irb,  
rubygems etc, re-downloaded and installed with yum but every time the  
above error occurs.

has anyone got any ideas???  
Am totally lost…

Regards…  
Mick

Note:  
Firstly i did:  
sudo yum install ruby ruby-doc ruby-irb  
Installed: ruby-irb.i386 0:1.8.6.36-3.fc7  
Dependency Installed: ruby.i386 0:1.8.6.36-3.fc7

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572/2 "2007-09-17T13:25:40Z")

</div>

Use the following procedure:

> **[Situs Slot Gacor Gampang Menang Hari Ini Maxwin Slot Online Terpercaya 2023...](https://freedomoutpost.com/)**
>
> Situs slot gacor gampang menang hari ini maxwin slot online yang sering kasih jackpot terbesar, daftar judi slot88 online terpercaya dan terbaik 2023 tersedia game slot pragmatic play, habanero, pg soft dan lain-lain situs judi online slot terbaru...

On Sep 15, 9:00 pm, Michael D. \<ruby-forum-incom…@andreas-

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [September 17, 2007, 7:45pm UTC](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572/3 "2007-09-17T19:45:14Z")

</div>

cheers dima,  
i’ve tried that install path before but the problem still exists…  
there’s something wrong with the version of rubygems, even though i’ve  
removed, updated, reinstalled it a dozen times!!! i’ve actually no  
idea where to go with this now…

here’s my terminal output…

[Mick@localhost rubygems-0.9.4]$ sudo yum install install ruby  
ruby-devel ruby-irb ruby-libs ruby-rdoc ruby-ri rubygems  
Setting up Install Process  
Parsing package install arguments  
Resolving Dependencies  
–\> Running transaction check  
—\> Package rubygems.noarch 0:0.9.2-1.fc7 set to be updated  
—\> Package ruby-rdoc.i386 0:1.8.6.36-3.fc7 set to be updated  
—\> Package ruby-ri.i386 0:1.8.6.36-3.fc7 set to be updated  
–\> Finished Dependency Resolution

Dependencies Resolved

# ============================================================================= Package Arch Version Repository Size

Installing:  
ruby-ri i386 1.8.6.36-3.fc7 updates  
1.8 M  
rubygems noarch 0.9.2-1.fc7 fedora  
498 k  
Installing for dependencies:  
ruby-rdoc i386 1.8.6.36-3.fc7 updates  
136 k

# Transaction Summary

Install 3 Package(s)  
Update 0 Package(s)  
Remove 0 Package(s)

Total download size: 2.4 M  
Is this ok [y/N]: y  
Downloading Packages:  
(1/3): ruby-ri-1.8.6.36-3 100% |=========================| 1.8 MB  
00:17  
(2/3): ruby-rdoc-1.8.6.36 100% |=========================| 136 kB  
00:00  
(3/3): rubygems-0.9.2-1.f 100% |=========================| 498 kB  
00:11  
Running rpm\_check\_debug  
Running Transaction Test  
Finished Transaction Test  
Transaction Test Succeeded  
Running Transaction  
Installing: ruby-rdoc #########################  
[1/3]  
Installing: rubygems #########################  
[2/3]  
Installing: ruby-ri #########################  
[3/3]

Installed: ruby-ri.i386 0:1.8.6.36-3.fc7 rubygems.noarch 0:0.9.2-1.fc7  
Dependency Installed: ruby-rdoc.i386 0:1.8.6.36-3.fc7  
Complete!  
[Mick@localhost rubygems-0.9.4]$ gem install rails  
–include-dependencies  
/usr/lib/ruby/site\_ruby/1.8/rubygems.rb:9:in `require': no such file to load -- rbconfig (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:9 from /usr/bin/gem:9:in`require’  
from /usr/bin/gem:9  
[Mick@localhost rubygems-0.9.4]$

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [September 18, 2007, 10:56pm UTC](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572/4 "2007-09-18T22:56:50Z")

</div>

dima wrote:

> I see that you install rubygems-0.9.2.  
> Latter you should perform updating rubygems to 0.9.4 version by  
> invoking the command:  
> gem update --system
> 
> Perhaps that will help 😉
> 
> On Sep 17, 7:45 pm, Michael D. \<ruby-forum-incom…@andreas-

cheers but no joy… same error again!!! (this is driving me crazy)…  
i’m close to rebuilding the entire system…

[Mick@localhost ~]$ gem update --system  
/usr/lib/ruby/site\_ruby/1.8/rubygems.rb:9:in `require': no such file to load -- rbconfig (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:9 from /usr/bin/gem:9:in`require’  
from /usr/bin/gem:9  
[Mick@localhost ~]$

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [September 18, 2007, 9:06pm UTC](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572/5 "2007-09-18T21:06:42Z")

</div>

I see that you install rubygems-0.9.2.  
Latter you should perform updating rubygems to 0.9.4 version by  
invoking the command:  
gem update --system

Perhaps that will help 😉

On Sep 17, 7:45 pm, Michael D. \<ruby-forum-incom…@andreas-

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [September 18, 2007, 11:17pm UTC](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572/6 "2007-09-18T23:17:51Z")

</div>

ok, i dont think this is got to do with gems as such…  
i downloaded 0.9.4 and tried to set it up…

[Mick@localhost Download]$ cd rubygems-0.9.4  
[Mick@localhost rubygems-0.9.4]$ ruby setup.rb  
setup.rb:786:in `require': no such file to load -- rbconfig (LoadError) from setup.rb:786:in`load\_rbconfig’  
from setup.rb:768:in `invoke’  
from setup.rb:1578  
[Mick@localhost rubygems-0.9.4]$

the common denomintator is “rbconfig”  
has anyone got any idea what i need to do to update this?  
or whats going on?

any help would be really appreciated… i just want to code!!! 🙂

cheers…

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [September 19, 2007, 8:16am UTC](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572/7 "2007-09-19T08:16:43Z")

</div>

I’m also having the exactly same error. Any help will be much  
appriicated!

- Mozammel

On Sep 19, 3:17 am, Michael D. \<ruby-forum-incom…@andreas-

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [October 2, 2007, 9:17pm UTC](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572/8 "2007-10-02T21:17:15Z")

</div>

Sorry for this late response, but I have been overcomed with some  
work.  
To kip the story short. Before some minutes a go I have installed a  
ruby and rubygems on my new fedora 7.  
Here are the steps that I make:

[root@localhost dima]# yum install ruby ruby-devel ruby-irb ruby-libs  
ruby-rdoc ruby-ri rubygems

…  
Installed: ruby-devel.i386 0:1.8.6.36-3.fc7 ruby-ri.i386  
0:1.8.6.36-3.fc7 rubygems.noarch 0:0.9.2-1.fc7

Dependency Installed: ruby.i386 0:1.8.6.36-3.fc7 ruby-irb.i386  
0:1.8.6.36-3.fc7 ruby-libs.i386 0:1.8.6.36-3.fc7 ruby-rdoc.i386  
0:1.8.6.36-3.fc7

Complete!

[root@localhost dima]# gem --version

0.9.2

[root@localhost dima]# gem update -system

…  
RubyGems system software updated

[root@localhost dima]# gem --version

0.9.4

[root@localhost dima]# ruby --version

ruby 1.8.6 (2007-06-07 patchlevel 36) [i386-linux]

[root@localhost dima]# gem install rails -include-dependencies

It all pass OK, without any problem.

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [November 8, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572/9 "2007-11-08T19:43:05Z")

</div>

I was also having this problem after a few attempted re-installs. I’m  
not certain, but I think the trick was to first run ‘yum remove  
ruby-libs’, which I hadn’t done in previous re-install attempts.
