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:inload_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.
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
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:inrequire’
from /usr/bin/gem:9
[Mick@localhost ~]$
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:inload_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!!!
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:
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.